Function at 0x480c30
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.0046d7e0
push esi
mov dword [esp + 0x2c], eax
call fcn.0046d7e0
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 0x480d77
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], 1
mov cl, byte [eax + 0x38]
test cl, cl
jne 0x480d77
lea edx, [edx + edx*4]
shl edx, 2
mov dword [esp + 0x38], edx
jmp 0x480cb9
mov edx, dword [esp + 0x38]
mov ecx, dword [edi]
mov eax, dword [esp + 0x10]
cmp eax, dword [ecx]
jg 0x480d73
mov ecx, dword [ebx + 8]
xor eax, eax
test edx, edx
jle 0x480cfc
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 0x480cfc
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
inc eax
add edx, 0x14
cmp eax, ecx
mov dword [esp + 0x3c], edx
jl 0x480cd7
cmp eax, dword [esp + 0x14]
jne 0x480d5b
mov eax, dword [esp + 0x18]
push 0
push 0x81
push eax
call fcn.0046b9d0
add esp, 0xc
test eax, eax
je 0x480e4c
mov ecx, dword [esp + 0x10]
or byte [eax + 3], 4
push eax
push ebx
push ebp
mov dword [eax + 4], ecx
call fcn.0046be20
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x480d5b
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 0x480cb5
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea eax, [edx*4]
push eax
push ecx
call fcn.00440390
add esp, 8
mov dword [esp + 0x50], eax
test eax, eax
je 0x480ef4
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 8]
test edx, edx
jle 0x480dc8
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 0x480daa
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea eax, [edx + edx*4 + 0x10]
push eax
push ecx
call fcn.00440390
add esp, 8
mov dword [esp + 0x48], eax
test eax, eax
je 0x480efc
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 0x480efc
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 0x480e59
push eax
push ebp
call fcn.0046e6b0
add esp, 8
jmp 0x480e9e
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.00480be0
add esp, 0xc
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x480e7f
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.004719b0
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 0x480e2c
jmp 0x480efc
mov dword [esp + 0x48], 0
mov dword [edi + 0x38], ebx
mov eax, dword [ebp]
push 0
push ebx
push eax
call fcn.00471d80
mov ebx, dword [esp + 0x34]
add esp, 0xc
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x20]
cmp eax, 0x71
jne 0x480f2b
mov dword [esp + 0x3c], 0
jmp 0x480fc7
mov ecx, dword [edi]
mov ebx, dword [ecx]
mov dword [esp + 0x44], ebx
lea edx, [ebx + 1]
push edx
push ebp
call fcn.00470330
push eax
push 0
push 7
push esi
mov dword [esp + 0x54], eax
call fcn.0046cd30
mov ecx, dword [esp + 0x30]
lea eax, [ebx + ebx*4 + 0x10]
push eax
push ecx
call fcn.00445290
add esp, 0x20
mov dword [esp + 0x2c], eax
test eax, eax
je 0x480fc3
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 0x480fc3
mov eax, dword [esp + 0x2c]
add eax, 0xc
mov dword [esp + 0x4c], eax
push ebx
push edi
push ebp
call fcn.00480be0
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 0x480f96
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.004718c0
mov eax, dword [ebx + 0x3c]
add esp, 0x10
test eax, eax
jne 0x480ffb
mov edx, dword [ebx + 0x38]
push str.ORDER
push edx
push ebx
push ebp
call fcn.004718c0
add esp, 0x10
mov eax, dword [esp + 0x24]
push eax
push edi
push ebp
call fcn.004802c0
mov ecx, dword [edi + 8]
xor eax, eax
add esp, 0xc
cmp ecx, eax
je 0x481056
cmp dword [esp + 0x20], 0x71
jne 0x481056
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 0x481036
inc eax
jmp 0x481039
mov eax, dword [edi + 8]
push ebx
push eax
push 0xe
push esi
call fcn.0046cd30
mov ecx, dword [esp + 0x48]
push ecx
push ebx
push 0xe
push esi
call fcn.0046cd30
add esp, 0x20
jmp 0x48105e
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.004637f0
mov eax, dword [edi + 0x4c]
mov dword [edi + 0x48], 0
push eax
push ebx
call fcn.004637f0
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.0047cc60
mov edx, dword [esp + 0x2c]
lea eax, [edx + 1]
push eax
lea eax, [esp + 0x8c]
push 0xa
push eax
call fcn.0047cc60
push 1
push esi
call fcn.0046d7a0
push esi
mov dword [esp + 0x88], eax
call fcn.0046d850
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.0047dfc0
mov edx, dword [esp + 0x50]
add esp, 0x40
push edx
push 1
push 7
push esi
call fcn.0046cd30
push ebx
push 4
push esi
call fcn.0046d7c0
push esi
call fcn.0046d850
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.0047dfc0
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.0046cd30
mov edx, dword [esp + 0x4c]
lea eax, [edx + 1]
push eax
push 4
push esi
call fcn.0046d7c0
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.00481580
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x44]
add esp, 0x24
cmp eax, 0x71
je 0x4811e0
cmp eax, 0x70
jne 0x481218
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.00481580
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x44]
add esp, 0x24
cmp eax, 0x72
je 0x48127b
cmp eax, 0x73
je 0x48127b
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push 0x1b
push esi
call fcn.0046cd30
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.0046cd30
mov ecx, dword [esp + 0x30]
lea eax, [ecx + 1]
push eax
push 4
push esi
call fcn.0046d7c0
mov edx, dword [esp + 0x58]
push edx
push 0
push 1
push esi
call fcn.0046cd30
mov ecx, dword [esp + 0x64]
add esp, 0x3c
fld qword [ecx + 0x20]
fadd qword [edi + 0x20]
fstp qword [edi + 0x20]
jmp 0x481295
mov eax, dword [esp + 0x24]
push eax
push 0
push 1
push esi
call fcn.0046cd30
mov ecx, dword [esp + 0x38]
add esp, 0x10
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x20], 0x73
jne 0x4812bf
fld qword [edi + 0x20]
fcomp qword [ecx + 0x20]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], edx
fnstsw ax
test ah, 0x41
jne 0x481305
mov eax, dword [ecx + 0x20]
mov dword [edi + 0x20], eax
mov ecx, dword [ecx + 0x24]
mov dword [edi + 0x24], ecx
jmp 0x481305
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
push edx
push eax
push 0x1b
push esi
call fcn.0046cd30
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.0046cd30
push ebx
push 4
push esi
call fcn.0046d7c0
mov eax, dword [esp + 0x5c]
push eax
push 0
push 1
push esi
call fcn.0046cd30
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.0046cd30
push ebx
push 4
push esi
mov dword [esp + 0x54], eax
call fcn.0046d7c0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
push 0x1b
push esi
call fcn.0046cd30
mov edx, dword [esp + 0x60]
push edx
push 0
push 1
push esi
call fcn.0046cd30
mov eax, dword [esp + 0x5c]
add esp, 0x3c
cmp eax, 0x71
jne 0x48135e
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
jmp 0x4813a3
cmp eax, 0x73
jne 0x481372
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
inc eax
mov dword [esp + 0x38], eax
jmp 0x4813a3
push ebx
push 4
push esi
call fcn.0046d7c0
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.0046cd30
mov eax, dword [esp + 0x50]
push eax
push 0
push 1
push esi
call fcn.0046cd30
add esp, 0x2c
push esi
call fcn.0046d850
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x24]
add esp, 4
cmp eax, 0x71
je 0x4813be
cmp eax, 0x70
jne 0x4813d3
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
push ecx
push edx
push 2
push esi
call fcn.0046cd30
add esp, 0x10
mov eax, dword [esp + 0x10]
inc eax
push eax
push 4
push esi
call fcn.0046d7c0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
push ecx
push edx
push 0x1b
push esi
call fcn.0046cd30
mov eax, dword [esp + 0x50]
push eax
push 0
push 1
push esi
call fcn.0046cd30
mov ecx, dword [esp + 0x80]
push ecx
push esi
call fcn.0046cd50
mov edx, dword [esp + 0x44]
push edx
push 0
push 7
push esi
call fcn.0046cd30
mov eax, dword [esp + 0x60]
add esp, 0x44
push eax
push 0
push 7
push esi
call fcn.0046cd30
mov ecx, dword [esp + 0x68]
push ecx
push ebx
push 2
push esi
call fcn.0046cd30
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x7c]
inc eax
push edx
push eax
push 2
push esi
call fcn.0046cd30
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x40]
push ecx
push edx
push 0x1b
push esi
call fcn.0046cd30
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x5c]
add esp, 0x40
push eax
push ecx
push 0x1b
push esi
call fcn.0046cd30
mov edx, dword [esp + 0x44]
push edx
push esi
call fcn.0046d830
mov eax, dword [esp + 0x68]
push 0xfffffffffffffff1
push eax
push 0
push 0
push 0
push 0x17
push esi
call fcn.0046c350
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.0046c350
add esp, 0x50
push 1
push esi
call fcn.0046d260
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.0046c390
mov eax, dword [esp + 0x58]
add esp, 0x1c
test eax, eax
je 0x4814f6
inc ebx
push ebx
push eax
push ebp
call fcn.00470360
add esp, 0xc
mov ecx, dword [esp + 0x24]
push ecx
push esi
call fcn.0046d830
mov edx, dword [esp + 0xa0]
mov esi, dword [esp + 0x30]
add esp, 8
cmp byte [edx], 5
jne 0x481534
mov eax, dword [esi + 0x3c]
mov ecx, esi
test eax, eax
je 0x481526
mov ecx, eax
mov eax, dword [ecx + 0x3c]
test eax, eax
jne 0x48151d
mov eax, dword [ecx]
push eax
push 0
push ebp
call fcn.004800b0
add esp, 0xc
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x481549
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.004671a0
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.00480b70
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret