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

Disassembly:
sub esp, 0x78
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov dword [esp + 4], eax
mov dword [esp], 0x4cd250
call fcn.00463690
mov ecx, dword [esp + 0x7c]
xor esi, esi
mov dword [esp + 0x30], eax
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x58], ecx
cmp esi, dword [esp + 0x58]
mov ebx, esi
jae 0x47473e
mov edx, dword [esp + 0x80]
lea eax, [edx + ebx*4]
mov dword [esp + 0x1c], eax
call fcn.0047438c
mov esi, eax
mov eax, dword [esp + 0x1c]
call fcn.0042203c
cmp eax, 0xbc
je 0x47473e
mov eax, dword [esp + 0x1c]
call fcn.0047435c
test al, al
je 0x4744da
mov edx, ebp
mov ecx, ebp
sub edx, esi
sub ecx, edx
shl ecx, 2
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x80]
lea ecx, [ecx + ebx*4]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x34]
lea edx, [ecx + edx*4]
mov dword [esp], edx
call fcn.004b8760
sub ebp, esi
add ebx, esi
cmp ebx, dword [esp + 0x58]
jb 0x474469
jmp 0x47473e
mov eax, dword [esp + 0x1c]
call fcn.0047436c
test al, al
jne 0x4744f4
mov eax, dword [esp + 0x1c]
call fcn.0047437c
test al, al
je 0x4744cf
mov eax, dword [esp + 0x1c]
call fcn.0042203c
cmp eax, 0xa1
je 0x474514
mov eax, dword [esp + 0x1c]
call fcn.0042203c
cmp eax, 0xa5
jne 0x474587
mov dword [esp + 0x6c], ebx
mov ecx, ebp
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x80]
lea eax, [eax + ebx*4]
mov dword [esp + 0x28], ecx
mov edx, ecx
mov dword [esp + 0x1c], eax
call fcn.00422048
mov edi, eax
add edi, esi
mov eax, dword [esp + 0x1c]
call fcn.0047439c
add edi, eax
mov edx, dword [esp + 0x28]
sub edx, edi
mov ecx, dword [esp + 0x2c]
sub ecx, edx
shl ecx, 2
mov edx, ebp
sub edx, edi
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x34]
lea edx, [ecx + edx*4]
mov dword [esp], edx
call fcn.004b8760
sub ebp, edi
add dword [esp + 0x6c], edi
mov ebx, dword [esp + 0x6c]
jmp 0x4744cf
mov dword [esp + 0x24], ebp
mov ecx, ebp
mov edx, ecx
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x1c]
push ebx
call fcn.004743c0
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x60], eax
lea eax, [ecx + eax*4]
call fcn.0047438c
mov edi, eax
mov edx, dword [esp + 0x20]
sub edx, edi
mov ecx, dword [esp + 0x24]
sub ecx, edx
shl ecx, 2
mov edx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x80]
lea edx, [ecx + edx*4]
mov dword [esp + 4], edx
mov ecx, ebp
sub ecx, edi
mov edx, dword [esp + 0x34]
lea ecx, [edx + ecx*4]
mov dword [esp], ecx
call fcn.004b8760
sub ebp, edi
mov eax, dword [esp + 0x1c]
call fcn.0042203c
cmp eax, 0x81
jne 0x474737
mov dword [esp + 0x64], edi
mov edx, dword [esp + 0x60]
mov edi, ebp
mov dword [esp + 0x68], esi
lea esi, [ebx + 1]
mov ecx, dword [esp + 0x80]
add edx, dword [esp + 0x68]
lea eax, [ecx + esi*4]
sub edx, dword [esp + 0x64]
sub edx, ebx
sub edi, edx
mov dword [esp + 0x5c], edi
call fcn.0042203c
cmp eax, 0xb8
jne 0x47472c
mov edx, dword [esp + 0x80]
lea eax, [edx + esi*4 - 4]
call fcn.0042203c
cmp eax, 0x81
je 0x474672
mov ecx, dword [esp + 0x80]
lea edx, [ecx + esi*4]
mov ecx, dword [edx - 4]
mov edx, dword [esp + 0x34]
lea edx, [edx + edi*4]
mov dword [edx - 4], ecx
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + esi*4]
mov ecx, dword [esp + 0x34]
mov dword [ecx + edi*4], edx
mov edx, dword [esp + 0x80]
lea eax, [edx + esi*4]
call fcn.00422048
lea ecx, [esi + 1]
mov ebx, eax
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x80]
add ebx, ecx
lea eax, [edx + esi*4]
call fcn.00422048
mov ecx, dword [esp + 0x80]
lea ebp, [edi + eax + 1]
lea eax, [ecx + ebx*4]
call fcn.0042203c
cmp eax, 0x82
je 0x4746c7
dec ebp
mov dword [esp + 0x74], ebx
push dword [esp + 0x70]
push dword [esp + 0x78]
push ebp
lea eax, [esp + 0x4c]
call fcn.004822c8
mov ebx, eax
push dword [eax + 8]
push dword [ebx + 4]
push dword [ebx]
lea eax, [esp + 0x44]
call fcn.004822f8
mov ecx, dword [esp + 0x80]
lea eax, [ecx + esi*4]
mov dword [esp + 0x1c], eax
call fcn.00422048
inc eax
add edi, eax
mov eax, dword [esp + 0x1c]
call fcn.00422048
inc eax
add esi, eax
mov edx, dword [esp + 0x80]
lea eax, [edx + esi*4]
call fcn.0042203c
cmp eax, 0xb8
je 0x47463b
mov ebx, esi
mov ebp, dword [esp + 0x5c]
jmp 0x4744cf
add ebx, esi
jmp 0x4744cf
lea eax, [esp + 0x38]
call fcn.004822f0
test al, al
jne 0x474785
lea eax, [esp + 0x38]
call fcn.00482390
mov esi, dword [eax]
lea eax, [esp + 0x38]
call fcn.00482390
mov ecx, dword [eax + 4]
lea eax, [esp + 0x38]
mov dword [esp + 0x58], ecx
call fcn.00482390
lea edx, [esp + 0x4c]
mov ebp, dword [eax + 8]
push edx
lea eax, [esp + 0x3c]
call fcn.00482354
jmp 0x47445d
mov ebx, dword [esp + 0x7c]
shl ebx, 2
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ebx
mov esi, dword [esp + 0x80]
mov dword [esp + 4], ecx
mov dword [esp], esi
call fcn.004b8760
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
add esp, 0x78
ret 8