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

Disassembly:
sub esp, 0xbc
mov eax, dword [0x86b840]
push ebx
push ebp
push esi
mov dword [esp + 0x14], eax
push edi
xor eax, 0x69746572
lea edi, [esp + 0x18]
mov word [esp + 0x1c], 0
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], eax
call fcn.004ce910
mov ebx, eax
test ebx, ebx
je 0x475990
mov edi, edi
cmp word [ebx + 2], 0xffff
jne 0x47597d
mov eax, dword [esp + 0x20]
mov ecx, dword [0x6eb430]
mov edx, dword [ecx + 0x34]
and eax, 0xffff
imul eax, eax, 0x64
lea ebp, [eax + edx + 0x28]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
cmp edx, ecx
jle 0x475684
mov eax, edx
sub eax, ecx
jmp 0x475693
jge 0x47597d
mov esi, dword [ebp]
mov eax, edx
sub eax, ecx
add eax, esi
cmp eax, 4
jle 0x47597d
cmp ecx, edx
je 0x4756ed
mov eax, dword [ebp + 8]
mov eax, dword [eax + ecx*4]
lea esi, [eax + 0xc]
mov ecx, 8
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 4]
dec ecx
mov dword [esp + 0x14], 0xffffffff
mov dword [eax + 4], ecx
jne 0x4756db
mov ecx, dword [eax]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], ecx
cmp eax, dword [ebp + 0xc]
je 0x4756db
inc eax
cdq
idiv dword [ebp]
mov dword [ebp + 0x10], edx
lea edi, [ebp + 0x1c]
mov ecx, 8
lea esi, [esp + 0x28]
mov byte [ebp + 0x18], 1
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x34]
cmp eax, 0xffffffff
je 0x475674
mov edx, dword [0x851c30]
mov edx, dword [edx + 0x34]
mov ecx, eax
and ecx, 0xffff
lea ecx, [ecx + ecx*2]
mov edi, dword [edx + ecx*4 + 8]
mov ecx, dword [edi + 0x204]
shr ecx, 6
test cl, 1
je 0x475674
mov ecx, dword [0x86b838]
cmp byte [ecx + 0x11], 0
jne 0x47583c
mov ecx, dword [0x851c30]
mov ecx, dword [ecx + 0x34]
and eax, 0xffff
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*4 + 8]
mov cx, word [eax + 0x2f2]
cmp cx, 0xffff
je 0x47579e
movsx ecx, cx
mov eax, dword [eax + ecx*4 + 0x2f8]
cmp eax, 0xffffffff
je 0x47579e
and eax, 0xffff
lea eax, [eax + eax*2]
mov ecx, dword [edx + eax*4 + 8]
mov edx, dword [ecx]
mov eax, dword [0x86cff4]
and edx, 0xffff
shl edx, 5
mov ecx, dword [edx + eax + 0x14]
mov edx, dword [ecx + 0x308]
shr edx, 3
test dl, 1
je 0x47579e
mov ax, word [edi + 0x2f2]
mov word [esp + 0x40], ax
mov cx, word [esp + 0x28]
mov eax, dword [esp + 0x20]
mov word [esp + 0x4a], cx
lea ecx, [esp + 0x2c]
lea esi, [esp + 0x70]
call fcn.00472bc0
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x84], edx
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x54], edx
mov dx, word [esp + 0x40]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
mov ax, word [esp + 0x42]
mov word [esp + 0x4c], dx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x60], ecx
mov cx, word [esp + 0x44]
mov word [esp + 0x4e], ax
mov eax, dword [ebx + 0x34]
push edx
mov dword [esp + 0x60], 0
mov byte [esp + 0x4c], 3
mov word [esp + 0x54], cx
mov byte [esp + 0x4d], 0
lea edx, [esp + 0x4c]
jmp 0x47592e
mov edx, dword [edi + 0x1f8]
or ecx, 0xffffffff
cmp edx, ecx
jne 0x475936
cmp dword [edi + 0x1f4], ecx
jne 0x475936
mov word [esp + 0x8c], cx
mov word [esp + 0x8e], cx
mov word [esp + 0x90], cx
mov ecx, dword [0x690504]
mov edx, dword [ecx]
mov dword [esp + 0x94], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ecx
lea edx, [edi + 0x224]
mov ecx, dword [edx]
mov dword [esp + 0xa4], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
lea ecx, [edi + 0x230]
mov edx, dword [ecx]
mov dword [esp + 0xb0], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], ecx
lea edx, [edi + 0x254]
mov ecx, dword [edx]
mov dword [esp + 0xbc], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc4], edx
mov byte [esp + 0x88], 3
mov byte [esp + 0x89], 0
mov word [esp + 0x8a], 0
mov dword [esp + 0xa0], 0
push ecx
lea edx, [esp + 0x8c]
call fcn.0055f3b0
add esp, 4
mov ecx, dword [esp + 0x20]
call fcn.00475e40
test al, al
je 0x475960
mov al, byte [0x6833c9]
test al, al
je 0x475960
mov edx, dword [edi + 0x11c]
push edx
call fcn.004f3ad0
add esp, 4
jmp 0x475674
mov eax, dword [ebx + 0x34]
push eax
call fcn.0055df70
mov ecx, dword [ebx + 0x34]
add esp, 4
push ecx
call fcn.00554a80
add esp, 4
jmp 0x475674
lea edi, [esp + 0x18]
call fcn.004ce910
mov ebx, eax
test ebx, ebx
jne 0x475650
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xbc
ret