Function at 0x10121d00
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 edi, 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], 0x101296f0
mov eax, dword fs:[0]
mov dword [esi + 0xe0], eax
lea eax, [esi + 0xe0]
mov dword fs:[0], eax
mov dword [esi + 0x8c], edi
mov dword [esi + 0x88], ecx
lea ebx, [ebp + 0x18]
movsx edx, byte [ebp + 0x20]
cmp edx, 0x63
jne 0x10121de0
movsx eax, cl
mov edx, ecx
mov ecx, eax
xor ecx, edx
sar eax, 0x1f
xor eax, edi
or eax, ecx
jne 0x10122524
mov byte [ebx + 0xb], 0
mov eax, dword [ebx + 0x10]
mov dword [esi + 0xa0], eax
movdqu xmm0, xmmword [ebx]
movdqa xmmword [esi + 0x90], xmm0
mov byte [esi + 0x58], dl
movzx eax, byte [esi + 0x98]
test eax, eax
je 0x10121dbc
cmp eax, 0x3f
je 0x10121e34
cmp eax, 0x63
jne 0x10121e79
lea eax, [esi + 0x90]
lea ecx, [esi + 0x58]
push dword [esi + 0x1c]
push eax
push 1
push ecx
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push edi
call fcn.1011ee40
add esp, 0x18
jmp 0x1012250e
mov dword [esi + 0x2c], edi
movzx ebx, byte [ebx + 0xa]
test bl, bl
jne 0x10121df4
lea eax, [ebp + 0x18]
mov byte [eax + 0xa], 2
mov bl, 2
mov eax, 0xa
mov dword [esi + 0x14], edx
lea edi, [edx - 0x58]
cmp edi, 0x20
mov dword [esi + 0x84], edi
mov byte [esi + 8], bl
mov edx, ecx
ja case.default.0x10121e0f
jmp dword [edi*4 + 0x101225b0]
mov eax, 0x10
jmp case.0x10121e0f.89
cmp dword [esi + 0x14], 0x42
jne case.0x10121e0f.89
mov eax, 2
jmp case.0x10121e0f.89
sub esp, 0x28
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x20], eax
movdqu xmm0, xmmword [ebx]
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 edi, dword [ebp + 8]
mov dword [esp], edi
mov dword [esp + 0x24], 0x27
mov dword [esp + 0xc], 1
call fcn.1011ebb0
add esp, 0x28
jmp 0x1012250e
sub esp, 0x24
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
movdqu xmm0, xmmword [ebx]
movdqu xmmword [esp + 0xc], xmm0
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
movsx eax, dl
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov edi, dword [ebp + 8]
mov dword [esp], edi
call fcn.1011e2c0
add esp, 0x24
jmp 0x1012250e
mov eax, 8
lea ecx, [esi + 0xd1]
lea edi, [esi + 0x90]
push eax
mov ebx, dword [esi + 0x2c]
push ebx
mov dword [esi + 0x80], edx
push edx
push ecx
push edi
call fcn.10117a00
add esp, 0x14
mov dword [esi + 0x34], edi
mov dword [esi + 0x10], eax
mov dword [esi + 4], edi
sub eax, edi
mov dword [esi + 0x18], eax
test ebx, ebx
js 0x10121efc
cmp byte [esi + 8], 2
mov ecx, dword [esi + 0x14]
jne 0x10121f1b
mov dword [esi + 0xc], eax
jmp 0x10121f22
mov dword [esi + 0xc], eax
lea eax, [esi + 0x91]
mov dword [esi + 4], eax
mov dword [esi + 0x34], eax
lea ebx, [ebp + 0x18]
mov ecx, dword [esi + 0x14]
cmp cl, 0x58
je 0x10121f2e
jmp 0x1012228a
inc eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x18], eax
lea ebx, [ebp + 0x18]
cmp cl, 0x58
jne 0x1012228a
mov eax, dword [esi + 4]
cmp eax, dword [esi + 0x10]
je 0x1012228a
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 4]
sub eax, edx
cmp eax, 8
jb 0x101222d6
xor edi, edi
cmp eax, 0x10
mov dword [esi + 0x28], eax
jb 0x10122125
mov ecx, eax
and ecx, 0xfffffff0
xor edx, edx
movdqa xmm0, xmmword [0x101b2140]
movdqa xmm1, xmmword [0x101b2150]
mov dword [esi + 8], ecx
jmp 0x10121f8e
add edx, 0x10
mov ecx, dword [esi + 8]
cmp ecx, edx
je 0x10122105
mov eax, dword [esi + 4]
movdqu xmm2, xmmword [eax + edx]
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 0x10121fc2
mov ecx, eax
add cl, 0xe0
mov edi, dword [esi + 4]
mov byte [edi + edx], cl
test bh, 1
je 0x10121fd3
mov cl, ah
add cl, 0xe0
mov edi, dword [esi + 4]
mov byte [edi + edx + 1], cl
mov ecx, ebx
shr ecx, 0x10
test cl, 1
je 0x10121fec
mov ecx, eax
shr ecx, 0x10
add cl, 0xe0
mov edi, dword [esi + 4]
mov byte [edi + edx + 2], cl
shr ebx, 0x18
test bl, 1
je 0x10122000
shr eax, 0x18
add al, 0xe0
mov ecx, dword [esi + 4]
mov byte [ecx + edx + 3], al
pextrw ebx, xmm3, 2
pextrw eax, xmm2, 2
test bl, 1
je 0x1012201b
mov ecx, eax
add cl, 0xe0
mov edi, dword [esi + 4]
mov byte [edi + edx + 4], cl
test bh, 1
je 0x1012202a
add ah, 0xe0
mov ecx, dword [esi + 4]
mov byte [ecx + edx + 5], ah
pextrw ebx, xmm3, 3
pextrw eax, xmm2, 3
test bl, 1
je 0x10122045
mov ecx, eax
add cl, 0xe0
mov edi, dword [esi + 4]
mov byte [edi + edx + 6], cl
test bh, 1
je 0x10122054
add ah, 0xe0
mov ecx, dword [esi + 4]
mov byte [ecx + edx + 7], ah
pextrw ebx, xmm3, 4
pextrw eax, xmm2, 4
test bl, 1
je 0x1012206f
mov ecx, eax
add cl, 0xe0
mov edi, dword [esi + 4]
mov byte [edi + edx + 8], cl
test bh, 1
je 0x1012207e
add ah, 0xe0
mov ecx, dword [esi + 4]
mov byte [ecx + edx + 9], ah
pextrw ebx, xmm3, 5
pextrw eax, xmm2, 5
test bl, 1
je 0x10122099
mov ecx, eax
add cl, 0xe0
mov edi, dword [esi + 4]
mov byte [edi + edx + 0xa], cl
test bh, 1
je 0x101220a8
add ah, 0xe0
mov ecx, dword [esi + 4]
mov byte [ecx + edx + 0xb], ah
pextrw ebx, xmm3, 6
pextrw eax, xmm2, 6
test bl, 1
je 0x101220c3
mov ecx, eax
add cl, 0xe0
mov edi, dword [esi + 4]
mov byte [edi + edx + 0xc], cl
test bh, 1
je 0x101220d2
add ah, 0xe0
mov ecx, dword [esi + 4]
mov byte [ecx + edx + 0xd], ah
pextrw ebx, xmm3, 7
pextrw eax, xmm2, 7
test bl, 1
je 0x101220ed
mov ecx, eax
add cl, 0xe0
mov edi, dword [esi + 4]
mov byte [edi + edx + 0xe], cl
test bh, 1
je 0x10121f80
add ah, 0xe0
mov ecx, dword [esi + 4]
mov byte [ecx + edx + 0xf], ah
jmp 0x10121f80
mov eax, dword [esi + 0x28]
cmp eax, ecx
lea ebx, [ebp + 0x18]
je 0x1012228a
test al, 8
jne 0x10122122
mov edx, dword [esi + 8]
add edx, dword [esi + 4]
jmp 0x101222d6
mov edi, dword [esi + 8]
and eax, 0xfffffff8
mov ecx, dword [esi + 4]
mov dword [esi + 8], eax
lea edx, [ecx + eax]
movdqa xmm0, xmmword [0x101b2160]
movdqa xmm1, xmmword [0x101b2170]
pcmpeqd xmm2, xmm2
jmp 0x1012215e
mov edi, eax
add edi, 8
cmp dword [esi + 8], edi
je 0x1012227f
mov ecx, dword [esi + 4]
mov eax, edi
movq xmm3, qword [ecx + edi]
movdqa xmm4, xmm3
paddb xmm4, xmm0
movdqa xmm5, xmm4
pmaxub xmm5, xmm1
pcmpeqb xmm5, xmm4
movd ecx, xmm5
not cl
movd ebx, xmm3
test cl, 1
je 0x10122196
mov ecx, ebx
add cl, 0xe0
mov edi, dword [esi + 4]
mov byte [edi + eax], cl
movdqa xmm4, xmm5
pxor xmm4, xmm2
movdqa xmm6, xmm4
pslld xmm6, 8
movd ecx, xmm6
shr ecx, 0x10
test cl, 1
je 0x101221bf
mov cl, bh
add cl, 0xe0
mov edi, dword [esi + 4]
mov byte [edi + eax + 1], cl
pshuflw xmm6, xmm5, 0x55
pxor xmm6, xmm2
pextrw ecx, xmm6, 2
test cl, 1
je 0x101221e1
mov ecx, ebx
shr ecx, 0x10
add cl, 0xe0
mov edi, dword [esi + 4]
mov byte [edi + eax + 2], cl
movdqa xmm6, xmm4
psllq xmm6, 0x18
pextrw ecx, xmm6, 3
test cl, 1
je 0x10122201
shr ebx, 0x18
add bl, 0xe0
mov ecx, dword [esi + 4]
mov byte [ecx + eax + 3], bl
pshufd xmm5, xmm5, 0x55
pxor xmm5, xmm2
pextrw ecx, xmm5, 4
pextrw ebx, xmm3, 2
test cl, 1
je 0x10122225
mov ecx, ebx
add cl, 0xe0
mov edi, dword [esi + 4]
mov byte [edi + eax + 4], cl
movdqa xmm5, xmm4
pslldq xmm5, 5
pextrw ecx, xmm5, 5
test cl, 1
je 0x10122242
add bh, 0xe0
mov ecx, dword [esi + 4]
mov byte [ecx + eax + 5], bh
pextrw ecx, xmm4, 3
pextrw ebx, xmm3, 3
test cl, 1
je 0x1012225d
mov ecx, ebx
add cl, 0xe0
mov edi, dword [esi + 4]
mov byte [edi + eax + 6], cl
pslldq xmm4, 7
pextrw ecx, xmm4, 7
test cl, 1
je 0x10122150
add bh, 0xe0
mov ecx, dword [esi + 4]
mov byte [ecx + eax + 7], bh
jmp 0x10122150
mov eax, dword [esi + 8]
cmp dword [esi + 0x28], eax
lea ebx, [ebp + 0x18]
jne 0x101222d6
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
cmp byte [ebx + 0xb], 0
je 0x101222e9
mov dword [esi + 8], 2
mov eax, dword [esi + 0x84]
cmp eax, 0x20
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
ja case.default.0x101222bb
mov ecx, 0x101f01b8
jmp dword [eax*4 + 0x10122634]
mov ecx, 0x101f06c4
jmp case.0x101222bb.10
inc edx
cmp edx, dword [esi + 0x10]
je 0x1012228a
movzx eax, byte [edx]
mov ecx, eax
add cl, 0x9f
cmp cl, 0x19
ja 0x101222d0
add al, 0xe0
mov byte [edx], al
jmp 0x101222d0
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
jmp 0x10122342
cmp dword [esi + 0x14], 0x42
jne case.0x101222bb.1
mov ecx, 0x101f0bc0
jmp case.0x101222bb.10
xor ecx, ecx
mov dword [esi + 8], 0
jmp case.0x101222bb.10
xor edx, edx
xor eax, eax
mov ecx, dword [esi + 0x2c]
or dword [esi + 0x80], ecx
setne al
mov dword [esi + 8], eax
mov ecx, 0x101f166c
cmove ecx, edx
mov edx, dword [ebp + 0xc]
jmp case.0x101222bb.10
mov ecx, 0x101ed633
mov dword [esi + 0x38], ecx
mov eax, dword [esi + 8]
mov dword [esi + 0x3c], eax
mov ecx, dword [esi + 0xc]
add ecx, eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x30], 0
pxor xmm0, xmm0
movdqa xmmword [esi + 0x40], xmm0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0xf
cmp byte [ebx + 0xc], 0
je 0x1012245a
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x10122388
mov ecx, dword [eax + 4]
mov dword [esi + 0x24], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 0xe8], 2
jmp 0x1012239f
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 + 0x24], eax
mov dword [esi + 0xe8], 2
lea eax, [esi + 0x20]
push eax
call fcn.1011dcd0
add esp, 4
mov edx, dword [eax]
lea edi, [esi + 0x58]
mov ecx, eax
push edi
call dword [edx + 0x14]
mov ecx, dword [esi + 0x24]
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 0x101223fc
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x101223fc
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [esi + 0x50]
cmp dword [esi + 0x54], 0x10
jb 0x1012240a
mov eax, dword [esi + 0x40]
jmp 0x1012240d
lea eax, [esi + 0x40]
xor edx, edx
test ecx, ecx
je 0x10122443
mov edi, dword [esi + 0x10]
sub edi, dword [esi + 4]
movsx ebx, byte [eax]
cmp edi, ebx
mov dword [esi + 4], ecx
jbe 0x10122443
add dword [esi + 4], eax
xor edx, edx
mov ecx, eax
nop word [eax + eax]
sub edi, ebx
inc ecx
inc edx
cmp ecx, dword [esi + 4]
cmovne eax, ecx
movsx ebx, byte [eax]
mov ecx, eax
cmp edi, ebx
ja 0x10122430
mov dword [esi + 0x30], edx
mov eax, dword [esi + 0xc]
add eax, edx
mov dword [esi + 0xc], eax
mov dword [esi + 0x18], eax
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
lea ebx, [ebp + 0x18]
cmp byte [ebx + 0xd], 0
setne cl
cmp byte [ebx + 9], 0
sete al
and al, cl
mov byte [esi + 0x20], al
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x58], ecx
mov dword [esi + 0x5c], ebx
lea ecx, [esi + 0x88]
mov dword [esi + 0x60], ecx
lea ecx, [esi + 0x38]
mov dword [esi + 0x64], ecx
lea ecx, [esi + 0x20]
mov dword [esi + 0x68], ecx
lea ecx, [esi + 0x18]
mov dword [esi + 0x6c], ecx
lea ecx, [esi + 0x30]
mov dword [esi + 0x70], ecx
lea ecx, [esi + 0x34]
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 0x101224c3
lea ecx, [esi + 0x58]
push edx
push edi
call fcn.101226c0
jmp 0x101224d7
lea eax, [esi + 0x58]
push eax
push 2
push ebx
push dword [esi + 0xc]
push edx
push edi
call fcn.101229b0
add esp, 0x18
mov eax, dword [esi + 0x54]
cmp eax, 0x10
jb 0x1012250b
mov ecx, dword [esi + 0x40]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x10122501
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x1012252e
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.10157950
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.10116c40
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop word cs:[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 + 0x24]
test ecx, ecx
je 0x10122588
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x10122588
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
add esp, 0x28
pop ebp
ret