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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x640
mov esi, esp
mov dword [esi + 0x628], ebp
mov edx, dword [ebp + 0x18]
movsd xmm0, qword [ebp + 0x10]
lea eax, [esi + 0x630]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x412de0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
movzx eax, byte [edx + 0xa]
test al, al
mov ecx, 2
cmovne ecx, eax
mov dword [esi + 0x18], ecx
mov byte [esi + 0x1f], cl
mov eax, dword [edx + 4]
movsx ecx, byte [edx + 8]
mov byte [esi + 4], 0x65
mov dword [esi + 0x14], 3
xor ebx, ebx
lea edx, [ecx - 0x41]
cmp edx, 6
jbe switch.0x004112b4
add ecx, 0xffffff9f
cmp ecx, 6
ja case.0x4112b4.66
jmp dword [ecx*4 + 0x4118c0]
jmp dword [edx*4 + 0x4118a4]
mov bl, 1
mov dword [esi], ebx
mov dword [esi + 0x14], 4
mov byte [esi + 4], 0x70
jmp 0x411312
mov bl, 1
mov dword [esi], ebx
cmp eax, 0xffffffff
mov ecx, 6
cmove eax, ecx
xor ecx, ecx
inc ecx
mov dword [esi + 0x14], ecx
jmp 0x411312
mov bl, 1
mov dword [esi], ebx
cmp eax, 0xffffffff
mov ecx, 6
cmove eax, ecx
mov dword [esi + 0x14], 2
jmp 0x411312
mov bl, 1
mov dword [esi], ebx
cmp eax, 0xffffffff
mov ecx, 6
cmove eax, ecx
jmp 0x411312
mov dword [esi], 0
lea ecx, [eax - 0x432]
xor edx, edx
cmp eax, 0x433
cmovge edx, ecx
mov dword [esi + 0xc], edx
mov ebx, 0x432
cmp eax, ebx
cmovl ebx, eax
sub esp, 8
movsd qword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__dsign]
add esp, 8
mov edi, eax
test eax, eax
setne byte [esi + 0x1e]
lea eax, [esi + 0x80]
movsd xmm0, qword [ebp + 0x10]
movsd qword [eax], xmm0
push eax
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__dtest]
add esp, 4
cmp ax, 2
mov dword [esi + 0x74], ebx
jne 0x411384
cmp edi, 1
lea eax, [esi + 0xbf]
sbb eax, 0xffffffff
mov byte [eax + 2], 0x6e
mov word [eax], 0x616e
add eax, 3
jmp 0x4113ee
lea eax, [esi + 0x628]
sub esp, 0x18
cmp ebx, 0xffffffff
je 0x4113bc
mov dword [esp + 0x14], ebx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x10], ecx
movsd xmm0, qword [ebp + 0x10]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], eax
lea eax, [esi + 0xbf]
mov dword [esp], eax
call fcn.00411bfa
jmp 0x4113e8
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x10], ecx
movsd xmm0, qword [ebp + 0x10]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], eax
lea eax, [esi + 0xbf]
mov dword [esp], eax
mov dword [esp + 0x14], 0
call fcn.004118ec
add esp, 0x18
mov dword [esi + 0x4c], edx
mov dword [esi + 0x48], eax
lea ecx, [esi + 0xbf]
mov dword [esi + 0x28], eax
sub eax, ecx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x38], eax
test edi, edi
movsd xmm0, qword [ebp + 0x10]
mov edx, dword [esi]
je 0x411418
lea ecx, [esi + 0xc0]
mov dword [esi + 0x44], ecx
jmp 0x411422
cmp byte [esi + 0x18], 2
je 0x411422
inc eax
mov dword [esi + 0x38], eax
mov edi, dword [esi + 0x28]
mov dword [esi + 0x18], eax
test dl, dl
mov bl, byte [esi + 4]
mov dword [esi + 0x10], ecx
je 0x411452
cmp ecx, edi
je 0x41144f
mov eax, dword [esi + 0x10]
mov cl, byte [eax]
mov edx, ecx
add dl, 0x9f
cmp dl, 0x19
ja 0x41144a
add cl, 0xe0
mov byte [eax], cl
inc eax
cmp eax, edi
jne 0x411439
add bl, 0xe0
movsd qword [esi + 0x80], xmm0
lea eax, [esi + 0x80]
push eax
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__dtest]
add esp, 4
xor ecx, ecx
mov byte [esi + 9], 0
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x60], ecx
xorpd xmm0, xmm0
movapd xmmword [esi + 0x50], xmm0
mov dword [esi + 0x64], 0xf
test ax, ax
jle 0x41149e
xor ecx, ecx
jmp 0x411671
mov ecx, dword [ebp + 0x18]
mov dh, byte [ecx + 0xb]
mov dl, byte [ecx + 0xc]
mov cl, dh
or cl, dl
jne 0x4114bf
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], edi
mov ecx, dword [esi + 0xc]
jmp 0x41164f
mov byte [esi + 0x20], dh
mov byte [esi + 8], dl
mov word [esi + 0xa], ax
mov eax, edi
mov edx, edi
cmp dword [esi + 0x10], edi
mov byte [esi + 4], bl
jae 0x411514
mov eax, edi
mov ecx, dword [esi + 0x10]
sub edi, ecx
mov ebx, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov dword [esi + 0x24], edx
mov dword [esi], eax
mov edx, eax
mov eax, ecx
mov cl, byte [eax]
cmp cl, 0x2e
jne 0x4114f9
mov dword [esi + 0x24], eax
mov dword [esi], eax
jmp 0x411502
cmp cl, byte [esi + 4]
cmove ebx, eax
cmove edx, eax
inc eax
dec edi
jne 0x4114eb
mov dword [esi + 0x30], ebx
mov eax, dword [esi + 0x24]
mov dword [esi + 0x34], eax
mov edi, dword [esi + 0x28]
mov eax, dword [esi]
cmp edx, eax
mov ebx, eax
mov dword [esi + 0x24], edx
cmovb ebx, edx
mov dword [esi + 0x40], ebx
cmp byte [esi + 0x20], 0
mov ecx, dword [esi + 0xc]
je 0x411546
cmp eax, edi
mov dl, byte [esi + 8]
jne 0x411556
mov eax, dword [esi + 0x18]
inc eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x38], eax
mov byte [esi + 9], 1
mov al, 1
mov dword [esi + 0x20], eax
jmp 0x41155d
mov dword [esi + 0x20], 0
movzx eax, word [esi + 0xa]
mov dl, byte [esi + 8]
jmp 0x411561
mov dword [esi + 0x20], 0
movzx eax, word [esi + 0xa]
test dl, dl
je 0x41164c
mov dword [esi], ebx
lea edi, [esi + 0x78]
lea ecx, [ebp + 0x1c]
push edi
call fcn.0040bfd2
mov dword [esi + 0x638], 1
push edi
call fcn.0040beda
add esp, 4
lea edi, [esi + 0x80]
mov edx, dword [eax]
mov ecx, eax
push edi
call dword [edx + 0x14]
lea eax, [esi + 0x80]
lea edi, [esi + 0x50]
mov ecx, edi
push eax
call fcn.0040c056
mov eax, dword [esi + 0x94]
cmp eax, 0x10
jb 0x4115c4
inc eax
push eax
push dword [esi + 0x80]
call fcn.00402956
add esp, 8
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0xf
mov byte [esi + 0x80], 0
mov ecx, dword [esi + 0x7c]
test ecx, ecx
mov ebx, dword [esi]
je 0x4115f9
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x4115f9
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [esi + 0x60]
cmp dword [esi + 0x64], 0x10
jb 0x411605
mov edi, dword [esi + 0x50]
xor ecx, ecx
test eax, eax
je 0x411631
sub ebx, dword [esi + 0x10]
movsx edx, byte [edi]
cmp ebx, edx
mov dword [esi], eax
jbe 0x411631
mov eax, ebx
add dword [esi], edi
xor ecx, ecx
mov ebx, edi
sub eax, edx
inc ebx
inc ecx
cmp ebx, dword [esi]
cmovne edi, ebx
movsx edx, byte [edi]
mov ebx, edi
cmp eax, edx
ja 0x41161f
mov dword [esi + 0x3c], ecx
mov edx, dword [esi + 0x14]
dec edx
mov ecx, dword [esi + 0xc]
mov bl, byte [esi + 4]
mov edi, dword [esi + 0x28]
movzx eax, word [esi + 0xa]
jmp dword [edx*4 + 0x4118dc]
mov bl, byte [esi + 4]
mov edx, dword [esi + 0x14]
dec edx
jmp dword [edx*4 + 0x4118dc]
test ax, ax
setle al
mov edx, dword [esi + 0x18]
add edx, ecx
lea edi, [esi + 0x38]
mov dword [esi + 0x18], edx
mov dword [edi], edx
mov ebx, dword [ebp + 0x18]
cmp byte [ebx + 0xd], 0
setne dl
cmp byte [ebx + 9], 0
sete cl
and cl, dl
lea edx, [esi + 0x1f]
mov dword [esi + 0x80], edx
lea edx, [esi + 0x1e]
mov dword [esi + 0x84], edx
lea edx, [esi + 0x78]
mov dword [esi + 0x88], edx
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], ebx
lea edi, [ebp + 0x1c]
mov dword [esi + 0x94], edi
lea edi, [esi + 0x44]
mov dword [esi + 0x98], edi
lea edi, [esi + 0x40]
mov dword [esi + 0x9c], edi
lea edi, [esi + 0x50]
mov dword [esi + 0xa0], edi
lea edi, [esi + 0x3c]
mov dword [esi + 0xa4], edi
lea edi, [esi + 0x34]
mov dword [esi + 0xa8], edi
lea edi, [esi + 0x48]
mov dword [esi + 0xac], edi
lea edi, [esi + 9]
mov dword [esi + 0xb0], edi
lea edi, [esi + 0x30]
mov dword [esi + 0xb4], edi
lea edi, [esi + 0x2c]
mov dword [esi + 0xb8], edi
mov edi, dword [ebp + 0xc]
mov dword [esi + 0x638], 0
and cl, al
mov byte [edx], cl
je 0x41173c
lea ecx, [esi + 0x80]
push edi
push dword [ebp + 8]
call fcn.0040fab4
jmp 0x411755
lea eax, [esi + 0x80]
push eax
push 2
push ebx
push dword [esi + 0x18]
push edi
push dword [ebp + 8]
call fcn.0040fd50
add esp, 0x18
mov eax, dword [esi + 0x64]
cmp eax, 0x10
jb 0x41176a
inc eax
push eax
push dword [esi + 0x50]
call fcn.00402956
add esp, 8
mov eax, dword [esi + 0x630]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret