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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x412b1a
sub esp, 0x88
fld qword [0x4955a0]
fld qword [esp + 0x8c]
fld st(1)
fucomp st(1)
mov dword [esp + 0x78], eax
fnstsw ax
sahf
mov eax, dword [esp + 0x78]
fstp st(0)
fstp st(0)
jbe 0x412938
fld qword [0x4955a0]
fld st(0)
fstp qword [esp + 0x8c]
fstp st(0)
fld qword [esp + 0x8c]
fld st(0)
fstp qword [0x509340]
mov ecx, dword [0x506a68]
test ecx, ecx
fstp st(0)
jge 0x4127c0
mov eax, 0xffffffff
mov ecx, 0xffffffff
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
mov dword [0x509348], ecx
mov dword [0x50934c], eax
mov edx, dword [0x506a68]
test edx, edx
jge 0x41271b
mov edx, 0xffffffff
mov ebx, 0xffffffff
mov dword [0x507dc8], ebx
mov dword [0x507dcc], edx
movzx edx, byte [0x4fe968]
test dl, dl
jne 0x412709
mov edx, dword [0x506a6c]
test edx, edx
jne 0x4126ee
mov edx, dword [0x4f8574]
test edx, edx
je 0x412596
fld qword [0x4955a0]
fld st(0)
fstp qword [0x4f85d0]
fstp st(0)
add esp, 0x88
ret
lea eax, [0x509350]
mov dword [esp], eax
call fcn.00401e20
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x40]
mov edx, ecx
sub ecx, eax
mov ebx, ecx
add ecx, 0xfff00000
mov ebp, dword [esp + 8]
mov dword [esp + 0x34], ebp
sub edx, eax
mov edx, dword [esp + 0x44]
sbb edx, ebp
add ebx, 0xfff00000
adc edx, 0xffffffff
test edx, edx
sete bl
cmp ecx, 0x2000
xchg esi, ebx
setb bl
xchg esi, ebx
and esi, ebx
test edx, edx
setl bl
or esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
je 0x4125fd
mov ecx, 0x2000
xor edx, edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
lea eax, [0x4f85b8]
mov dword [esp], eax
call fcn.00401e20
mov eax, dword [esp + 4]
mov ecx, dword [0x4f85b0]
sub ecx, eax
mov edx, dword [esp + 8]
mov ebx, dword [0x4f85b4]
sbb ebx, edx
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
test ecx, ecx
xchg esi, ebx
setbe bl
xchg esi, ebx
and esi, ebp
test ebx, ebx
xchg ebp, ebx
setl bl
xchg ebp, ebx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x412665
fld qword [0x4955a0]
fld st(0)
fstp qword [0x4f85d0]
fstp st(0)
jmp 0x41258f
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov dword [esp], ecx
mov dword [esp + 4], ebx
call fcn.00440b40
fld qword [esp + 8]
fld st(0)
fstp qword [esp + 0x80]
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
fstp st(0)
call fcn.00440b40
fld qword [esp + 8]
fld qword [esp + 0x80]
fld st(1)
fdivp st(1)
fld st(0)
fstp qword [0x4f85d0]
mov eax, dword [esp + 0x30]
mov dword [0x4f85c8], eax
mov eax, dword [esp + 0x34]
mov dword [0x4f85cc], eax
lea eax, [0x4f85c0]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
fstp st(0)
fstp st(0)
call fcn.00401e40
jmp 0x41258f
lea eax, [0x506ea0]
mov dword [esp], eax
call fcn.00411880
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
jmp 0x412575
call fcn.0043ae90
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
jmp 0x412567
mov eax, dword [0x509360]
mov dword [esp + 0x6c], eax
mov ecx, edx
mov ebx, eax
mul edx
mov ebp, dword [0x509364]
mov dword [esp + 0x68], ebp
mov dword [esp], eax
mov esi, ecx
sar ecx, 0x1f
imul ecx, ebx
imul esi, ebp
add edx, esi
add ecx, edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x64
mov dword [esp + 0xc], 0
call fcn.00440dc0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x6c]
add ecx, edx
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x68]
adc edx, ebx
mov ebx, dword [esp + 0x44]
cmp edx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0x40]
cmp ecx, esi
xchg edi, ebx
setb bl
xchg edi, ebx
and edi, ebp
cmp edx, ebx
xchg ebp, ebx
setb bl
xchg ebp, ebx
or edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
je 0x4127b4
mov eax, esi
mov ecx, ebx
mov eax, ecx
mov ecx, dword [esp + 0x40]
mov edx, ebx
mov ebx, esi
jmp 0x41254c
mov eax, esi
mov esi, ecx
mov ebx, edx
mov ecx, dword [esp + 0x44]
jmp 0x4127a5
mov eax, dword [0x509364]
mov ecx, dword [0x509360]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00440c30
fld qword [esp + 8]
fld qword [0x4955d8]
fld qword [esp + 0x8c]
fld st(0)
faddp st(2)
fld st(2)
fmulp st(2)
fld st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.00440af0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [0x4e8184]
mov ebx, dword [0x4e8180]
mov ebp, dword [0x4f8574]
test ebp, ebp
je 0x412886
cmp eax, edx
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp ecx, ebx
xchg esi, ebx
setb bl
xchg esi, ebx
and esi, ebp
cmp eax, edx
xchg ebp, ebx
setb bl
xchg ebp, ebx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x41287a
mov eax, ebx
mov ecx, edx
test edx, edx
xchg ebp, ebx
sete bl
xchg ebp, ebx
test ebx, ebx
xchg esi, ebx
setb bl
xchg esi, ebx
and esi, ebp
test edx, edx
xchg ebp, ebx
setl bl
xchg ebp, ebx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4129a0
mov eax, edx
mov ecx, ebx
jmp 0x412520
mov ebp, eax
mov eax, ebx
mov ebx, ecx
mov ecx, edx
mov edx, ebp
jmp 0x412848
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ebx
lea eax, [0x509350]
mov dword [esp], eax
call fcn.00401e20
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x68], ecx
mov edx, dword [0x506a68]
mov ebx, edx
shl edx, 0x14
mov dword [esp], edx
mov edx, ebx
sar ebx, 0x1f
shl ebx, 0x14
shr edx, 0xc
or ebx, edx
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x64
mov dword [esp + 0xc], 0
call fcn.00440dc0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x68]
add eax, ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
adc edx, ecx
mov ecx, dword [esp + 0x2c]
cmp edx, ecx
sete bl
mov ebp, dword [esp + 0x28]
cmp eax, ebp
xchg esi, ebx
seta bl
xchg esi, ebx
and ebx, esi
cmp edx, ecx
xchg esi, ebx
seta bl
xchg esi, ebx
or ebx, esi
test bl, bl
je 0x412932
mov ecx, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [esp + 0x1c]
jmp 0x41281f
mov eax, ebp
mov edx, ecx
jmp 0x412923
mov ecx, dword [0x506a68]
test ecx, ecx
jl 0x4124f7
mov dword [esp + 0x78], ecx
fild dword [esp + 0x78]
fld qword [0x4955d0]
fld st(0)
fmulp st(2)
fld qword [0x495608]
fstp st(1)
fld st(0)
fdivp st(2)
fld st(1)
fstp qword [esp + 0x70]
fld qword [esp + 0x8c]
fstp st(1)
fld st(0)
fucomp st(2)
mov dword [esp + 0x78], eax
fnstsw ax
sahf
mov eax, dword [esp + 0x78]
fstp st(0)
fstp st(0)
jbe 0x4124f7
fld qword [esp + 0x70]
fld st(0)
fstp qword [esp + 0x8c]
fstp st(0)
jmp 0x4124f7
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ecx
mov eax, dword [0x507dcc]
mov dword [esp + 0x64], eax
mov ecx, dword [0x507dc8]
mov dword [esp + 0x60], ecx
mov edx, dword [0x509364]
mov dword [esp + 0x5c], edx
mov ebx, dword [0x509360]
mov dword [esp + 0x58], ebx
mov ebp, dword [0x509354]
mov dword [esp + 0x54], ebp
mov esi, dword [0x509350]
mov dword [esp + 0x50], esi
mov edi, dword [0x4f6b10]
mov dword [esp + 0x4c], edi
mov edi, dword [0x4f6b0c]
mov dword [esp + 0x48], edi
call fcn.004239e0
lea eax, [0x486fb4]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.004243b0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call fcn.004240d0
lea eax, [0x48631a]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.004243b0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.004240d0
lea eax, [0x485dc8]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.004243b0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.004240d0
lea eax, [0x486db6]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.004243b0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.004240d0
lea eax, [0x4864ee]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.004243b0
fld qword [esp + 0x8c]
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.00423c90
lea eax, [0x486082]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.004243b0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
call fcn.004240d0
call fcn.00423bf0
call fcn.00423a50
lea eax, [0x487844]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00423120
ud2
call fcn.00443a30
jmp fcn.004124a0