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

Disassembly:
sub esp, 0x30
cmp dword [esp + 0x58], 0
push ebx
mov ebx, ecx
push esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0
je 0x47a882
mov eax, dword [ebx + 0x120]
jmp 0x47a899
cmp dword [ebx + 0xa8], 0
je 0x47a893
mov eax, dword [ebx + 0xdc]
jmp 0x47a899
mov eax, dword [ebx + 0xe0]
mov esi, dword [esp + 0x48]
cmp esi, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], esi
jg 0x47abc8
push ebp
push edi
cmp dword [esp + 0x64], 0
je 0x47a8c9
mov ecx, dword [ebx + 0x31c]
lea eax, [esi + esi*8]
mov edx, dword [ecx + eax*4 + 0x10]
mov dword [esp + 0x3c], edx
cmp esi, dword [esp + 0x58]
jne 0x47a8d5
mov ebp, dword [esp + 0x54]
jmp 0x47a8e8
mov ecx, dword [ebx + 0x31c]
lea eax, [esi + esi*8]
mov eax, dword [ecx + eax*4]
dec eax
mov dword [esp + 0x24], eax
mov ebp, eax
mov edx, dword [ebx + 0xa8]
push 0
push edx
push esi
mov ecx, ebx
mov dword [esp + 0x24], 0
call fcn.00478da0
mov dword [esp + 0x38], eax
test ebp, ebp
jle 0x47ab36
mov ecx, dword [ebx + 0x31c]
lea eax, [esi + esi*8]
mov edi, dword [ecx + eax*4 + 8]
mov dword [esp + 0x30], 1
mov dword [esp + 0x10], edi
cmp esi, dword [esp + 0x50]
jne 0x47a93f
mov eax, dword [esp + 0x4c]
lea edx, [edi + eax*2]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
sub ebp, eax
mov edi, edx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
test ebp, ebp
jle 0x47ab65
jmp 0x47a964
mov edi, dword [esp + 0x10]
cmp dword [ebx + 0x78], 0
mov dword [esp + 0x24], 0
je 0x47a9ce
cmp dword [ebx + 0xa8], 0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
je 0x47a998
mov ecx, dword [ebx + 0x10c]
push ecx
push edx
push eax
push ebp
push edi
call fcn.0046ddf0
add esp, 0x14
jmp 0x47a9b0
mov ecx, dword [ebx + 0x108]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
push ebp
push edi
push ecx
call fcn.0046dd20
add esp, 0x18
mov esi, eax
cmp esi, 1
jge 0x47a9bc
mov esi, 1
cmp esi, ebp
jge 0x47a9d0
push esi
push edi
call fcn.00470030
add esp, 8
mov esi, eax
jmp 0x47a9d0
mov esi, ebp
xor ecx, ecx
cmp dword [esp + 0x60], ecx
je 0x47aa35
xor eax, eax
cmp ebp, ecx
mov dword [esp + 0x68], ecx
jle 0x47a9f2
mov edx, 0xc
cmp dx, word [edi + eax*2]
je 0x47a9f8
inc eax
cmp eax, ebp
jl 0x47a9e2
mov dword [esp + 0x20], ecx
jmp 0x47aa35
lea eax, [edi + eax*2]
mov dword [esp + 0x20], eax
cmp eax, ecx
je 0x47aa35
sub eax, edi
sar eax, 1
cmp eax, esi
jge 0x47aa0d
mov esi, eax
mov eax, dword [ebx + 0x2e8]
mov ecx, dword [ebx + 0x11c]
cdq
idiv ecx
mov eax, dword [esp + 0x20]
sub ecx, edx
cmp word [eax + 2], 0
mov dword [esp + 0x68], ecx
je 0x47aa35
test ecx, ecx
jle 0x47aa35
dec dword [esp + 0x68]
cmp dword [esp + 0x30], 0
je 0x47aa58
cmp dword [ebx + 0x7c], 0
je 0x47aa50
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x14], eax
jle 0x47aa50
sub dword [esp + 0x14], eax
mov dword [esp + 0x30], 0
mov ebx, dword [esp + 0x48]
mov edi, dword [ebx + 8]
test edi, edi
jl 0x47abd0
push 0xffffffffffffffff
lea ecx, [edi + 1]
push ecx
mov ecx, ebx
call fcn.00471990
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x1c]
lea edx, [edi + edi*2]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x10]
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
add ecx, esi
lea eax, [edx + esi*2]
sub ebp, esi
cmp dword [esp + 0x60], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
je 0x47ab24
cmp dword [esp + 0x20], 0
je 0x47ab24
mov ebx, 1
add dword [esp + 0x18], ebx
add eax, 2
sub ebp, ebx
cmp word [eax], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], ebp
jne 0x47aace
sub dword [esp + 0x68], ebx
cmp dword [esp + 0x68], 0
jle 0x47ab20
mov edi, dword [esp + 0x28]
add edi, 0x2e0
nop
mov esi, dword [edi + 8]
sub dword [esp + 0x68], ebx
xor ebp, ebp
test esi, esi
jl 0x47abd0
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
mov ecx, edi
call fcn.00471990
cmp dword [esp + 0x68], ebp
mov edx, dword [edi + 4]
lea ecx, [esi + esi*2]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebp
lea ebx, [ebp + 1]
jg 0x47aae0
mov ebp, dword [esp + 0x24]
sub dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x28]
test ebp, ebp
jg 0x47a960
mov esi, dword [esp + 0x1c]
jmp 0x47ab65
mov ebp, dword [esp + 0x48]
mov edi, dword [ebp + 8]
test edi, edi
jl 0x47abd0
push 0xffffffffffffffff
lea edx, [edi + 1]
push edx
mov ecx, ebp
call fcn.00471990
mov ecx, dword [ebp + 4]
lea eax, [edi + edi*2]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
cmp dword [esp + 0x64], 0
je 0x47ab76
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x47ab76
add esi, eax
cmp dword [esp + 0x5c], 0
je 0x47abb7
mov eax, dword [esp + 0x2c]
mov edx, eax
inc eax
cmp edx, 0xc8
mov dword [esp + 0x2c], eax
jle 0x47abb7
mov eax, dword [ebx + 0x2d0]
push eax
push 0x64
lea ecx, [esi + 1]
push ecx
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [0x5ed04c]
push eax
call fcn.004629e0
inc esi
cmp esi, dword [esp + 0x58]
mov dword [esp + 0x1c], esi
jle 0x47a8b1
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x30
ret 0x28
call fcn.005078a4
int3