Function at 0x102044f7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x16c
push 0x10281240
call fcn.1023751c
mov eax, edx
mov dword [ebp - 0x140], eax
mov ebx, ecx
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x174], eax
xor eax, eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], eax
mov edx, 0x350
call fcn.10202169
mov dword [ebp - 0x130], eax
test eax, eax
jne 0x10204560
mov eax, 0x8007000e
jmp 0x10204dc6
mov edi, dword [ebx + 8]
add eax, 0x1c
mov dword [ebp - 0x14c], eax
mov esi, dword [edi]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x13c]
push dword [ebx]
mov ecx, dword [esi + 0x3c]
call dword [0x102dc578]
mov ecx, edi
call dword [esi + 0x3c]
mov edi, eax
test edi, edi
je 0x102045cc
push 0x34
push 0
push dword [ebp - 0x14c]
call sub.msvcrt.dll_memset
add esp, 0xc
mov ecx, dword [ebx + 0x14]
mov esi, dword [ecx]
push edi
push dword [ebp - 0x13c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0x100a7200
push 8
push ecx
mov ecx, dword [esi + 4]
call dword [0x102dc578]
call dword [esi + 4]
add esp, 0x1c
mov edi, dword [ebx + 8]
mov eax, dword [ebp - 0x130]
add eax, 0x68
mov dword [ebp - 0x134], eax
mov esi, dword [edi]
lea ecx, [ebp - 0x144]
push ecx
push 0x168
push eax
lea eax, [ebp - 0x164]
push eax
push dword [ebp - 0x13c]
mov ecx, dword [esi + 0x30]
call dword [0x102dc578]
mov ecx, edi
call dword [esi + 0x30]
mov edi, eax
mov dword [ebp - 0x138], edi
test edi, edi
je 0x102046c5
and dword [ebp - 0x144], 0
mov edi, dword [ebx + 8]
mov esi, dword [edi]
lea eax, [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x130]
lea eax, [ecx + 0x18]
push eax
lea eax, [ecx + 0x14]
push eax
lea eax, [ecx + 0x10]
push eax
lea eax, [ebp - 0x15c]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x13c]
push dword [ebx]
mov ecx, dword [esi + 0x38]
call dword [0x102dc578]
mov ecx, edi
call dword [esi + 0x38]
mov edi, eax
mov dword [ebp - 0x138], edi
test edi, edi
je 0x102046ad
or dword [ebx + 0x78], 4
mov edx, dword [ebp - 0x130]
mov ecx, ebx
call fcn.102021e6
mov eax, dword [ebx + 0x14]
mov esi, dword [eax]
push edi
push dword [ebp - 0x13c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0x100a7240
push 4
push eax
mov ecx, dword [esi + 4]
call dword [0x102dc578]
call dword [esi + 4]
add esp, 0x1c
mov eax, edi
jmp 0x10204dc6
push 0x168
mov edx, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x134]
call fcn.10207aca
jmp 0x102046cb
mov ecx, dword [ebp - 0x134]
test byte [ebx + 0x18], 0x80
je 0x102046e4
call fcn.10204282
mov esi, dword [ebp - 0x130]
mov dword [esi + 0x338], eax
jmp 0x102046f0
mov esi, dword [ebp - 0x130]
mov dword [esi + 0x338], ecx
mov edx, dword [ebp + 0xc]
mov dword [esi + 8], edx
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc], eax
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x33c], ecx
lea ecx, [esi + 0x50]
mov dword [ebp - 0x148], ecx
xor edi, edi
mov dword [ecx], edi
lea ecx, [esi + 0x54]
mov dword [ebp - 0x154], ecx
mov dword [ecx], edi
lea ecx, [esi + 0x58]
mov dword [ebp - 0x150], ecx
mov dword [ecx], edi
lea ecx, [esi + 0x5c]
mov dword [ebp - 0x14c], ecx
mov dword [ecx], edi
cmp dword [ebp - 0x144], edi
lea ecx, [esi + 0x68]
je 0x10204bc2
lea edx, [ebp - 0x12c]
mov ecx, dword [ebp - 0x144]
call fcn.10207df0
mov ecx, eax
mov dword [ebp - 0x150], ecx
test ecx, ecx
jne 0x102047c2
mov edi, dword [ebx + 8]
mov eax, dword [edi]
push dword [ebp - 0x144]
mov esi, dword [eax + 0x34]
mov ecx, esi
call dword [0x102dc578]
mov ecx, edi
call esi
or dword [ebx + 0x78], 4
mov edx, dword [ebp - 0x130]
mov ecx, ebx
call fcn.102021e6
mov eax, dword [ebx + 0x14]
mov esi, dword [eax]
push dword [ebp - 0x138]
push dword [ebp - 0x13c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0x100a7288
push 4
push eax
mov ecx, dword [esi + 4]
call dword [0x102dc578]
call dword [esi + 4]
add esp, 0x1c
mov eax, 0x80070482
jmp 0x10204dc6
mov edx, 0x20b
mov ax, word [ecx + 0x5e]
cmp word [ecx + 0x18], dx
mov word [esi + 0x348], ax
test dword [ebx + 0x18], 0x80000
je 0x10204a86
mov eax, dword [ebp - 0x144]
mov eax, dword [eax + 0x3c]
cmp word [ecx + 0x18], dx
mov ecx, dword [ecx + 0x54]
add eax, ecx
mov dword [ebp - 0x14c], eax
push eax
mov esi, dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push edi
push 0xe
mov edx, dword [ebp - 0x140]
mov ecx, ebx
call fcn.1020bb36
test eax, eax
je 0x10204852
mov edx, dword [ebx + 0x14]
mov esi, dword [edx]
mov ecx, dword [ebp - 0x144]
push dword [ecx + 0x3c]
push dword [ebp - 0x14c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push dword [ebp - 0x13c]
push 0x100a72d0
push 2
push edx
mov ecx, dword [esi + 4]
call dword [0x102dc578]
call dword [esi + 4]
add esp, 0x24
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp - 0x150]
mov ecx, 0x20b
cmp word [eax + 0x18], cx
lea edx, [eax + 0x88]
je 0x1020486c
lea edx, [eax + 0x78]
mov dword [ebp - 0x138], edx
mov eax, edi
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x17c], 0x1c
jmp 0x10204889
mov esi, dword [ebp + 0x10]
mov ecx, dword [edx + eax*8]
test ecx, ecx
je 0x10204a70
mov edx, dword [edx + eax*8 + 4]
test edx, edx
je 0x10204a6a
push edx
xor eax, eax
add ecx, dword [ebp + 0xc]
adc eax, esi
push eax
push ecx
push edi
push 0xe
mov edx, dword [ebp - 0x140]
mov ecx, ebx
call fcn.1020bb36
test eax, eax
je 0x102048fb
mov ecx, dword [ebx + 0x14]
mov esi, dword [ecx]
mov edx, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x138]
push dword [ecx + edx*8 + 4]
push dword [ecx + edx*8]
push eax
push dword [ebp - 0x13c]
push edx
push 0x100a7310
push 2
mov ecx, dword [ebx + 0x14]
push ecx
mov ecx, dword [esi + 4]
call dword [0x102dc578]
call dword [esi + 4]
add esp, 0x20
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp - 0x148]
cmp eax, 6
jne 0x10204a6a
lea eax, [ebp - 0x14c]
push eax
push ecx
mov ecx, dword [ebp - 0x144]
call fcn.10207f20
mov ecx, eax
test ecx, ecx
je 0x10204a64
mov eax, dword [ebp - 0x14c]
xor edx, edx
div dword [ebp - 0x17c]
mov dword [ebp - 0x150], eax
test eax, eax
je 0x10204a64
lea eax, [ecx + 0x10]
mov dword [ebp - 0x134], eax
jmp 0x10204951
mov esi, dword [ebp + 0x10]
push dword [eax]
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, dword [ebp + 0xc]
adc eax, esi
push eax
push ecx
push edi
push 0xe
mov edx, dword [ebp - 0x140]
mov ecx, ebx
call fcn.1020bb36
mov edx, eax
test edx, edx
je 0x102049a9
mov ecx, dword [ebx + 0x14]
mov esi, dword [ecx]
mov eax, dword [ebp - 0x134]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
push edx
push dword [ebp - 0x13c]
push dword [eax - 4]
push 0x100a7350
push 2
push ecx
mov ecx, dword [esi + 4]
call dword [0x102dc578]
call dword [esi + 4]
add esp, 0x24
mov eax, dword [ebp - 0x134]
test dword [ebx + 0x18], 0x100000
je 0x10204a4d
cmp dword [eax - 4], 2
jne 0x10204a4d
mov edx, dword [eax]
mov ecx, ebx
call fcn.10202169
mov dword [ebp - 0x154], eax
test eax, eax
je 0x10204a47
mov edi, dword [ebx + 8]
mov esi, dword [edi]
mov edx, dword [ebp - 0x134]
push dword [edx]
push eax
mov edx, dword [edx + 4]
xor ecx, ecx
add edx, dword [ebp + 0xc]
adc ecx, dword [ebp + 0x10]
push ecx
push edx
push dword [ebx]
mov ecx, dword [esi + 0x78]
call dword [0x102dc578]
mov ecx, edi
call dword [esi + 0x78]
test eax, eax
jne 0x10204a32
mov eax, dword [ebp - 0x134]
push dword [eax]
push dword [ebp - 0x154]
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, dword [ebp + 0xc]
adc eax, dword [ebp + 0x10]
push eax
push ecx
push 1
mov edx, dword [ebp - 0x140]
mov ecx, ebx
call fcn.10202395
mov eax, dword [ebp - 0x154]
xor edi, edi
test eax, eax
je 0x10204a47
mov edx, eax
mov ecx, ebx
call fcn.102021e6
mov eax, dword [ebp - 0x134]
push 0x1c
pop ecx
add eax, ecx
mov dword [ebp - 0x134], eax
dec dword [ebp - 0x150]
jne 0x1020494e
mov eax, dword [ebp - 0x148]
mov edx, dword [ebp - 0x138]
inc eax
mov dword [ebp - 0x148], eax
cmp eax, 0x10
jb 0x10204886
mov esi, dword [ebp - 0x130]
mov dword [ebp - 4], edi
movzx eax, word [ebp - 0x128]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0xdc]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0xd4]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x124]
mov dword [esi + 0x18], eax
cmp dword [ebp - 0xa8], 9
jbe 0x10204ac9
cmp dword [ebp - 0x58], 0
jbe 0x10204ac9
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x158], eax
test byte [esi + 0x33c], 8
je 0x10204af0
lea edx, [esi + 0x54]
push edx
lea ecx, [esi + 0x50]
push ecx
push ecx
push 2
push dword [ebp - 0x164]
mov edx, dword [ebp - 0x144]
mov ecx, ebx
call fcn.10203378
test byte [esi + 0x33c], 4
je 0x10204b17
lea ecx, [esi + 0x5c]
push ecx
lea ecx, [esi + 0x58]
push ecx
push ecx
push 4
push dword [ebp - 0x164]
mov edx, dword [ebp - 0x144]
mov ecx, ebx
call fcn.10203378
mov dword [ebp - 0x170], edi
mov dword [ebp - 4], 0xfffffffe
jmp 0x10204b6a
mov edi, dword [ebx + 8]
mov eax, dword [edi]
push dword [ebp - 0x144]
mov esi, dword [eax + 0x34]
mov ecx, esi
call dword [0x102dc578]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x160]
test edi, edi
je 0x10204d93
or dword [ebx + 0x78], 4
mov edx, dword [ebp - 0x130]
mov ecx, ebx
call fcn.102021e6
mov ecx, dword [ebx + 0x14]
mov esi, dword [ecx]
push edi
push dword [ebp - 0x13c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0x100a7398
push 4
push ecx
jmp 0x10204697
mov dword [ebp - 0x138], edi
test byte [ebp + 0x14], 8
je 0x10204cc3
mov edi, dword [ebx + 8]
mov esi, dword [edi]
lea ecx, [ebp - 0x138]
push ecx
push 0
push 2
push eax
push edx
mov ecx, dword [ebp - 0x134]
push ecx
mov eax, dword [ebp - 0x140]
push dword [eax + 0x40]
mov ecx, dword [esi + 0x40]
call dword [0x102dc578]
mov ecx, edi
call dword [esi + 0x40]
test eax, eax
jne 0x10204cb5
mov edx, dword [ebp - 0x138]
cmp edx, 0x2800
ja 0x10204cb5
mov ecx, ebx
call fcn.10202169
mov ecx, dword [ebp - 0x148]
mov dword [ecx], eax
test eax, eax
je 0x10204cb5
mov ecx, dword [ebp - 0x138]
mov edx, dword [ebp - 0x154]
mov dword [edx], ecx
mov edi, dword [ebx + 8]
mov esi, dword [edi]
push edx
push eax
push 2
mov eax, dword [ebp - 0x130]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [ebp - 0x134]
push eax
mov eax, dword [ebp - 0x140]
push dword [eax + 0x40]
mov ecx, dword [esi + 0x40]
call dword [0x102dc578]
mov ecx, edi
call dword [esi + 0x40]
test eax, eax
je 0x10204c95
mov esi, dword [ebp - 0x148]
mov edx, dword [esi]
mov ecx, ebx
call fcn.102021e6
xor edi, edi
mov dword [esi], edi
mov edx, dword [ebp - 0x154]
mov dword [edx], edi
jmp 0x10204cb7
test dword [ebx + 0x18], 0x100000
je 0x10204cb5
push 1
mov edx, dword [ebp - 0x154]
mov edx, dword [edx]
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax]
call fcn.10202305
xor edi, edi
mov ecx, dword [ebp - 0x134]
mov esi, dword [ebp - 0x130]
mov dword [ebp - 0x138], edi
test byte [esi + 0x33c], 4
je 0x10204d99
mov edi, dword [ebx + 8]
mov esi, dword [edi]
lea eax, [ebp - 0x138]
push eax
push 0
push 2
mov eax, dword [ebp - 0x130]
push dword [eax + 0xc]
push dword [eax + 8]
push ecx
mov eax, dword [ebp - 0x140]
push dword [eax + 0x40]
mov ecx, dword [esi + 0x40]
call dword [0x102dc578]
mov ecx, edi
call dword [esi + 0x40]
test eax, eax
jne 0x10204d93
mov edx, dword [ebp - 0x138]
cmp edx, 0x2800
ja 0x10204d93
mov ecx, ebx
call fcn.10202169
mov ecx, dword [ebp - 0x150]
mov dword [ecx], eax
test eax, eax
je 0x10204d93
mov ecx, dword [ebp - 0x138]
mov edx, dword [ebp - 0x14c]
mov dword [edx], ecx
mov edi, dword [ebx + 8]
mov esi, dword [edi]
push edx
push eax
push 4
mov eax, dword [ebp - 0x130]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [ebp - 0x134]
push eax
mov eax, dword [ebp - 0x140]
push dword [eax + 0x40]
mov ecx, dword [esi + 0x40]
call dword [0x102dc578]
mov ecx, edi
call dword [esi + 0x40]
test eax, eax
je 0x10204d93
mov esi, dword [ebp - 0x150]
mov edx, dword [esi]
mov ecx, ebx
call fcn.102021e6
xor eax, eax
mov dword [esi], eax
mov ecx, dword [ebp - 0x14c]
mov dword [ecx], eax
mov esi, dword [ebp - 0x130]
cmp dword [ebp - 0x158], 0
je 0x10204dbc
push dword [ebp - 0x158]
push dword [ebp - 0x15c]
push esi
mov edx, dword [ebp - 0x140]
mov ecx, ebx
call fcn.102042b1
mov eax, dword [ebp - 0x174]
mov dword [eax], esi
xor eax, eax
call fcn.10237564
ret 0x14