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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x490
mov dword [esp + 0x40], edx
mov dword [esp + 0x5c], ecx
movsd qword [esp + 0x60], xmm0
mov ebx, 0x100000
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
lea esi, [ebx - 1]
mov edi, ecx
mov edx, ecx
and esi, ecx
mov dword [esp + 4], ecx
shr edi, 0x14
shld edx, eax, 1
lea ecx, [esi + 0x100000]
and edi, 0x7ff
and edx, 0x1fffff
test edi, edi
cmove ecx, edx
lea edx, [eax + eax]
cmovne edx, eax
ucomisd xmm0, xmm0
jp 0x41f917
mov dword [esp + 8], edx
and edx, 1
or esi, eax
je 0x41f570
test dword [esp + 4], 0x7ff00000
jne 0x41f59a
mov esi, dword [esp + 8]
add edi, 0xfffffbcd
xor dl, 1
xor eax, eax
mov ebx, 1
jmp 0x41f5d9
mov dword [esp + 0x3c], ecx
mov ecx, edi
mov edi, dword [esp + 4]
and edi, 0x7fffffff
mov esi, edi
xor esi, 0x7ff00000
or esi, eax
je 0x41f5d7
or eax, edi
mov edi, ecx
mov ecx, dword [esp + 0x3c]
jne 0x41f59a
mov dl, 4
jmp 0x41f5d9
mov esi, dword [esp + 8]
xor ebx, ecx
movzx edi, di
or ebx, esi
jne 0x41f5bf
add edi, 0xfffffbcb
xor esi, esi
mov ebx, 2
mov ecx, 0x400000
mov dl, 1
xor eax, eax
jmp 0x41f5d9
shld ecx, esi, 1
add esi, esi
add edi, 0xfffffbcc
xor dl, 1
xor eax, eax
mov ebx, 1
jmp 0x41f5d9
mov dl, 3
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 1
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], eax
mov word [esp + 0x80], di
mov byte [esp + 0x82], dl
add dl, 0xfe
je 0x41f697
mov dword [esp + 8], esi
movzx esi, dl
cmp dl, 3
mov edx, dword [esp + 4]
mov eax, 3
mov dword [esp + 0x3c], ecx
mov ecx, edi
mov edi, 0x4a49f7
cmovb eax, esi
mov esi, 0x4a49f6
mov ebx, edx
shr ebx, 0x1f
test edx, edx
mov edx, 1
cmovs edx, esi
cmovs edi, esi
cmp byte [esp + 0x40], 0
cmove edi, edx
mov edx, 1
cmovne ebx, edx
cmp al, 1
je 0x41f6bf
mov edx, dword [ebp + 8]
movzx eax, al
cmp eax, 2
jne 0x41f6db
test edx, edx
mov word [esp + 0xc], 2
je 0x41f83c
mov dword [esp + 0x10], 0x4a49f1
mov dword [esp + 0x14], 2
mov word [esp + 0x18], 0
mov dword [esp + 0x1c], edx
jmp 0x41f832
mov word [esp + 0xc], 2
mov dword [esp + 0x10], 0x4a49f8
mov dword [esp + 0x14], 3
mov edi, 1
xor ebx, ebx
mov edx, 1
jmp 0x41f8e5
mov word [esp + 0xc], 2
mov dword [esp + 0x10], 0x4a49fb
mov dword [esp + 0x14], 3
jmp 0x41f8e5
mov esi, ecx
mov eax, 0xfffffff4
mov ecx, 5
mov dword [esp + 4], edi
test si, si
movsx edi, si
mov dword [esp + 0x40], esi
cmovs ecx, eax
imul edi, ecx
cmp edi, 0x3ec0
jae 0x41f91e
shr edi, 4
mov eax, edx
mov dword [esp + 0x44], edx
mov esi, 0x8000
lea ecx, [esp + 0xc]
add edi, 0x15
neg eax
cmp edx, 0x8000
mov edx, dword [esp + 8]
cmovb esi, eax
lea eax, [esp + 0x8c]
push esi
push edi
push eax
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.0041b760
add esp, 0x14
cmp dword [esp + 0xc], 0
je 0x41f762
mov eax, dword [esp + 0x14]
movsd xmm0, qword [esp + 0xc]
mov dword [esp + 0x50], eax
movsd qword [esp + 0x48], xmm0
jmp 0x41f77c
lea ecx, [esp + 0x48]
lea edx, [esp + 0x68]
push esi
push edi
lea eax, [esp + 0x94]
push eax
call fcn.0041a180
add esp, 0xc
movzx eax, word [esp + 0x50]
mov edi, dword [esp + 4]
mov ecx, dword [ebp + 8]
cmp ax, si
jle 0x41f80c
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x41f91e
mov edx, dword [esp + 0x48]
cmp byte [edx], 0x30
jbe 0x41f91e
test ax, ax
mov word [esp + 0xc], 2
jle 0x41f856
mov esi, edi
mov dword [esp + 0x10], edx
sub esi, eax
jbe 0x41f89c
add edx, eax
sub dword [esp + 0x44], esi
mov edi, dword [esp + 4]
mov dword [esp + 0x14], eax
mov word [esp + 0x18], 2
mov dword [esp + 0x1c], str..0.ee__NaNinf00e0_0123456789abcdef_
mov dword [esp + 0x20], 1
mov word [esp + 0x24], 2
mov dword [esp + 0x28], edx
mov edx, 3
mov dword [esp + 0x2c], esi
jbe 0x41f8e5
mov eax, dword [esp + 0x44]
jmp 0x41f8cf
test ecx, ecx
mov word [esp + 0xc], 2
je 0x41f83c
mov dword [esp + 0x10], 0x4a49f1
mov dword [esp + 0x14], 2
mov word [esp + 0x18], 0
mov dword [esp + 0x1c], ecx
mov edx, 2
jmp 0x41f8e5
mov dword [esp + 0x10], 0x4a49fe
mov dword [esp + 0x14], 1
mov edx, 1
jmp 0x41f8e5
cwde
mov dword [esp + 0x10], 0x4a49f1
mov dword [esp + 0x14], 2
mov word [esp + 0x18], 0
mov esi, eax
neg esi
sub ecx, edi
mov dword [esp + 0x1c], esi
mov word [esp + 0x24], 2
mov dword [esp + 0x28], edx
mov edx, 3
mov dword [esp + 0x2c], edi
jbe 0x41f8e1
mov edi, dword [esp + 4]
cmp ecx, esi
jbe 0x41f8e5
add ecx, eax
mov eax, ecx
jmp 0x41f8cf
sub eax, edi
mov dword [esp + 0x14], edi
mov word [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x41f90e
mov edi, dword [esp + 4]
mov word [esp + 0x24], 2
mov dword [esp + 0x28], str..0.ee__NaNinf00e0_0123456789abcdef_
mov dword [esp + 0x2c], 1
mov word [esp + 0x30], 0
mov dword [esp + 0x34], eax
mov edx, 4
jmp 0x41f8e5
mov edi, dword [esp + 4]
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0xc]
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
lea edx, [esp + 0x48]
call fcn.0041f0e0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esp + 4]
jmp 0x41f832
mov dl, 2
jmp 0x41f5d9
ud2