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

Disassembly:
push 0xffffffffffffffff
push 0x452580
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebp, ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], 0x459e3c
lea ecx, [esp + 0x5c]
mov dword [esp + 0x98], edi
call fcn.004cd42c
lea ecx, [esp + 0x6c]
mov byte [esp + 0x98], 1
call fcn.00493ae0
mov dword [esp + 0x6c], 0x456b08
mov esi, dword [esp + 0xa0]
xor ecx, ecx
mov byte [esp + 0x98], 2
mov dword [esp + 0x5c], 0x456a94
mov eax, dword [esi + 0xc]
mov dword [esp + 0x78], esi
cmp eax, edi
mov dword [esp + 0x74], edi
sete cl
cmp ecx, edi
mov dword [esp + 0x8c], ecx
je 0x49368b
mov eax, dword [esi]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, esi
call dword [eax + 0x50]
cmp esi, edi
je 0x49361f
mov edi, dword [esi + 4]
push edi
call dword [0x45610c]
push eax
lea ecx, [esp + 0x60]
call fcn.004cd4e3
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
sub edx, ebx
push edx
mov edx, dword [esp + 0x80]
sub eax, edx
lea ecx, [esp + 0x70]
push eax
push esi
call fcn.00493c10
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x60]
call fcn.00493c40
mov edx, dword [esp + 0x80]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x7c]
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
lea ecx, [esp + 0x68]
call fcn.004cd89d
jmp 0x49369d
mov edx, dword [esi + 4]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
xor eax, eax
xor ebx, ebx
mov al, byte [ebp + 0x4c]
mov bl, byte [ebp + 0x50]
mov dword [esp + 0x24], eax
sub ebx, eax
mov edi, dword [ebp + 0x4c]
xor eax, eax
mov al, byte [ebp + 0x4d]
xor ecx, ecx
mov cl, byte [ebp + 0x51]
and eax, 0xff
and ecx, 0xff
mov dword [esp + 0x28], eax
sub ecx, eax
mov eax, dword [ebp + 0x50]
shr edi, 0x10
shr eax, 0x10
and edi, 0xff
and eax, 0xff
sub eax, edi
mov esi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
cdq
mov ecx, eax
mov eax, esi
xor ecx, edx
mov byte [esp + 0x98], 3
sub ecx, edx
mov dword [esp + 0x1c], ebx
cdq
mov esi, eax
xor esi, edx
sub esi, edx
cmp esi, ecx
mov dword [esp + 0x10], esi
jg 0x493713
mov dword [esp + 0x10], ecx
mov eax, ebx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x10]
cmp eax, edx
jle 0x493728
mov dword [esp + 0x10], eax
jmp 0x493734
cmp esi, ecx
mov dword [esp + 0x10], esi
jg 0x493734
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0xa4]
mov eax, dword [esp + 0x28]
fild dword [esp + 0x10]
fild dword [esi + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
fdiv st(1)
fstp dword [esp + 0x20]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
fdiv st(1)
fstp dword [esp + 0x34]
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
xor eax, eax
test ecx, ecx
fdiv st(1)
mov dword [esp + 0x24], eax
fstp dword [esp + 0x30]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edi
fdiv st(1)
fstp dword [esp + 0x2c]
fstp st(0)
jle 0x493884
fild dword [esp + 0x14]
mov edi, dword [0x4565c8]
fstp dword [esp + 0x28]
fild dword [esp + 0x18]
fstp dword [esp + 0x18]
fild dword [esp + 0x1c]
fstp dword [esp + 0x38]
fild dword [esp + 0x24]
mov ecx, dword [esi + 0xc]
inc eax
mov dword [esp + 0x1c], eax
inc ecx
fstp dword [esp + 0x14]
fild dword [esp + 0x1c]
push ecx
fmul dword [esp + 0x24]
call fcn.004b70cc
fld dword [esp + 0x18]
fmul dword [esp + 0x24]
push eax
push 0
call fcn.004b70cc
lea edx, [esp + 0x58]
push eax
push edx
call edi
fld dword [esp + 0x14]
fmul dword [esp + 0x2c]
fadd dword [esp + 0x28]
call fcn.004b70cc
fld dword [esp + 0x14]
fmul dword [esp + 0x30]
xor ebx, ebx
mov bh, al
fadd dword [esp + 0x18]
call fcn.004b70cc
fld dword [esp + 0x14]
fmul dword [esp + 0x34]
mov bl, al
shl ebx, 8
fadd dword [esp + 0x38]
call fcn.004b70cc
and eax, 0xff
or ebx, eax
push ebx
mov ebx, dword [0x45611c]
call ebx
push eax
lea ecx, [esp + 0x40]
call fcn.004cdf04
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x3c]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x60]
push eax
lea eax, [esp + 0x50]
push eax
push ecx
call dword [0x4565d0]
lea ecx, [esp + 0x3c]
call fcn.004cdf5b
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x54]
cmp eax, dword [edx]
jg 0x4938cc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x4937ac
lea ecx, [esp + 0x5c]
mov byte [esp + 0x98], 0
call fcn.004939d0
mov dword [esp + 0x3c], 0x45995c
mov dword [esp + 0x98], 7
lea ecx, [esp + 0x3c]
call fcn.004cdf5b
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret 0xc
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
xor esi, esi
push edx
push esi
push eax
lea eax, [esp + 0x5c]
push eax
call edi
mov ebp, dword [ebp + 0x54]
push ebp
call ebx
push eax
lea ecx, [esp + 0x40]
call fcn.004cdf04
mov ebx, dword [esp + 0x40]
lea eax, [esp + 0x3c]
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x4c]
neg eax
sbb eax, eax
and eax, ebx
push eax
push ecx
push edx
call dword [0x4565d0]
lea ecx, [esp + 0x3c]
call fcn.004cdf5b
mov dword [esp + 0x5c], 0x456a94
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x98], 5
cmp eax, esi
je 0x49398a
mov ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x60]
lea eax, [esp + 0x5c]
sub ecx, esi
sub edx, edi
neg eax
sbb eax, eax
push 0xcc0020
and eax, ebx
push esi
push edi
push eax
mov eax, dword [esp + 0x88]
push ecx
push edx
push esi
mov ecx, dword [eax + 4]
push edi
push ecx
call dword [0x456110]
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x5c]
push edx
call fcn.00493c40
jmp 0x493992
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], esi
lea ecx, [esp + 0x6c]
mov byte [esp + 0x98], 4
call fcn.00493bd0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x98], 0
call fcn.004cd54b
mov dword [esp + 0x3c], 0x45995c
mov dword [esp + 0x98], 6
jmp 0x4938a8