Function at 0x479e90
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 0x479eb2
mov eax, dword [ebx + 0x120]
jmp 0x479ec9
cmp dword [ebx + 0xa8], 0
je 0x479ec3
mov eax, dword [ebx + 0xdc]
jmp 0x479ec9
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 0x47a1f8
push ebp
push edi
cmp dword [esp + 0x64], 0
je 0x479ef9
mov ecx, dword [ebx + 0x334]
lea eax, [esi + esi*8]
mov edx, dword [ecx + eax*4 + 0x10]
mov dword [esp + 0x3c], edx
cmp esi, dword [esp + 0x58]
jne 0x479f05
mov ebp, dword [esp + 0x54]
jmp 0x479f18
mov ecx, dword [ebx + 0x334]
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.00478330
mov dword [esp + 0x38], eax
test ebp, ebp
jle 0x47a166
mov ecx, dword [ebx + 0x334]
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 0x479f6f
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 0x47a195
jmp 0x479f94
mov edi, dword [esp + 0x10]
cmp dword [ebx + 0x78], 0
mov dword [esp + 0x24], 0
je 0x479ffe
cmp dword [ebx + 0xa8], 0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
je 0x479fc8
mov ecx, dword [ebx + 0x10c]
push ecx
push edx
push eax
push ebp
push edi
call fcn.0046ceb0
add esp, 0x14
jmp 0x479fe0
mov ecx, dword [ebx + 0x108]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
push ebp
push edi
push ecx
call fcn.0046cde0
add esp, 0x18
mov esi, eax
cmp esi, 1
jge 0x479fec
mov esi, 1
cmp esi, ebp
jge 0x47a000
push esi
push edi
call fcn.0046eab0
add esp, 8
mov esi, eax
jmp 0x47a000
mov esi, ebp
xor ecx, ecx
cmp dword [esp + 0x60], ecx
je 0x47a065
xor eax, eax
cmp ebp, ecx
mov dword [esp + 0x68], ecx
jle 0x47a022
mov edx, 0xc
cmp dx, word [edi + eax*2]
je 0x47a028
inc eax
cmp eax, ebp
jl 0x47a012
mov dword [esp + 0x20], ecx
jmp 0x47a065
lea eax, [edi + eax*2]
mov dword [esp + 0x20], eax
cmp eax, ecx
je 0x47a065
sub eax, edi
sar eax, 1
cmp eax, esi
jge 0x47a03d
mov esi, eax
mov eax, dword [ebx + 0x300]
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 0x47a065
test ecx, ecx
jle 0x47a065
dec dword [esp + 0x68]
cmp dword [esp + 0x30], 0
je 0x47a088
cmp dword [ebx + 0x7c], 0
je 0x47a080
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x14], eax
jle 0x47a080
sub dword [esp + 0x14], eax
mov dword [esp + 0x30], 0
mov ebx, dword [esp + 0x48]
mov edi, dword [ebx + 8]
test edi, edi
jl 0x47a200
push 0xffffffffffffffff
lea ecx, [edi + 1]
push ecx
mov ecx, ebx
call fcn.004706a0
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 0x47a154
cmp dword [esp + 0x20], 0
je 0x47a154
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 0x47a0fe
sub dword [esp + 0x68], ebx
cmp dword [esp + 0x68], 0
jle 0x47a150
mov edi, dword [esp + 0x28]
add edi, 0x2f8
nop
mov esi, dword [edi + 8]
sub dword [esp + 0x68], ebx
xor ebp, ebp
test esi, esi
jl 0x47a200
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
mov ecx, edi
call fcn.004706a0
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 0x47a110
mov ebp, dword [esp + 0x24]
sub dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x28]
test ebp, ebp
jg 0x479f90
mov esi, dword [esp + 0x1c]
jmp 0x47a195
mov ebp, dword [esp + 0x48]
mov edi, dword [ebp + 8]
test edi, edi
jl 0x47a200
push 0xffffffffffffffff
lea edx, [edi + 1]
push edx
mov ecx, ebp
call fcn.004706a0
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 0x47a1a6
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x47a1a6
add esi, eax
cmp dword [esp + 0x5c], 0
je 0x47a1e7
mov eax, dword [esp + 0x2c]
mov edx, eax
inc eax
cmp edx, 0xc8
mov dword [esp + 0x2c], eax
jle 0x47a1e7
mov eax, dword [ebx + 0x2e8]
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 [0x5ed0c0]
push eax
call fcn.00461a60
inc esi
cmp esi, dword [esp + 0x58]
mov dword [esp + 0x1c], esi
jle 0x479ee1
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x30
ret 0x28
call fcn.00507f95
int3