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

Disassembly:
push 0xffffffffffffffff
push 0x4a2028
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
mov eax, dword [esp + 0x194]
push ebx
push ebp
push esi
xor ebx, ebx
cmp dl, bl
mov esi, ecx
mov ecx, dword [esp + 0x19c]
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
je 0x40a635
mov edx, ecx
or edx, eax
jne 0x40a635
push 2
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x4b1e34
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00401920
mov eax, esi
jmp 0x40aa5f
mov dword [esp + 0x10], ecx
mov ecx, eax
and eax, 0x7fffffff
mov dword [esp + 0x14], eax
fild qword [esp + 0x10]
and ecx, 0x80000000
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebx
fild qword [esp + 0x10]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
fchs
push 5
faddp st(1)
mov esi, 0xf
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x4b1e2c
fstp qword [esp + 0x60]
mov byte [ecx + 4], bl
call fcn.00401920
lea ecx, [esp + 0x150]
call fcn.0040a4c0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 9
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x4b1e20
mov dword [esp + 0x1bc], 1
mov byte [ecx + 4], bl
call fcn.00401920
lea ecx, [esp + 0x8c]
call fcn.0040a4c0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 9
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x4b1e14
mov byte [esp + 0x1bc], 2
mov byte [ecx + 4], bl
call fcn.00401920
lea ecx, [esp + 0xc4]
call fcn.0040a4c0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 9
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x4b1e08
mov byte [esp + 0x1bc], 3
mov byte [ecx + 4], bl
call fcn.00401920
lea ecx, [esp + 0xa8]
call fcn.0040a4c0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x1a4], 4
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
call fcn.00401840
push 0xffffffffffffffff
mov byte [esp + 0x19c], 5
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
push ebx
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0xec]
call fcn.00401840
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xb0]
push edx
lea ecx, [esp + 0x108]
mov byte [esp + 0x1a4], 6
mov dword [esp + 0x120], esi
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x10c], bl
call fcn.00401840
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x124]
mov byte [esp + 0x1a4], 7
mov dword [esp + 0x13c], esi
mov dword [esp + 0x138], ebx
mov byte [esp + 0x128], bl
call fcn.00401840
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov byte [esp + 0x198], 9
xor edi, edi
lea ebp, [esp + 0xc4]
jmp 0x40a818
fstp st(0)
push 0xffffffffffffffff
push ebx
push ebp
lea ecx, [esp + 0x2c]
call fcn.00401840
fld qword [0x4b1e00]
fld qword [esp + 0x3c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x40a84f
fmul qword [0x4b1df8]
add edi, 1
add ebp, 0x1c
cmp edi, 4
fst qword [esp + 0x3c]
jb 0x40a816
sub esp, 8
fstp qword [esp]
push 0x4b1dec
lea ecx, [esp + 0x6c]
push 0x10
push ecx
call fcn.0044e200
add esp, 0x14
xor ecx, ecx
xor edi, edi
cmp byte [esp + 0x60], bl
lea eax, [esp + 0x60]
je 0x40a88d
cmp byte [eax], 0x2e
jne 0x40aa7a
cmp ecx, 3
mov edi, eax
jl 0x40aa7d
mov byte [eax], bl
sub eax, 1
cmp eax, edi
jb 0x40a8a9
mov cl, byte [eax]
cmp cl, 0x30
je 0x40a8a0
cmp cl, 0x2e
jne 0x40a8a9
mov byte [eax], bl
sub eax, 1
cmp eax, edi
jae 0x40a894
sub esp, 0x1c
mov edi, esp
lea eax, [esp + 0x7c]
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
mov ebp, 0x10
mov dword [esp + 0x2c], esp
mov byte [edi + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40a8c7
sub eax, edx
push eax
lea edx, [esp + 0x80]
push edx
mov ecx, edi
call fcn.00401920
mov edx, ebp
lea ecx, [esp + 0x60]
call fcn.0040a170
mov ecx, dword [esp + 0x48]
mov ebp, 0x10
cmp dword [esp + 0x5c], ebp
mov byte [esp + 0x198], 0xa
jae 0x40a908
lea ecx, [esp + 0x48]
cmp dword [esp + 0x38], ebp
mov eax, dword [esp + 0x24]
jae 0x40a916
lea eax, [esp + 0x24]
push ecx
push eax
lea eax, [esp + 0x158]
push 0x40
push eax
call fcn.0044e200
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x160]
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
add esp, 0x10
mov byte [edi + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40a941
sub eax, edx
push eax
lea ecx, [esp + 0x154]
push ecx
mov ecx, edi
call fcn.00401920
cmp dword [esp + 0x5c], ebp
mov dword [esp + 0x1c], 1
jb 0x40a977
mov edx, dword [esp + 0x48]
push edx
call fcn.00409f10
add esp, 4
cmp dword [esp + 0x38], ebp
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
jb 0x40a996
mov eax, dword [esp + 0x24]
push eax
call fcn.00409f10
add esp, 4
push fcn.00427a00
push 4
push 0x1c
lea ecx, [esp + 0xd0]
push ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov byte [esp + 0x1a8], 4
call fcn.0048ca1e
cmp dword [esp + 0xa4], ebp
jb 0x40a9d9
mov edx, dword [esp + 0x90]
push edx
call fcn.00409f10
add esp, 4
cmp dword [esp + 0xc0], ebp
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
jb 0x40aa07
mov eax, dword [esp + 0xac]
push eax
call fcn.00409f10
add esp, 4
cmp dword [esp + 0x88], ebp
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
jb 0x40aa32
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00409f10
add esp, 4
cmp dword [esp + 0x14c], ebp
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
jb 0x40aa5d
mov edx, dword [esp + 0x138]
push edx
call fcn.00409f10
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x190]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18c
ret 8
add ecx, 1
add eax, 1
cmp edi, ebx
je 0x40aa8b
cmp ecx, 3
jl 0x40aa8b
mov byte [eax], bl
cmp byte [eax], bl
jne 0x40a877
jmp 0x40a88d