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

Disassembly:
sub esp, 0x7c
push ebx
push ebp
mov ebp, dword [esp + 0x88]
xor eax, eax
push esi
mov dword [esp + 0x3c], eax
mov esi, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov eax, dword [ebp]
push edi
push esi
mov dword [esp + 0x1c], eax
call fcn.0046d720
push esi
mov dword [esp + 0x2c], eax
call fcn.0046d720
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x3c], eax
xor eax, eax
add esp, 8
mov ebx, dword [edi + 0x38]
mov al, byte [edi + 4]
mov ecx, dword [edi + 0x3c]
cmp eax, 0x71
mov edx, dword [ebx]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], edx
je 0x480cb7
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], 1
mov cl, byte [eax + 0x38]
test cl, cl
jne 0x480cb7
lea edx, [edx + edx*4]
shl edx, 2
mov dword [esp + 0x38], edx
jmp 0x480bf9
mov edx, dword [esp + 0x38]
mov ecx, dword [edi]
mov eax, dword [esp + 0x10]
cmp eax, dword [ecx]
jg 0x480cb3
mov ecx, dword [ebx + 8]
xor eax, eax
test edx, edx
jle 0x480c3c
add ecx, 0xe
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x3c]
xor ecx, ecx
mov cx, word [edx]
mov edx, dword [esp + 0x10]
cmp ecx, edx
je 0x480c3c
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
inc eax
add edx, 0x14
cmp eax, ecx
mov dword [esp + 0x3c], edx
jl 0x480c17
cmp eax, dword [esp + 0x14]
jne 0x480c9b
mov eax, dword [esp + 0x18]
push 0
push 0x81
push eax
call fcn.0046b910
add esp, 0xc
test eax, eax
je 0x480d8c
mov ecx, dword [esp + 0x10]
or byte [eax + 3], 4
push eax
push ebx
push ebp
mov dword [eax + 4], ecx
call fcn.0046bd60
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x480c9b
mov edx, dword [ebx + 8]
mov eax, dword [esp + 0x38]
mov cx, word [esp + 0x10]
mov word [edx + eax + 0xe], cx
mov edx, dword [esp + 0x14]
inc edx
add eax, 0x14
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
inc ecx
mov al, byte [edx + 0x38]
mov dword [esp + 0x10], ecx
test al, al
je 0x480bf5
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea eax, [edx*4]
push eax
push ecx
call fcn.004402d0
add esp, 8
mov dword [esp + 0x50], eax
test eax, eax
je 0x480e34
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 8]
test edx, edx
jle 0x480d08
add ecx, 0xe
mov dword [esp + 0x4c], edx
xor edx, edx
add eax, 4
mov dx, word [ecx]
add ecx, 0x14
dec edx
mov dword [eax - 4], edx
mov edx, dword [esp + 0x4c]
dec edx
mov dword [esp + 0x4c], edx
jne 0x480cea
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea eax, [edx + edx*4 + 0x10]
push eax
push ecx
call fcn.004402d0
add esp, 8
mov dword [esp + 0x48], eax
test eax, eax
je 0x480e3c
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], 0
mov word [eax + 6], cx
lea edx, [eax + ecx*4 + 0xc]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x18]
test ecx, ecx
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0xc]
mov dl, byte [edx + 0x4d]
mov byte [eax + 4], dl
jle 0x480e3c
mov ecx, dword [esp + 0x50]
add eax, 0xc
mov dword [esp + 0x1c], 0
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], eax
mov edx, dword [ebx + 8]
mov eax, dword [esp + 0x1c]
mov eax, dword [edx + eax]
mov dword [esp + 0x4c], eax
test byte [eax + 3], 1
je 0x480d99
push eax
push ebp
call fcn.0046e5f0
add esp, 8
jmp 0x480dde
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x7c
ret
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
push edx
push edi
push ebp
call fcn.00480b20
add esp, 0xc
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x480dbf
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov eax, ecx
mov edx, dword [eax]
mov eax, dword [esp + 0x4c]
push edx
push eax
push ebp
call fcn.004718f0
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x28]
add esp, 0xc
mov dword [ecx + edx], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
mov eax, dword [esp + 0x48]
mov edx, dword [ebx + 8]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x1c]
mov dl, byte [edx + eax + 0xc]
mov eax, dword [esp + 0x10]
mov byte [ecx + eax], dl
mov edx, dword [esp + 0x38]
mov ecx, 4
inc eax
add edx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x30]
add edx, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x1c]
add edx, 0x14
cmp eax, ecx
mov dword [esp + 0x1c], edx
jl 0x480d6c
jmp 0x480e3c
mov dword [esp + 0x48], 0
mov dword [edi + 0x38], ebx
mov eax, dword [ebp]
push 0
push ebx
push eax
call fcn.00471cc0
mov ebx, dword [esp + 0x34]
add esp, 0xc
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x20]
cmp eax, 0x71
jne 0x480e6b
mov dword [esp + 0x3c], 0
jmp 0x480f07
mov ecx, dword [edi]
mov ebx, dword [ecx]
mov dword [esp + 0x44], ebx
lea edx, [ebx + 1]
push edx
push ebp
call fcn.00470270
push eax
push 0
push 7
push esi
mov dword [esp + 0x54], eax
call fcn.0046cc70
mov ecx, dword [esp + 0x30]
lea eax, [ebx + ebx*4 + 0x10]
push eax
push ecx
call fcn.004451d0
add esp, 0x20
mov dword [esp + 0x2c], eax
test eax, eax
je 0x480f03
mov ecx, dword [esp + 0x18]
lea edx, [eax + ebx*4 + 0xc]
mov dword [eax + 8], edx
mov word [eax + 6], bx
mov edx, dword [ecx + 0x10]
xor ebx, ebx
mov ecx, dword [edx + 0xc]
mov dl, byte [ecx + 0x4d]
mov byte [eax + 4], dl
mov eax, dword [esp + 0x44]
test eax, eax
jle 0x480f03
mov eax, dword [esp + 0x2c]
add eax, 0xc
mov dword [esp + 0x4c], eax
push ebx
push edi
push ebp
call fcn.00480b20
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x38]
add esp, 0xc
inc ebx
mov dword [ecx], eax
mov eax, dword [edx + 8]
add ecx, 4
mov byte [eax + ebx - 1], 0
mov eax, dword [esp + 0x44]
cmp ebx, eax
mov dword [esp + 0x4c], ecx
jl 0x480ed6
mov ebx, dword [esp + 0x28]
mov ecx, dword [edi + 0x38]
push str.ORDER
push ecx
push edi
push ebp
mov dword [edi + 0x3c], 0
call fcn.00471800
mov eax, dword [ebx + 0x3c]
add esp, 0x10
test eax, eax
jne 0x480f3b
mov edx, dword [ebx + 0x38]
push str.ORDER
push edx
push ebx
push ebp
call fcn.00471800
add esp, 0x10
mov eax, dword [esp + 0x24]
push eax
push edi
push ebp
call fcn.00480200
mov ecx, dword [edi + 8]
xor eax, eax
add esp, 0xc
cmp ecx, eax
je 0x480f96
cmp dword [esp + 0x20], 0x71
jne 0x480f96
mov ebx, dword [ebp + 0x4c]
inc ebx
mov dword [esp + 0x4c], ebx
lea eax, [ebx + 1]
mov dword [ebp + 0x4c], eax
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x480f76
inc eax
jmp 0x480f79
mov eax, dword [edi + 8]
push ebx
push eax
push 0xe
push esi
call fcn.0046cc70
mov ecx, dword [esp + 0x48]
push ecx
push ebx
push 0xe
push esi
call fcn.0046cc70
add esp, 0x20
jmp 0x480f9e
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], eax
mov edx, dword [edi + 0x48]
mov ebx, dword [esp + 0x18]
push edx
push ebx
call fcn.00463730
mov eax, dword [edi + 0x4c]
mov dword [edi + 0x48], 0
push eax
push ebx
call fcn.00463730
mov dword [edi + 0x4c], 0
mov ebx, dword [ebp + 0x4c]
inc ebx
lea ecx, [esp + 0x8c]
push ebx
push 0xa
lea eax, [ebx + 1]
push ecx
mov dword [esp + 0x2c], eax
add eax, 2
mov dword [esp + 0x38], eax
add eax, 2
mov dword [esp + 0x60], eax
mov dword [ebp + 0x4c], eax
call fcn.0047cba0
mov edx, dword [esp + 0x2c]
lea eax, [edx + 1]
push eax
lea eax, [esp + 0x8c]
push 0xa
push eax
call fcn.0047cba0
push 1
push esi
call fcn.0046d6e0
push esi
mov dword [esp + 0x88], eax
call fcn.0046d790
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x5c]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0x1e8]
lea ecx, [esp + 0xb0]
mov dword [esp + 0x9c], edx
push ecx
push eax
push ebp
call fcn.0047df00
mov edx, dword [esp + 0x50]
add esp, 0x40
push edx
push 1
push 7
push esi
call fcn.0046cc70
push ebx
push 4
push esi
call fcn.0046d700
push esi
call fcn.0046d790
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x7c], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x6c], eax
mov dword [edi + 8], edx
mov dword [edi + 0xc], 0
mov eax, dword [ebp + 0x1e8]
push ecx
push edi
push ebp
mov dword [esp + 0x90], eax
call fcn.0047df00
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x5c]
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
mov ecx, dword [esp + 0x48]
push ecx
push 1
push 7
push esi
call fcn.0046cc70
mov edx, dword [esp + 0x4c]
lea eax, [edx + 1]
push eax
push 4
push esi
call fcn.0046d700
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x84]
add esp, 0x48
push eax
mov eax, dword [esp + 0x20]
push 0xfffffffffffffff0
push ecx
mov ecx, dword [esp + 0xa4]
inc eax
push edx
push eax
lea edx, [esp + 0x90]
push ecx
push edx
push edi
push ebp
call fcn.004814c0
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x44]
add esp, 0x24
cmp eax, 0x71
je 0x481120
cmp eax, 0x70
jne 0x481158
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x48]
push 0xffffffffffffffef
push ecx
mov ecx, dword [esp + 0xa4]
push edx
push eax
lea edx, [esp + 0x80]
push ecx
push edx
push edi
push ebp
call fcn.004814c0
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x44]
add esp, 0x24
cmp eax, 0x72
je 0x4811bb
cmp eax, 0x73
je 0x4811bb
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push 0x1b
push esi
call fcn.0046cc70
mov edx, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x54]
push edx
push eax
push 2
push esi
call fcn.0046cc70
mov ecx, dword [esp + 0x30]
lea eax, [ecx + 1]
push eax
push 4
push esi
call fcn.0046d700
mov edx, dword [esp + 0x58]
push edx
push 0
push 1
push esi
call fcn.0046cc70
mov ecx, dword [esp + 0x64]
add esp, 0x3c
fld qword [ecx + 0x20]
fadd qword [edi + 0x20]
fstp qword [edi + 0x20]
jmp 0x4811d5
mov eax, dword [esp + 0x24]
push eax
push 0
push 1
push esi
call fcn.0046cc70
mov ecx, dword [esp + 0x38]
add esp, 0x10
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x20], 0x73
jne 0x4811ff
fld qword [edi + 0x20]
fcomp qword [ecx + 0x20]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], edx
fnstsw ax
test ah, 0x41
jne 0x481245
mov eax, dword [ecx + 0x20]
mov dword [edi + 0x20], eax
mov ecx, dword [ecx + 0x24]
mov dword [edi + 0x24], ecx
jmp 0x481245
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
push edx
push eax
push 0x1b
push esi
call fcn.0046cc70
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x40], eax
push ecx
lea eax, [edx + 1]
push eax
push 2
push esi
call fcn.0046cc70
push ebx
push 4
push esi
call fcn.0046d700
mov eax, dword [esp + 0x5c]
push eax
push 0
push 1
push esi
call fcn.0046cc70
add esp, 0x3c
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
push ecx
lea eax, [edx + 1]
push eax
push 2
push esi
call fcn.0046cc70
push ebx
push 4
push esi
mov dword [esp + 0x54], eax
call fcn.0046d700
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
push 0x1b
push esi
call fcn.0046cc70
mov edx, dword [esp + 0x60]
push edx
push 0
push 1
push esi
call fcn.0046cc70
mov eax, dword [esp + 0x5c]
add esp, 0x3c
cmp eax, 0x71
jne 0x48129e
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
jmp 0x4812e3
cmp eax, 0x73
jne 0x4812b2
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
inc eax
mov dword [esp + 0x38], eax
jmp 0x4812e3
push ebx
push 4
push esi
call fcn.0046d700
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push 0x1b
push esi
mov dword [esp + 0x68], eax
call fcn.0046cc70
mov eax, dword [esp + 0x50]
push eax
push 0
push 1
push esi
call fcn.0046cc70
add esp, 0x2c
push esi
call fcn.0046d790
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x24]
add esp, 4
cmp eax, 0x71
je 0x4812fe
cmp eax, 0x70
jne 0x481313
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
push ecx
push edx
push 2
push esi
call fcn.0046cc70
add esp, 0x10
mov eax, dword [esp + 0x10]
inc eax
push eax
push 4
push esi
call fcn.0046d700
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
push ecx
push edx
push 0x1b
push esi
call fcn.0046cc70
mov eax, dword [esp + 0x50]
push eax
push 0
push 1
push esi
call fcn.0046cc70
mov ecx, dword [esp + 0x80]
push ecx
push esi
call fcn.0046cc90
mov edx, dword [esp + 0x44]
push edx
push 0
push 7
push esi
call fcn.0046cc70
mov eax, dword [esp + 0x60]
add esp, 0x44
push eax
push 0
push 7
push esi
call fcn.0046cc70
mov ecx, dword [esp + 0x68]
push ecx
push ebx
push 2
push esi
call fcn.0046cc70
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x7c]
inc eax
push edx
push eax
push 2
push esi
call fcn.0046cc70
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x40]
push ecx
push edx
push 0x1b
push esi
call fcn.0046cc70
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x5c]
add esp, 0x40
push eax
push ecx
push 0x1b
push esi
call fcn.0046cc70
mov edx, dword [esp + 0x44]
push edx
push esi
call fcn.0046d770
mov eax, dword [esp + 0x68]
push 0xfffffffffffffff1
push eax
push 0
push 0
push 0
push 0x17
push esi
call fcn.0046c290
mov ecx, dword [esp + 0x7c]
push 0xfffffffffffffff0
push ecx
mov ebx, dword [esp + 0x50]
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xc0]
push ebx
push edx
push eax
push 0x18
push esi
call fcn.0046c290
add esp, 0x50
push 1
push esi
call fcn.0046d1a0
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x40]
push ecx
push edx
push eax
push 0x19
push esi
call fcn.0046c2d0
mov eax, dword [esp + 0x58]
add esp, 0x1c
test eax, eax
je 0x481436
inc ebx
push ebx
push eax
push ebp
call fcn.004702a0
add esp, 0xc
mov ecx, dword [esp + 0x24]
push ecx
push esi
call fcn.0046d770
mov edx, dword [esp + 0xa0]
mov esi, dword [esp + 0x30]
add esp, 8
cmp byte [edx], 5
jne 0x481474
mov eax, dword [esi + 0x3c]
mov ecx, esi
test eax, eax
je 0x481466
mov ecx, eax
mov eax, dword [ecx + 0x3c]
test eax, eax
jne 0x48145d
mov eax, dword [ecx]
push eax
push 0
push ebp
call fcn.0047fff0
add esp, 0xc
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x481489
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.004670e0
add esp, 8
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
xor ecx, ecx
push 0
mov cl, byte [edi + 4]
push edx
push eax
push ecx
push ebp
mov dword [edi + 0x3c], esi
call fcn.00480ab0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret