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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
mov esi, esp
mov dword [esi + 0xd8], ebp
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x1c], eax
mov dword [esi + 0xdc], esp
mov dword [esi + 0xe8], 0xffffffff
mov dword [esi + 0xe4], 0x419340
mov eax, dword fs:[0]
mov dword [esi + 0xe0], eax
lea eax, [esi + 0xe0]
mov dword fs:[0], eax
mov eax, edx
mov edx, ecx
mov edi, dword [ebp + 8]
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd0], ecx
lea ecx, [ebp + 0x18]
movsx ebx, byte [ebp + 0x20]
mov dword [esi + 0x10], ebx
cmp ebx, 0x63
mov dword [esi + 0x18], edx
jne 0x412fef
cmp edx, 0x80
sbb eax, 0
jae 0x4136e7
mov byte [ecx + 0xb], 0
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x90], eax
movdqu xmm0, xmmword [ecx]
movdqa xmmword [esi + 0x80], xmm0
mov byte [esi + 0x58], dl
movzx eax, byte [esi + 0x88]
test eax, eax
je 0x412fce
cmp eax, 0x3f
je 0x41303e
cmp eax, 0x63
jne 0x413080
lea eax, [esi + 0x80]
lea ecx, [esi + 0x58]
push dword [esi + 0x1c]
push eax
push 1
push ecx
push dword [ebp + 0xc]
push edi
call fcn.0040f2a0
add esp, 0x18
jmp 0x4136d1
mov dword [esi + 0x30], eax
movzx edx, byte [ecx + 0xa]
test dl, dl
jne 0x413000
mov byte [ecx + 0xa], 2
mov dl, 2
mov eax, 0xa
mov ecx, dword [esi + 0x10]
add ecx, 0xffffffa8
cmp ecx, 0x20
mov dword [esi + 0xc8], ecx
mov byte [esi + 0xc], dl
ja case.default.0x413019
jmp dword [ecx*4 + 0x413770]
mov eax, 0x10
jmp case.0x413019.89
cmp dword [esi + 0x10], 0x42
jne case.0x413019.89
mov eax, 2
jmp case.0x413019.89
sub esp, 0x28
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x20], eax
movdqu xmm0, xmmword [ecx]
movdqu xmmword [esp + 0x10], xmm0
lea eax, [esi + 0x58]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 0x24], 0x27
mov dword [esp + 0xc], 1
call fcn.0040f010
add esp, 0x28
jmp 0x4136d1
sub esp, 0x24
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x1c], eax
movdqu xmm0, xmmword [ecx]
movdqu xmmword [esp + 0xc], xmm0
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
movsx eax, byte [esi + 0x18]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.0040e710
add esp, 0x24
jmp 0x4136d1
mov eax, 8
lea ecx, [esi + 0xc1]
lea ebx, [esi + 0x80]
push eax
push dword [esi + 0x30]
push dword [esi + 0x18]
push ecx
push ebx
call fcn.00408360
add esp, 0x14
mov dword [esi + 0xcc], ebx
xor ecx, ecx
cmp byte [esi + 0xc], 2
setne cl
mov edx, eax
sub edx, ebx
mov dword [esi + 0xc4], edx
lea ecx, [edx + ecx]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x20], ecx
sete cl
cmp byte [esi + 0x10], 0x58
mov dword [esi + 0x14], eax
jne 0x413453
test cl, cl
jne 0x413453
mov ecx, eax
sub ecx, ebx
cmp ecx, 8
jb 0x413495
xor edi, edi
cmp ecx, 0x10
mov dword [esi + 0x2c], ecx
jb 0x4132f5
mov edi, ecx
and edi, 0xfffffff0
xor edx, edx
movdqa xmm0, xmmword [0x41b6f0]
movdqa xmm1, xmmword [0x41b700]
jmp 0x41315b
add edx, 0x10
cmp edi, edx
je 0x4132d4
movdqu xmm2, xmmword [esi + edx + 0x80]
movdqa xmm4, xmm2
paddb xmm4, xmm0
movdqa xmm3, xmm4
pminub xmm3, xmm1
pcmpeqb xmm3, xmm4
movd ebx, xmm3
movd eax, xmm2
test bl, 1
je 0x413191
mov ecx, eax
add cl, 0xe0
mov byte [esi + edx + 0x80], cl
test bh, 1
je 0x4131a2
mov cl, ah
add cl, 0xe0
mov byte [esi + edx + 0x81], cl
mov ecx, ebx
shr ecx, 0x10
test cl, 1
je 0x4131bb
mov ecx, eax
shr ecx, 0x10
add cl, 0xe0
mov byte [esi + edx + 0x82], cl
shr ebx, 0x18
test bl, 1
je 0x4131cf
shr eax, 0x18
add al, 0xe0
mov byte [esi + edx + 0x83], al
pextrw ebx, xmm3, 2
pextrw eax, xmm2, 2
test bl, 1
je 0x4131ea
mov ecx, eax
add cl, 0xe0
mov byte [esi + edx + 0x84], cl
test bh, 1
je 0x4131f9
add ah, 0xe0
mov byte [esi + edx + 0x85], ah
pextrw ebx, xmm3, 3
pextrw eax, xmm2, 3
test bl, 1
je 0x413214
mov ecx, eax
add cl, 0xe0
mov byte [esi + edx + 0x86], cl
test bh, 1
je 0x413223
add ah, 0xe0
mov byte [esi + edx + 0x87], ah
pextrw ebx, xmm3, 4
pextrw eax, xmm2, 4
test bl, 1
je 0x41323e
mov ecx, eax
add cl, 0xe0
mov byte [esi + edx + 0x88], cl
test bh, 1
je 0x41324d
add ah, 0xe0
mov byte [esi + edx + 0x89], ah
pextrw ebx, xmm3, 5
pextrw eax, xmm2, 5
test bl, 1
je 0x413268
mov ecx, eax
add cl, 0xe0
mov byte [esi + edx + 0x8a], cl
test bh, 1
je 0x413277
add ah, 0xe0
mov byte [esi + edx + 0x8b], ah
pextrw ebx, xmm3, 6
pextrw eax, xmm2, 6
test bl, 1
je 0x413292
mov ecx, eax
add cl, 0xe0
mov byte [esi + edx + 0x8c], cl
test bh, 1
je 0x4132a1
add ah, 0xe0
mov byte [esi + edx + 0x8d], ah
pextrw ebx, xmm3, 7
pextrw eax, xmm2, 7
test bl, 1
je 0x4132bc
mov ecx, eax
add cl, 0xe0
mov byte [esi + edx + 0x8e], cl
test bh, 1
je 0x413150
add ah, 0xe0
mov byte [esi + edx + 0x8f], ah
jmp 0x413150
mov ecx, dword [esi + 0x2c]
cmp ecx, edi
mov eax, dword [esi + 0x14]
je 0x413453
test cl, 8
jne 0x4132f5
lea ebx, [esi + edi]
add ebx, 0x80
jmp 0x413495
mov edx, ecx
and edx, 0xfffffff8
lea ebx, [esi + edx]
add ebx, 0x80
movdqa xmm0, xmmword [0x41b710]
movdqa xmm1, xmmword [0x41b720]
pcmpeqd xmm2, xmm2
jmp 0x41332b
add edi, 8
cmp edx, edi
je 0x41344b
movq xmm3, qword [esi + edi + 0x80]
movdqa xmm4, xmm3
paddb xmm4, xmm0
movdqa xmm5, xmm4
pmaxub xmm5, xmm1
pcmpeqb xmm5, xmm4
movd ecx, xmm5
not cl
movd eax, xmm3
test cl, 1
je 0x413363
mov ecx, eax
add cl, 0xe0
mov byte [esi + edi + 0x80], cl
movdqa xmm4, xmm5
pxor xmm4, xmm2
movdqa xmm6, xmm4
pslld xmm6, 8
movd ecx, xmm6
shr ecx, 0x10
test cl, 1
je 0x41338c
mov cl, ah
add cl, 0xe0
mov byte [esi + edi + 0x81], cl
pshuflw xmm6, xmm5, 0x55
pxor xmm6, xmm2
pextrw ecx, xmm6, 2
test cl, 1
je 0x4133ae
mov ecx, eax
shr ecx, 0x10
add cl, 0xe0
mov byte [esi + edi + 0x82], cl
movdqa xmm6, xmm4
psllq xmm6, 0x18
pextrw ecx, xmm6, 3
test cl, 1
je 0x4133cd
shr eax, 0x18
add al, 0xe0
mov byte [esi + edi + 0x83], al
pshufd xmm5, xmm5, 0x55
pxor xmm5, xmm2
pextrw ecx, xmm5, 4
pextrw eax, xmm3, 2
test cl, 1
je 0x4133f1
mov ecx, eax
add cl, 0xe0
mov byte [esi + edi + 0x84], cl
movdqa xmm5, xmm4
pslldq xmm5, 5
pextrw ecx, xmm5, 5
test cl, 1
je 0x41340e
add ah, 0xe0
mov byte [esi + edi + 0x85], ah
pextrw ecx, xmm4, 3
pextrw eax, xmm3, 3
test cl, 1
je 0x413429
mov ecx, eax
add cl, 0xe0
mov byte [esi + edi + 0x86], cl
pslldq xmm4, 7
pextrw ecx, xmm4, 7
test cl, 1
je 0x413320
add ah, 0xe0
mov byte [esi + edi + 0x87], ah
jmp 0x413320
cmp dword [esi + 0x2c], edx
mov eax, dword [esi + 0x14]
jne 0x413495
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
lea edx, [ebp + 0x18]
cmp byte [edx + 0xb], 0
je 0x4134a9
mov eax, 2
mov ecx, dword [esi + 0xc8]
cmp ecx, 0x20
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
ja case.default.0x413480
jmp dword [ecx*4 + 0x4137f4]
mov ecx, 0x43d4e6
jmp 0x4134e7
inc ebx
cmp ebx, eax
je 0x413453
movzx edx, byte [ebx]
mov ecx, edx
add cl, 0x9f
cmp cl, 0x19
ja 0x413490
add dl, 0xe0
mov byte [ebx], dl
jmp 0x413490
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
jmp 0x4134fb
cmp dword [esi + 0x10], 0x42
jne case.0x413480.1
mov ecx, 0x43d4e9
jmp 0x4134e7
xor ecx, ecx
xor eax, eax
jmp 0x4134e7
mov ecx, 0x43d4e3
jmp 0x4134e7
xor edx, edx
xor eax, eax
mov ecx, dword [esi + 0x30]
or dword [esi + 0x18], ecx
setne al
mov ecx, 0x43d4f0
cmove ecx, edx
jmp 0x4134e7
mov ecx, 0x43d28a
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
mov ecx, dword [esi + 0xc]
add ecx, eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x20], ecx
lea edx, [ebp + 0x18]
mov dword [esi + 0x34], 0
pxor xmm0, xmm0
movdqa xmmword [esi + 0x40], xmm0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0xf
cmp byte [edx + 0xc], 0
je 0x41361a
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x413541
mov ecx, dword [eax + 4]
mov dword [esi + 0x28], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 0xe8], 2
jmp 0x413558
mov dword [esi + 0xe8], 0
push 1
call sub.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_bool_
add esp, 4
mov dword [esi + 0x28], eax
mov dword [esi + 0xe8], 2
lea eax, [esi + 0x24]
push eax
call fcn.0040e130
add esp, 4
mov edx, dword [eax]
lea edi, [esi + 0x58]
mov ecx, eax
push edi
call dword [edx + 0x14]
mov ecx, dword [esi + 0x28]
movups xmm0, xmmword [esi + 0x58]
movaps xmmword [esi + 0x40], xmm0
movq xmm0, qword [esi + 0x68]
movq qword [esi + 0x50], xmm0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0xf
mov byte [esi + 0x58], 0
test ecx, ecx
je 0x4135b5
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x4135b5
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov edi, dword [esi + 0x50]
cmp dword [esi + 0x54], 0x10
mov eax, dword [esi + 0xc4]
jb 0x4135c9
mov ecx, dword [esi + 0x40]
jmp 0x4135cc
lea ecx, [esi + 0x40]
xor edx, edx
test edi, edi
je 0x413603
mov dword [esi + 0x10], edi
movsx edi, byte [ecx]
cmp eax, edi
jbe 0x413603
add dword [esi + 0x10], ecx
xor edx, edx
mov ebx, ecx
nop word cs:[eax + eax]
sub eax, edi
inc ebx
inc edx
cmp ebx, dword [esi + 0x10]
cmovne ecx, ebx
movsx edi, byte [ecx]
mov ebx, ecx
cmp eax, edi
ja 0x4135f0
mov dword [esi + 0x34], edx
mov eax, dword [esi + 0xc]
add eax, edx
mov dword [esi + 0xc], eax
mov dword [esi + 0x20], eax
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
lea edx, [ebp + 0x18]
cmp byte [edx + 0xd], 0
setne cl
cmp byte [edx + 9], 0
sete al
and al, cl
mov byte [esi + 0x24], al
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x58], ecx
mov dword [esi + 0x5c], edx
lea ecx, [esi + 0xd0]
mov dword [esi + 0x60], ecx
lea ecx, [esi + 0x38]
mov dword [esi + 0x64], ecx
lea ecx, [esi + 0x24]
mov dword [esi + 0x68], ecx
lea ecx, [esi + 0x20]
mov dword [esi + 0x6c], ecx
lea ecx, [esi + 0x34]
mov dword [esi + 0x70], ecx
lea ecx, [esi + 0xcc]
mov dword [esi + 0x74], ecx
lea ecx, [esi + 0x40]
mov dword [esi + 0x78], ecx
lea ecx, [ebp + 0x2c]
mov dword [esi + 0x7c], ecx
mov dword [esi + 0xe8], 1
cmp al, 1
jne 0x413686
lea ecx, [esi + 0x58]
push ebx
push edi
call fcn.00411c50
jmp 0x41369a
lea eax, [esi + 0x58]
push eax
push 2
push edx
push dword [esi + 0xc]
push ebx
push edi
call fcn.00411f20
add esp, 0x18
mov eax, dword [esi + 0x54]
cmp eax, 0x10
jb 0x4136ce
mov ecx, dword [esi + 0x40]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x4136c4
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4136f1
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.00419457
add esp, 8
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0xe0]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push str.integral_cannot_be_stored_in_char
call fcn.00407040
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop word [eax + eax]
push ebp
sub esp, 0x28
lea esi, [ebp - 0xec]
mov ebp, dword [esi + 0xd8]
call sub.VCRUNTIME140.dll___std_terminate
nop word cs:[eax + eax]
push ebp
sub esp, 0x28
lea esi, [ebp - 0xec]
mov ebp, dword [esi + 0xd8]
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x413748
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x413748
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
add esp, 0x28
pop ebp
ret