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

Disassembly:
push 0xffffffffffffffff
push 0x4a40a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
xor ebx, ebx
push 0x12c
push ebx
lea ecx, [esp + 0x4c]
call fcn.00439d40
push 0x12c
push ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x80], ebx
call fcn.00439d40
mov eax, 0x7fff
mov dword [esp + 0x54], ebx
mov word [esp + 0x28], ax
mov word [esp + 0x2a], ax
mov eax, 0xffff8001
mov word [esp + 0x2c], ax
mov word [esp + 0x2e], ax
fild dword [0x4cb9d8]
mov esi, dword [esp + 0x84]
mov byte [esp + 0x78], 2
fld st(0)
fdiv qword [0x4c9f78]
mov eax, dword [esi + 8]
cmp eax, ebx
fsub st(1)
fmul qword [0x4c9f68]
fstp dword [esp + 0x10]
fstp st(0)
jne 0x41a3ea
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov dword [eax], ebx
mov dword [ecx], ebx
jmp 0x41a69a
push ebx
mov ecx, esi
call fcn.00439fc0
fstp dword [esp + 0xc]
push 0x3f7fff58
mov ecx, esi
call fcn.00439fc0
fld st(0)
fsub dword [esp + 0xc]
fcom dword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x41a437
fstp st(0)
fstp st(0)
mov ecx, esi
call fcn.00439ed0
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
fld st(0)
fstp dword [edx]
fstp dword [eax]
jmp 0x41a69a
fmul qword [0x4c9f68]
fld dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x84]
fadd st(1)
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x38]
mov al, byte [edi + 6]
mov edx, dword [ecx]
fstp dword [esp + 0x1c]
fxch st(1)
fsub st(1)
shr al, 6
test al, 1
mov dword [esp + 0x18], edx
fstp dword [esp + 0x20]
fstp st(0)
jne 0x41a484
push ebx
push 2
push 0x4b1624
push 0x4c9f88
call fcn.00441210
add esp, 0x10
lea edx, [edi + 0x10]
mov dword [esp + 0x58], edx
mov ecx, dword [edx]
mov dword [esp + 0x5c], ecx
mov eax, dword [edx]
cmp eax, ebx
je 0x41a49b
mov eax, dword [eax]
jmp 0x41a49d
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x60], eax
je 0x41a4a9
mov ecx, dword [eax]
jmp 0x41a4ab
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x68], 0
mov byte [esp + 0x69], 0
je 0x41a4c7
mov dword [esp + 0x6c], eax
jmp 0x41a4cc
mov byte [esp + 0x69], 1
xor esi, esi
mov byte [esp + 0x70], 0
mov dword [esp + 0x10], esi
cmp dword [edx], 0
je 0x41a656
cmp eax, dword [esp + 0x6c]
jne 0x41a4f2
mov al, byte [esp + 0x70]
test al, al
jne 0x41a656
cmp si, word [ebp + 0x48]
jl 0x41a51b
push 0xf0
push 0x4b1654
push 0x4b1640
push 0
push 0x4b1634
push 0x4c9fc4
call fcn.00441210
add esp, 0x18
mov edx, dword [ebp + 0x44]
movsx ebx, si
lea ecx, [edx + ebx*4]
call fcn.00438a60
test al, al
jne 0x41a634
mov edi, dword [0x4c9ea8]
test edi, edi
je 0x41a578
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00442a90
mov edi, dword [0x4c9ea8]
mov ebp, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
jmp 0x41a58c
push 1
call fcn.00442a90
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x41a58c
mov byte [ebp], 0
mov ecx, dword [esp + 0x18]
test ebp, ebp
mov al, byte [ebx + ecx]
je 0x41a5b1
test al, al
je 0x41a5ad
movsx edx, al
push edx
push ebp
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
je 0x41a5b1
mov bl, 1
jmp 0x41a5b3
xor bl, bl
test ebp, ebp
je 0x41a5c0
push ebp
call fcn.00442aa0
add esp, 4
test bl, bl
je 0x41a634
mov eax, dword [esp + 0x60]
push eax
call fcn.0041a6d0
add esp, 4
test al, al
jne 0x41a634
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x64]
call fcn.00435490
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [0x4cb9c8]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x32]
mov dword [esp + 0x2c], edx
sub eax, ecx
movsx ecx, ax
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fcom dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
je 0x41a61d
push 1
push ecx
fstp st(0)
lea ecx, [esp + 0x50]
jmp 0x41a62f
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 1
jne 0x41a634
push 1
push ecx
lea ecx, [esp + 0x40]
call fcn.00439e30
lea ecx, [esp + 0x58]
call fcn.004403e0
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0x84]
inc esi
mov dword [esp + 0x10], esi
jmp 0x41a4d7
lea ecx, [esp + 0x48]
call fcn.00439ed0
mov edi, dword [esp + 0x8c]
lea ecx, [esp + 0x38]
fstp dword [edi]
call fcn.00439ed0
mov ebx, dword [esp + 0x90]
pop ebp
fld st(0)
fstp dword [ebx]
fsub dword [edi]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
je 0x41a69a
mov ecx, dword [esp + 0x84]
call fcn.00439ed0
fst dword [ebx]
fstp dword [edi]
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 0
call fcn.00439e10
lea ecx, [esp + 0x44]
mov dword [esp + 0x78], 0xffffffff
call fcn.00439e10
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret