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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov esi, ecx
sub esp, 0x14c
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0xec]
mov dword [ebp - 0x114], edx
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov byte [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0xf8], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xf8]
mov dword [esp], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov dword [esp + 4], eax
call fcn.00486640
movzx eax, byte [esi + 0x78]
sub esp, 0x14
lea ecx, [ebp - 0x7c]
mov dword [esp], eax
call fcn.004c1630
mov esi, dword [ebp - 0xd0]
sub esp, 4
test esi, esi
je 0x487ae0
xor esi, esi
jmp 0x4879c8
mov ecx, dword [ecx]
mov dword [ebp - 0x10c], ecx
mov dword [ecx + eax*4], edi
mov eax, dword [ebp + 0x14]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0xa0]
mov edx, dword [ebp - 0xa8]
movzx eax, byte [eax + esi]
add eax, dword [edx + esi*4]
mov edx, dword [ebp - 0xac]
mov ebx, dword [edx + eax*8 + 4]
mov ecx, dword [edx + eax*8]
test ebx, ebx
mov dword [ebp - 0x10c], ecx
jne 0x487de0
cmp ecx, dword [edi + 4]
je 0x4878ce
mov eax, dword [edi]
test eax, eax
je 0x4878b9
mov dword [esp], eax
call fcn.006febd0
mov dword [edi], 0
mov edx, dword [ebp - 0x10c]
mov dword [edi + 4], 0
test edx, edx
jne 0x487a50
mov dword [esp], 0x14
call fcn.006fec40
mov dword [eax], 0x771ae8
mov dword [eax + 4], 1
mov ebx, eax
mov eax, dword [edi]
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 0x10], 0
mov edx, dword [ebp - 0x114]
mov byte [ebp - 0xf9], 0
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0xf9]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
lea eax, [ebp - 0xd4]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
mov eax, dword [ebp - 0x118]
add eax, dword [ecx]
adc edx, dword [ecx + 4]
lea ecx, [ebp - 0x7c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x110]
mov dword [esp + 8], edx
mov eax, dword [eax]
mov dword [esp], eax
call fcn.004c16d0
sub esp, 0x30
test eax, eax
jne 0x487d75
cmp byte [ebp - 0xf9], 0
je 0x487996
mov eax, dword [ebp - 0x110]
mov byte [eax + 0x3c], 1
cmp dword [ebp - 0xc4], esi
jbe 0x4879ae
mov eax, dword [ebp - 0xc8]
cmp byte [eax + esi], 0
jne 0x487ab0
mov eax, dword [ebx]
add esi, 1
mov dword [esp], ebx
call dword [eax + 8]
sub esp, 4
cmp dword [ebp - 0xd0], esi
jbe 0x487ae0
mov dword [esp], 8
call fcn.006fec40
mov dword [eax + 4], 0
mov edi, eax
mov dword [eax], 0
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
cmp eax, dword [ecx + 8]
lea edx, [eax + 1]
jne 0x487861
shr eax, 2
lea ebx, [eax + edx]
cmp ebx, 0x1fffffff
ja 0x487df0
lea eax, [ebx*4]
mov dword [esp], eax
call fcn.006fec20
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov eax, dword [eax + 4]
mov edx, dword [ecx]
test eax, eax
jne 0x487a70
test edx, edx
jne 0x487a95
mov edx, dword [ebp - 0x10c]
mov dword [ecx + 8], ebx
mov dword [ecx], edx
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x10c]
jmp 0x487869
mov ebx, dword [ebp - 0x10c]
mov dword [esp], ebx
call fcn.006fec20
mov dword [edi], eax
mov dword [edi + 4], ebx
jmp 0x4878ce
shl eax, 2
mov dword [esp + 4], edx
mov dword [ebp - 0x11c], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10c]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x11c]
mov dword [esp], edx
call fcn.006febd0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov eax, dword [eax + 4]
jmp 0x487a32
mov eax, dword [ebp - 0x10c]
mov dword [esp + 4], eax
mov eax, dword [edi]
mov dword [esp], eax
call fcn.0045e640
mov edx, dword [ebp - 0xbc]
lea edi, [esi*4]
cmp dword [edx + edi], eax
je 0x4879ae
call fcn.0047cc70
nop
mov eax, dword [ebp - 0xcc]
xor edx, edx
test eax, eax
je 0x487b05
mov ecx, dword [ebp - 0xd4]
mov ebx, dword [eax + ecx*8 + 4]
mov ecx, dword [eax + ecx*8]
mov eax, dword [ebp - 0x110]
add dword [eax + 0x70], ecx
adc dword [eax + 0x74], ebx
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x487b23
mov ecx, dword [eax]
mov dword [ebp - 0x10c], edx
mov dword [esp], eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x10c]
sub esp, 4
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x487b3e
mov dword [esp], eax
mov dword [ebp - 0x10c], edx
call fcn.006febd0
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x487b59
mov dword [esp], eax
mov dword [ebp - 0x10c], edx
call fcn.006febd0
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x487b74
mov dword [esp], eax
mov dword [ebp - 0x10c], edx
call fcn.006febd0
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x487b8f
mov dword [esp], eax
mov dword [ebp - 0x10c], edx
call fcn.006febd0
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x487baa
mov dword [esp], eax
mov dword [ebp - 0x10c], edx
call fcn.006febd0
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x487bc5
mov dword [esp], eax
mov dword [ebp - 0x10c], edx
call fcn.006febd0
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x487be3
mov dword [esp], eax
mov dword [ebp - 0x10c], edx
call fcn.006febd0
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xec]
test eax, eax
je 0x487c01
mov dword [esp], eax
mov dword [ebp - 0x10c], edx
call fcn.006febd0
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x487c1f
mov dword [esp], eax
mov dword [ebp - 0x10c], edx
call fcn.006febd0
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x487c3d
mov dword [esp], eax
mov dword [ebp - 0x10c], edx
call fcn.006febd0
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x487c5b
mov dword [esp], eax
mov dword [ebp - 0x10c], edx
call fcn.006febd0
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x487c79
mov dword [esp], eax
mov dword [ebp - 0x10c], edx
call fcn.006febd0
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x487c97
mov dword [esp], eax
mov dword [ebp - 0x10c], edx
call fcn.006febd0
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x487cb5
mov dword [esp], eax
mov dword [ebp - 0x10c], edx
call fcn.006febd0
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x487cd3
mov dword [esp], eax
mov dword [ebp - 0x10c], edx
call fcn.006febd0
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x487cf1
mov dword [esp], eax
mov dword [ebp - 0x10c], edx
call fcn.006febd0
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x487d0f
mov dword [esp], eax
mov dword [ebp - 0x10c], edx
call fcn.006febd0
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x487d2d
mov dword [esp], eax
mov dword [ebp - 0x10c], edx
call fcn.006febd0
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xc8]
test eax, eax
je 0x487d4b
mov dword [esp], eax
mov dword [ebp - 0x10c], edx
call fcn.006febd0
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xcc]
test eax, eax
je 0x487d69
mov dword [esp], eax
mov dword [ebp - 0x10c], edx
call fcn.006febd0
mov edx, dword [ebp - 0x10c]
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [ebp - 0x10c], eax
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 8]
mov edx, dword [ebp - 0x10c]
sub esp, 4
jmp 0x487b05
lea ecx, [ebp - 0x7c]
call fcn.006394c0
lea ecx, [ebp - 0xec]
call fcn.00639040
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x487dc3
mov dword [esp], eax
call fcn.006febd0
lea ecx, [ebp - 0xd4]
call fcn.00639540
mov dword [esp], ebx
call fcn.005e6130
lea esi, [esi]
lea edi, [edi]
call fcn.0047cca0
mov ebx, eax
jmp 0x487d9e
call fcn.006ff430
mov ebx, eax
jmp 0x487da6