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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x638
mov al, byte [edx + 0xa]
mov dword [esp + 0x28], edx
mov dword [esp + 0x44], ecx
mov byte [esp + 3], al
push esi
push edi
test al, al
jne 0x10040f56
mov byte [esp + 0xb], 2
movsx eax, byte [edx + 8]
mov esi, 3
mov ecx, dword [edx + 4]
add eax, 0xffffffbf
mov byte [esp + 9], 0
mov dword [esp + 0x18], esi
mov byte [esp + 0xa], 0x65
cmp eax, 0x26
ja case.0x10040f7f.66
movzx eax, byte [eax + 0x1004153c]
jmp dword [eax*4 + 0x10041518]
mov byte [esp + 9], 1
mov esi, 4
mov byte [esp + 0xa], 0x70
jmp 0x10040fbf
mov byte [esp + 9], 1
mov esi, 1
jmp case.0x10040f7f.103
mov byte [esp + 9], 1
mov esi, 2
jmp case.0x10040f7f.103
mov byte [esp + 9], 1
cmp ecx, 0xffffffff
mov eax, 6
cmove ecx, eax
mov dword [esp + 0x18], esi
movsd xmm2, qword [ebp + 0x10]
mov eax, 0x432
cmp ecx, eax
mov edi, ecx
cmovg edi, eax
xor edx, edx
cmp ecx, 0x432
mov dword [esp + 0x70], edi
lea eax, [ecx - 0x432]
cmovle eax, edx
sub esp, 8
mov dword [esp + 0x40], eax
movsd qword [esp], xmm2
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__ldsign]
movsd xmm0, qword [ebp + 0x10]
add esp, 8
test eax, eax
setne byte [esp + 0xd]
ucomisd xmm0, xmm0
setp cl
cmp cl, 1
jne 0x10041052
test eax, eax
lea edx, [esp + 0xd0]
mov ax, word [0x101a72f4]
lea ecx, [esp + 0xd1]
cmove ecx, edx
mov dword [esp + 0x28], ecx
mov word [ecx], ax
mov eax, dword [esp + 0x28]
mov cl, byte [0x101a72f6]
mov byte [eax + 2], cl
mov edi, dword [esp + 0x28]
add edi, 3
mov eax, edi
mov ecx, edi
mov edx, edi
jmp 0x1004109c
lea edx, [esp + 0x639]
lea ecx, [esp + 0xd0]
cmp edi, 0xffffffff
jne 0x10041080
sub esp, 0xc
movsd qword [esp + 4], xmm0
push esi
call fcn.1003bdf0
mov edi, eax
mov dword [esp + 0x3c], edx
mov ecx, edi
mov edx, edi
jmp 0x10041099
sub esp, 8
movsd qword [esp], xmm0
push edi
push esi
call fcn.1003c0b0
mov dword [esp + 0x3c], edx
mov edi, eax
mov ecx, eax
mov edx, eax
add esp, 0x10
lea esi, [esp + 0xd0]
mov dword [esp + 0x28], edi
sub eax, esi
mov dword [esp + 0x40], esi
cmp byte [esp + 0xd], 0
mov dword [esp + 0x34], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
je 0x100410d3
lea esi, [esp + 0xd1]
mov dword [esp + 0x40], esi
mov ecx, esi
mov dword [esp + 0x34], esi
jmp 0x100410ee
cmp byte [esp + 0xb], 2
mov edx, ecx
lea ecx, [esp + 0xd0]
je 0x100410ee
inc eax
mov edx, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
cmp byte [esp + 9], 0
je 0x1004112c
cmp ecx, edx
je 0x10041127
nop dword [eax]
mov al, byte [ecx]
cmp al, 0x61
jl 0x1004110e
cmp al, 0x7a
jg 0x1004110e
sub al, 0x20
mov byte [ecx], al
inc ecx
cmp ecx, edx
jne 0x10041100
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x40], esi
mov dword [esp + 0x10], eax
add byte [esp + 0xa], 0xe0
fld qword [ebp + 0x10]
sub esp, 8
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll__ldclass
add esp, 8
mov byte [esp + 0xc], 0
test ax, ax
mov dword [esp + 0x1c], edi
xorps xmm0, xmm0
mov dword [esp + 0x3c], edi
setle al
movaps xmmword [esp + 0x50], xmm0
xor edx, edx
mov byte [esp + 0xe], al
mov dword [esp + 0x24], edx
mov ecx, edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], 0xf
mov byte [esp + 0x50], dl
test al, al
je 0x100413c6
mov eax, dword [esp + 0x30]
mov cl, byte [eax + 0xb]
mov byte [esp + 9], cl
test cl, cl
mov ecx, edi
jne 0x1004119e
cmp byte [eax + 0xc], dl
je 0x10041310
mov eax, esi
cmp eax, edi
jae 0x100411ca
mov dh, byte [esp + 0xa]
mov dl, byte [eax]
cmp dl, 0x2e
jne 0x100411b5
mov dword [esp + 0x1c], eax
jmp 0x100411bf
cmp dl, dh
jne 0x100411bf
mov ecx, eax
mov dword [esp + 0x20], ecx
inc eax
cmp eax, edi
jb 0x100411a8
mov esi, dword [esp + 0x40]
xor edx, edx
mov eax, dword [esp + 0x1c]
cmp ecx, eax
cmovb eax, ecx
cmp byte [esp + 9], 0
mov dword [esp + 0x3c], eax
je 0x100411f6
cmp dword [esp + 0x1c], edi
jne 0x100411f6
mov eax, dword [esp + 0x10]
inc eax
mov byte [esp + 0xc], 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
cmp byte [eax + 0xc], 0
je 0x10041310
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1004121b
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [esp + 0x44], esi
mov eax, dword [esi]
call dword [eax + 4]
jmp 0x1004122c
push 1
call dword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_bool_]
mov esi, eax
add esp, 4
mov dword [esp + 0x44], esi
lea ecx, [esp + 0x40]
call fcn.1003c400
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
lea ecx, [esp + 0xb0]
push ecx
mov ecx, eax
call edx
mov ecx, dword [esp + 0x64]
cmp ecx, 0xf
jbe 0x1004127e
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10041274
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10041274
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010e562
add esp, 8
movaps xmm0, xmmword [esp + 0xb0]
movaps xmmword [esp + 0x50], xmm0
movq xmm0, qword [esp + 0xc0]
movq qword [esp + 0x60], xmm0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0xf
mov byte [esp + 0xb0], 0
test esi, esi
je 0x100412d3
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100412d3
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp dword [esp + 0x64], 0xf
lea eax, [esp + 0x50]
push dword [esp + 0x60]
cmova eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x38]
sub ecx, esi
push eax
call fcn.1003a350
mov edi, dword [esp + 0x30]
add esp, 8
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
dec eax
jmp dword [eax*4 + 0x10041564]
mov edx, dword [esp + 0x38]
test edx, edx
je 0x1004133e
mov al, byte [esp + 0xa]
dec ecx
mov dword [esp + 0x20], ecx
cmp byte [ecx], al
jne 0x10041328
mov dword [esp + 0x24], edx
jmp 0x100413c6
mov dword [esp + 0x24], edx
jmp 0x100413c6
mov eax, dword [esp + 0x10]
add eax, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], eax
cmp byte [edx + 0xd], 0
je 0x100413eb
cmp byte [edx + 9], 0
jne 0x100413eb
cmp byte [esp + 0xe], 0
je 0x100413eb
mov cl, 1
jmp 0x100413ed
xor cl, cl
lea esi, [esp + 0xb]
mov byte [esp + 0xf], cl
mov dword [esp + 0x74], esi
test cl, cl
lea esi, [esp + 0xd]
mov dword [esp + 0x84], edx
mov dword [esp + 0x78], esi
lea ecx, [esp + 0x74]
lea esi, [esp + 0xf]
mov dword [esp + 0x7c], esi
lea esi, [esp + 0x14]
mov dword [esp + 0x80], esi
lea esi, [ebp + 0xc]
mov dword [esp + 0x88], esi
lea esi, [esp + 0x34]
mov dword [esp + 0x8c], esi
lea esi, [esp + 0x3c]
mov dword [esp + 0x90], esi
lea esi, [esp + 0x50]
mov dword [esp + 0x94], esi
lea esi, [esp + 0x48]
mov dword [esp + 0x98], esi
lea esi, [esp + 0x1c]
mov dword [esp + 0x9c], esi
lea esi, [esp + 0x28]
mov dword [esp + 0xa0], esi
lea esi, [esp + 0xc]
mov dword [esp + 0xa4], esi
lea esi, [esp + 0x20]
mov dword [esp + 0xa8], esi
lea esi, [esp + 0x24]
mov dword [esp + 0xac], esi
mov esi, dword [esp + 0x4c]
je 0x100414d7
push dword [ebp + 8]
push esi
call fcn.10040650
mov ecx, dword [esp + 0x64]
cmp ecx, 0xf
jbe 0x100414cf
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100414c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041511
push ecx
push edx
call fcn.1010e562
add esp, 8
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
push ecx
push edx
push dword [ebp + 8]
mov edx, eax
mov ecx, esi
call fcn.10043cc0
mov ecx, dword [esp + 0x74]
add esp, 0x10
cmp ecx, 0xf
jbe 0x100414cf
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100414c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100414c5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xchg byte [edi], cl
add al, 16
xchg edi, eax
invalid