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

Disassembly:
sub esp, 0x164
push ebp
mov ebp, dword [esp + 0x170]
push esi
push edi
mov edi, dword [esp + 0x174]
push ebp
push edi
mov esi, ecx
call fcn.00484510
test al, al
jne 0x4872e4
mov ecx, dword [edi + 4]
push ebx
call fcn.004ab3f0
mov ebx, eax
test ebx, ebx
je 0x4872e3
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax + 0xd4]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 0x834]
push eax
mov dword [esp + 0x40], eax
call dword [0x68a2e8]
fld dword [ebp + 0x1c]
movsx eax, word [ebp + 0x24]
fst dword [esp + 0x54]
fld dword [ebp + 0x20]
mov ecx, dword [edi + 0x40]
mov edx, dword [edi + 0x44]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0xcc], eax
fild dword [esp + 0x38]
movzx eax, word [ebp + 0x26]
fmul dword [0x68f310]
mov dword [esp + 0xbc], ecx
imul eax, eax, 0x1c
fst dword [esp + 0x20]
fld st(2)
fstp dword [esp + 0xac]
fld st(1)
fstp dword [esp + 0xb0]
fstp dword [esp + 0xb4]
fxch st(1)
movzx ecx, byte [edi + 0x58]
fstp dword [esp + 0xc4]
fstp dword [esp + 0xc8]
mov dword [esp + 0xc0], edx
movzx edx, byte [edi + 0x59]
mov dword [esp + 0xd0], ecx
mov ecx, dword [edi + 0x48]
add eax, ecx
mov dword [esp + 0xb8], 0x48
mov dword [esp + 0xd4], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0xd8], edx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0xdc], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0xe0], edx
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx + 0x210]
test eax, eax
mov byte [esp + 0x38], 0
jne 0x486ca1
call fcn.004ba290
cmp eax, 9
jl 0x486cab
mov byte [esp + 0x38], 1
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax + 0xd4]
call fcn.004ce980
fld dword [0x68a9c0]
fld dword [edi + 0x3c]
cmp eax, 9
fucompp
setge cl
mov byte [esp + 0x1f], 1
fnstsw ax
test ah, 0x44
jnp 0x486ce6
mov dword [esp + 0xd4], 0
mov byte [esp + 0x1f], 0
movzx edx, word [ebp + 0x14]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x40], eax
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov al, byte [esp + 0x1f]
test al, al
mov dword [esp + 0x28], 0
mov dword [esp + 0x44], edx
mov dword [esp + 0x78], edx
je 0x486eb1
fld dword [esp + 0x54]
fmul dword [0x68dc18]
fst dword [esp + 0x14]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], edx
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
fld dword [esp + 0x20]
mov eax, dword [esp + 0x14]
fmul dword [0x68dc18]
mov edx, dword [esp + 0x24]
and eax, 0xffff
shl edx, 0x10
fstp dword [esp + 0x18]
or eax, edx
mov dword [esp + 0x7c], eax
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
fld dword [edi + 0x40]
fmul dword [0x68dc18]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], eax
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
fld dword [edi + 0x44]
mov edx, dword [esp + 0x14]
fmul dword [0x68dc18]
mov dword [esp + 0x84], edx
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
xor edx, edx
mov dh, byte [edi + 0x58]
mov dword [esp + 0x88], eax
movzx eax, word [ebp + 0x26]
imul eax, eax, 0x1c
mov dl, byte [edi + 0x59]
mov dword [esp + 0x8c], edx
mov edx, dword [edi + 0x48]
fld dword [eax + edx + 0x14]
fmul dword [0x68dc18]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
movzx edx, word [ebp + 0x26]
mov eax, dword [esp + 0x14]
imul edx, edx, 0x1c
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0x48]
fld dword [edx + eax + 0x18]
fmul dword [0x68dc18]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
movzx eax, word [ebp + 0x26]
mov edx, dword [esp + 0x14]
imul eax, eax, 0x1c
mov dword [esp + 0x94], edx
mov edx, dword [edi + 0x48]
fld dword [eax + edx + 0x10]
fmul dword [0x68dc18]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
neg cl
mov dword [esp + 0x98], eax
mov al, byte [esp + 0x38]
sbb ecx, ecx
xor edx, edx
and ecx, 2
test al, al
mov eax, dword [esi + 0xc]
setne dl
or ecx, edx
test eax, eax
mov dword [esp + 0x9c], ecx
jne 0x486e83
mov ecx, esi
call fcn.00483b20
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 1
lea edx, [esp + 0x7c]
push edx
push eax
mov eax, dword [esi + 4]
push eax
call fcn.00599fc0
mov ecx, eax
mov eax, dword [esp + 0x24]
add esp, 0x14
test eax, eax
mov dword [esp + 0x14], ecx
jne 0x48723b
fld dword [esp + 0x20]
mov ecx, dword [ebx + 0x2c]
fmul dword [edi + 0x44]
mov ecx, dword [ecx + 0x258]
mov dword [esp + 0x18], ecx
fcomp dword [0x68f2e4]
fnstsw ax
test ah, 1
jne 0x486ede
mov dword [esp + 0x18], 7
mov ecx, dword [esp + 0x18]
fld dword [esi + 0x38]
mov edx, dword [esi + 0x38]
fmul dword [0x68dc18]
mov eax, dword [esi + 0x34]
mov dword [esp + 0xa8], edx
mov dword [esp + 0xa0], ecx
fstp dword [esp + 0x20]
mov dword [esp + 0xa4], eax
fld dword [esp + 0x20]
fistp dword [esp + 0x54]
fld dword [esi + 0x34]
fmul dword [0x68dc18]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
fstp dword [esp + 0x54]
fld dword [esp + 0x54]
fistp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 8]
test eax, eax
jne 0x486f45
mov ecx, esi
call fcn.00483ac0
mov eax, dword [esi + 8]
lea ecx, [esp + 0x24]
push ecx
push 1
lea edx, [esp + 0x48]
push edx
push eax
mov eax, dword [esi + 4]
push eax
call fcn.00599fc0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
add esp, 0x14
test eax, eax
jne 0x48713e
mov ecx, dword [esp + 0x18]
mov eax, 7
cmp ecx, eax
jne 0x486fe8
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ecx + 0x258]
lea eax, [esp + 0x24]
push eax
push 1
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
mov dword [esp + 0x58], edx
call fcn.00483b80
mov edx, dword [esi + 4]
push eax
push edx
call fcn.00599fc0
mov ecx, dword [esp + 0x38]
add esp, 0x14
cmp ecx, 1
jne 0x486fde
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.00483b80
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0059a270
mov eax, dword [0x72b990]
xor ecx, ecx
add esp, 0xc
dec eax
mov dword [esp + 0x24], ecx
mov dword [0x72b990], eax
mov dword [esp + 0x4c], 7
jmp 0x487021
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x50], eax
push 1
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call fcn.00483b80
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.00599fc0
mov ecx, dword [esp + 0x38]
add esp, 0x14
cmp ecx, 1
jne 0x487019
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x18]
mov dword [esp + 0x4c], edx
test ecx, ecx
jne 0x48713e
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov ax, word [ebp + 0x14]
push eax
push ecx
push esi
lea ecx, [esp + 0xf0]
call fcn.00483e20
mov edx, dword [ebx + 0x2c]
mov eax, dword [edx + 0xd4]
push eax
lea ecx, [esp + 0xe8]
call fcn.00484bb0
mov eax, dword [esp + 0xf4]
cmp dword [eax + 0x1c], 1
ja 0x487093
mov dword [esp + 0xe4], str.t__39
lea ecx, [esp + 0xe4]
call fcn.00483e50
mov ecx, dword [esp + 0x3c]
push ecx
call dword [0x68a2e4]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x164
ret 8
mov edx, dword [ebx + 0x2c]
mov ecx, dword [edx + 0xd4]
mov edx, dword [ebp + 0x10]
push ecx
push eax
push edx
mov ecx, esi
call fcn.00485d60
mov ecx, dword [esp + 0xf4]
mov edx, dword [esi + 4]
lea eax, [esp + 0xa0]
push eax
push ecx
push edx
call fcn.00598a90
add esp, 0xc
test eax, eax
mov dword [esp + 0x54], eax
jne 0x4870e9
lea ecx, [esp + 0xe4]
mov dword [esp + 0xe4], str.t__39
call fcn.00483e50
jmp 0x4872d8
mov edx, dword [0x72b988]
inc edx
push eax
lea ecx, [esp + 0x44]
mov dword [0x72b988], edx
mov edx, dword [esp + 0x24]
push ecx
push edx
mov ecx, esi
call fcn.00483b80
push eax
mov eax, dword [esi + 4]
push eax
call fcn.0059a0e0
add esp, 0x14
test eax, eax
lea ecx, [esp + 0xe4]
mov dword [esp + 0xe4], str.t__39
jne 0x487076
mov edx, dword [esp + 0x54]
mov dword [esp + 0x20], edx
call fcn.00483e50
jmp 0x487144
inc dword [0x72b984]
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x114]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x14c]
push ecx
mov ecx, dword [esi + 4]
lea edx, [esp + 0xc0]
push edx
push eax
push ecx
call fcn.0059a9b0
mov edx, dword [esp + 0x52]
mov eax, dword [esp + 0x50]
push 0xb
push edx
mov dl, byte [edi + 0x58]
xor ecx, ecx
test dl, dl
mov edx, dword [esi + 4]
setne cl
push eax
push ecx
push edx
call 0x599c00
mov edi, eax
add esp, 0x34
test edi, edi
je 0x4872d8
mov ebx, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0xd4]
call fcn.004ce980
cmp eax, 9
setge cl
mov byte [esp + 0x54], cl
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esi + 4]
push edi
lea eax, [esp + 0x144]
push eax
push ecx
push edx
call fcn.0059b7d0
mov al, byte [esp + 0x33]
add esp, 0x14
test al, al
je 0x487219
mov ecx, dword [edi + 0x10]
inc ecx
push edi
mov dword [edi + 0x10], ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x78]
push eax
push ecx
mov ecx, esi
call fcn.00483ba0
mov edx, dword [esi + 4]
push eax
push edx
call fcn.0059a0e0
add esp, 0x14
test eax, eax
jne 0x4872d8
inc dword [0x72b990]
mov dword [esp + 0x14], edi
xor eax, eax
nop
mov edx, dword [esp + eax + 0x110]
mov ecx, dword [edi + 8]
mov dword [eax + ecx], edx
add eax, 4
cmp eax, 0x2c
jl 0x487220
mov ecx, dword [esp + 0x14]
jmp 0x487241
inc dword [0x72b98c]
test ecx, ecx
je 0x4872d8
mov al, byte [esp + 0x1f]
test al, al
je 0x4872a6
mov ecx, dword [ecx + 8]
lea edx, [esp + 0xe4]
xor eax, eax
sub ecx, edx
nop
lea edx, [ecx + eax*4]
mov edx, dword [esp + edx + 0xe4]
mov dword [esp + eax*4 + 0xe4], edx
inc eax
cmp eax, 0xb
jl 0x487260
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x30]
push edx
mov edx, dword [esi + 4]
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0xbc]
push ecx
push edx
call fcn.0059b450
mov ecx, dword [esp + 0x2c]
add esp, 0x18
mov eax, dword [esp + 0x28]
mov word [ebp], ax
mov dx, word [ecx + 2]
add dx, ax
xor eax, eax
mov word [ebp + 2], dx
mov ax, word [ecx + 4]
add ax, word [esp + 0x2c]
neg eax
mov word [ebp + 4], ax
mov dx, word [ecx + 4]
add dx, ax
mov word [ebp + 6], dx
mov dword [ebp + 0xc], ecx
mov eax, dword [esp + 0x3c]
push eax
call dword [0x68a2e4]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x164
ret 8