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

Disassembly:
sub esp, 0x3c
push ebx
mov ebx, dword [esp + 0x48]
push ebp
mov ebp, ecx
xor ecx, ecx
cmp ebx, ecx
jne 0x480abb
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret 0x24
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edi
cmp dword [esp + 0x64], ecx
je 0x480bc4
push edx
call fcn.004bddf0
add esp, 4
test eax, eax
je 0x480b05
mov dword [esp + 0x30], 1
lea eax, [ebx + ebx*4]
add eax, eax
cmp eax, 0x3e8
jg 0x480b16
mov eax, 0x3e8
mov dword [esp + 0x38], eax
xor ecx, ecx
add eax, 0xa
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ff272
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0xec]
imul eax, eax, 0x190
add eax, 0x5bd1d0
mov dword [esp + 0x44], eax
xor eax, eax
add esp, 4
cmp dword [esp + 0x6c], eax
je 0x480e5e
mov eax, dword [ebp + 0x2d0]
lea ecx, [eax - 1]
lea edx, [eax + eax*8]
mov eax, dword [ebp + 0x31c]
mov eax, dword [eax + edx*4 - 0x24]
dec eax
cmp esi, dword [ebp + 0x2d0]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], eax
jge 0x480c53
jmp 0x480b90
cmp dword [esp + 0x64], 0
mov dword [esp + 0x3c], 0
je 0x480c01
mov edx, dword [esp + 0x50]
mov ecx, 0x5e
cmp cx, word [edx]
jne 0x480c01
test edi, edi
jle 0x480c01
cmp esi, dword [esp + 0x24]
jge 0x480bf9
inc esi
xor edi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
jmp 0x480c01
lea ecx, [ebx - 1]
xor eax, eax
test ecx, ecx
jle 0x480b05
mov ecx, 0xd
cmp cx, word [edx + eax*2]
jne 0x480bec
mov ecx, 0xa
cmp cx, word [edx + eax*2 + 2]
je 0x480afd
inc eax
lea ecx, [ebx - 1]
cmp eax, ecx
jl 0x480bd1
jmp 0x480b05
mov dword [esp + 0x3c], 1
cmp dword [esp + 0x30], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x54], eax
je 0x480c6c
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
push edi
push esi
push edx
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call fcn.00470200
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
push 0
push 1
push edx
mov ebx, eax
mov eax, dword [esp + 0x78]
push eax
push esi
push edi
push ecx
mov ecx, ebp
inc ebx
call fcn.0047eeb0
test eax, eax
jne 0x480c97
mov eax, dword [esp + 0x2c]
push eax
call fcn.004ff267
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret 0x24
mov eax, dword [ebp + 0x31c]
lea edx, [esi + esi*8]
mov ecx, dword [eax + edx*4 + 8]
mov ebx, dword [eax + edx*4]
lea eax, [eax + edx*4]
lea edx, [ecx + edi*2]
lea eax, [esi + 1]
mov dword [esp + 0x10], edx
sub ebx, edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x6c], 0
dec ebx
cmp dword [esp + 0x3c], 0
jne 0x480d27
cmp dword [esp + 0x64], 0
je 0x480cd7
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
push ecx
push 1
push edx
mov edx, dword [esp + 0x5c]
lea eax, [ebp + 0x1d0]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x64]
push ecx
push edx
push ebx
push eax
call fcn.0046fa70
add esp, 0x20
jmp 0x480d1f
cmp dword [esp + 0x60], 0
je 0x480d02
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push ebx
push edx
call fcn.0046f560
add esp, 0x18
jmp 0x480d1f
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push ebx
push eax
call fcn.0046f410
add esp, 0x14
test eax, eax
jne 0x480ddd
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
cmp esi, eax
jg 0x480d85
jne 0x480d3f
mov ecx, dword [esp + 0x6c]
cmp ecx, dword [esp + 0x34]
jge 0x480d85
cmp dword [esp + 0x30], 0
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
je 0x480dcc
mov edx, dword [esp + 0x20]
xor ecx, ecx
test edx, edx
jle 0x480dcc
lea eax, [esi + esi*8]
add eax, eax
add eax, eax
test edi, edi
jle 0x480d6a
dec edi
jmp 0x480d7e
test esi, esi
jle 0x480d7e
mov edi, dword [ebp + 0x31c]
mov edi, dword [eax + edi - 0x24]
sub eax, 0x24
dec esi
dec edi
inc ecx
inc ecx
cmp ecx, edx
jl 0x480d63
jmp 0x480dc4
cmp dword [esp + 0x68], 0
je 0x480c53
cmp dword [esp + 0x28], 0
jne 0x480c53
cmp dword [0x5c305c], 0
jne 0x480c53
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
xor edi, edi
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], eax
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
cmp esi, dword [ebp + 0x2d0]
jl 0x480b90
jmp 0x480c53
sub eax, dword [esp + 0x10]
push edi
push esi
sar eax, 1
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, ebp
call fcn.00470200
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x58]
push ecx
push eax
mov dword [esi + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esi], ecx
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, ebp
call fcn.00470200
cmp dword [esp + 0x68], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xc], eax
mov dword [esi + 8], ecx
je 0x480e42
mov edx, dword [esp + 0x28]
push edx
call fcn.00478cb0
add esp, 4
mov eax, dword [esp + 0x2c]
push eax
call fcn.004ff267
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3c
ret 0x24
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
cmp esi, eax
jne 0x480e9a
cmp edi, eax
jne 0x480ea0
cmp dword [esp + 0x68], eax
je 0x480ea0
mov esi, dword [ebp + 0x2d0]
mov edx, dword [ebp + 0x31c]
dec esi
lea ecx, [esi + esi*8]
mov edi, dword [edx + ecx*4]
dec edi
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
cmp esi, eax
jl 0x480c53
cmp dword [esp + 0x30], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x54], eax
je 0x480efb
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
push edi
push esi
neg edx
push edx
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call fcn.00470200
mov edx, dword [esp + 0x2c]
push 0
push 1
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x7c]
push esi
push edi
mov ebx, eax
push edx
mov ecx, ebp
inc ebx
call fcn.0047eeb0
test eax, eax
je 0x480c53
dec ebx
jmp 0x480f32
test edi, edi
jne 0x480f15
test esi, esi
jle 0x480c53
mov ecx, dword [ebp + 0x31c]
dec esi
lea eax, [esi + esi*8]
mov edi, dword [ecx + eax*4]
dec edi
mov eax, dword [ebp + 0x31c]
lea edx, [esi + esi*8]
mov ecx, dword [eax + edx*4 + 8]
mov ebx, edi
xor edi, edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x6c], edi
cmp dword [esp + 0x64], 0
je 0x480f61
mov edx, dword [esp + 0x5c]
push 1
push edx
mov edx, dword [esp + 0x58]
lea eax, [ebp + 0x1d0]
push eax
lea ecx, [esp + 0x60]
push ecx
push edx
push ebx
mov ebx, dword [esp + 0x28]
push ebx
call fcn.0046fde0
add esp, 0x1c
jmp 0x480fa5
cmp dword [esp + 0x60], 0
mov edx, dword [esp + 0x20]
je 0x480f8c
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x54]
push ecx
push edx
push eax
push ebx
mov ebx, dword [esp + 0x24]
push ebx
call fcn.0046fd40
add esp, 0x18
jmp 0x480fa5
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x50]
push ecx
push edx
push eax
push ebx
mov ebx, dword [esp + 0x20]
push ebx
call fcn.0046fca0
add esp, 0x14
test eax, eax
jne 0x481061
mov eax, dword [esp + 0x24]
cmp esi, eax
jl 0x481005
jne 0x480fbd
cmp edi, dword [esp + 0x34]
jle 0x481005
cmp dword [esp + 0x30], 0
je 0x481054
mov edx, dword [esp + 0x20]
xor eax, eax
test edx, edx
jle 0x481054
mov ebx, dword [ebp + 0x31c]
lea ecx, [esi + esi*8]
lea ecx, [ebx + ecx*4]
mov ebx, dword [ecx]
dec ebx
cmp edi, ebx
jge 0x480fec
inc edi
jmp 0x480ffe
mov ebx, dword [ebp + 0x2d0]
dec ebx
cmp esi, ebx
jge 0x480ffe
inc esi
add ecx, 0x24
xor edi, edi
inc eax
inc eax
cmp eax, edx
jl 0x480fe2
jmp 0x481054
cmp dword [esp + 0x68], 0
je 0x480c53
cmp dword [esp + 0x28], 0
jne 0x480c53
cmp dword [0x5c305c], 0
jne 0x480c53
mov edx, dword [esp + 0x44]
mov esi, dword [ebp + 0x2d0]
mov eax, dword [esp + 0x48]
dec esi
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0x31c]
lea ecx, [esi + esi*8]
mov edi, dword [edx + ecx*4]
mov dword [esp + 0x28], 1
mov dword [esp + 0x34], eax
dec edi
test esi, esi
jge 0x480ea0
jmp 0x480c53
push edi
sub eax, ebx
push esi
sar eax, 1
push eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call fcn.00470200
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push ecx
push eax
mov dword [esi + 4], eax
push edx
mov dword [esi], ecx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call fcn.00470200
cmp dword [esp + 0x68], 0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x6c]
mov dword [esi + 0xc], edx
mov dword [esi + 8], eax
je 0x4810c4
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00478cb0
add esp, 4
mov edx, dword [esp + 0x2c]
push edx
call fcn.004ff267
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3c
ret 0x24