Function at 0x409250
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f4d7
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x49a400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x140], 0
mov dword [ebp - 4], 1
cmp byte [0x49b0c8], 0
jne 0x4092ca
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x52
movups xmmword [ecx], xmm0
push str.You_need_to_run_the_KeyAuthApp.init____function_before_any_other_KeyAuth_functions
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00414480
call fcn.0040b0b0
add esp, 0x18
lea ecx, [ebp - 0x74]
call fcn.00420d70
mov byte [ebp - 4], 2
lea eax, [ebp - 0x184]
push eax
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x178], 0x36203973
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x174], 0x3832283c
mov word [ebp - 0x170], 0x60
mov byte [ebp - 0x16e], 1
mov dword [ebp - 0x14c], 0x35363873
mov dword [ebp - 0x148], 0x100673c
mov dword [ebp - 0x194], 0x2b322573
mov dword [ebp - 0x190], 0x3234332a
mov dword [ebp - 0x18c], 0x623a34
mov byte [ebp - 0x188], 1
mov dword [ebp - 0x16c], 0x31203e73
mov dword [ebp - 0x168], 0x100673d
mov dword [ebp - 0x164], 0x2b362673
mov dword [ebp - 0x160], 0x100672a
mov dword [ebp - 0x184], 0x3d242373
mov dword [ebp - 0x180], 0x313a342b
mov dword [ebp - 0x17c], 0x1006338
mov dword [ebp - 0x1c], 0x3d272f21
mov dword [ebp - 0x18], 0x3b343664
mov dword [ebp - 0x14], 0x1003034
call fcn.0040a1b0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 3
lea edx, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
mov ecx, dword [esi + 0x10]
cmova edx, dword [ebp + 8]
mov eax, dword [esi + 0x14]
mov edi, dword [ebp + 0x18]
sub eax, ecx
mov dword [ebp - 0x140], ecx
cmp edi, eax
ja 0x409409
cmp dword [esi + 0x14], 0xf
lea eax, [ecx + edi]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [ebp - 0x158], esi
jbe 0x4093e8
mov eax, dword [esi]
mov dword [ebp - 0x158], eax
push edi
add eax, ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x158]
add esp, 0xc
mov ecx, dword [ebp - 0x140]
add eax, edi
mov byte [eax + ecx], 0
jmp 0x409422
push edi
push edx
mov byte [ebp - 0x140], 0
mov ecx, esi
push dword [ebp - 0x140]
push edi
call fcn.00414320
mov esi, eax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x1b4], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x1a4], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x1b4]
lea ecx, [ebp - 0x22c]
call fcn.00408420
add esp, 4
mov esi, eax
mov byte [ebp - 4], 5
lea edx, [ebp + 0x20]
cmp dword [ebp + 0x34], 0xf
mov ecx, dword [esi + 0x10]
cmova edx, dword [ebp + 0x20]
mov eax, dword [esi + 0x14]
mov edi, dword [ebp + 0x30]
sub eax, ecx
mov dword [ebp - 0x140], ecx
cmp edi, eax
ja 0x4094cc
cmp dword [esi + 0x14], 0xf
lea eax, [edi + ecx]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [ebp - 0x158], esi
jbe 0x4094ab
mov eax, dword [esi]
mov dword [ebp - 0x158], eax
push edi
add eax, ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x158]
add esp, 0xc
mov ecx, dword [ebp - 0x140]
add eax, edi
mov byte [eax + ecx], 0
jmp 0x4094e5
push edi
push edx
mov byte [ebp - 0x140], 0
mov ecx, esi
push dword [ebp - 0x140]
push edi
call fcn.00414320
mov esi, eax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x2a4], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x294], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x2a4]
lea ecx, [ebp - 0x214]
call fcn.00408420
add esp, 4
mov esi, eax
mov byte [ebp - 4], 7
lea edx, [ebp - 0x74]
cmp dword [ebp - 0x60], 0xf
mov ecx, dword [esi + 0x10]
cmova edx, dword [ebp - 0x74]
mov eax, dword [esi + 0x14]
mov edi, dword [ebp - 0x64]
sub eax, ecx
mov dword [ebp - 0x140], ecx
cmp edi, eax
ja 0x40958d
cmp dword [esi + 0x14], 0xf
lea eax, [ecx + edi]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [ebp - 0x158], esi
jbe 0x40956e
mov eax, dword [esi]
mov dword [ebp - 0x158], eax
push edi
add eax, ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x140]
add esp, 0xc
add eax, dword [ebp - 0x158]
mov byte [eax + edi], 0
jmp 0x4095a6
push edi
push edx
mov byte [ebp - 0x140], 0
mov ecx, esi
push dword [ebp - 0x140]
push edi
call fcn.00414320
mov esi, eax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x27c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 8
push eax
lea edx, [ebp - 0x28c]
lea ecx, [ebp - 0x1fc]
call fcn.0040a2d0
add esp, 4
mov esi, dword [ebp - 0x15c]
mov byte [ebp - 4], 9
lea ecx, [esi + 0x1b4]
push ecx
mov ecx, eax
call fcn.00410480
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x274], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x264], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 0xa
push eax
lea edx, [ebp - 0x274]
lea ecx, [ebp - 0x1e4]
call fcn.00408420
add esp, 4
push esi
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00410480
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x25c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x24c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 0xc
push eax
lea edx, [ebp - 0x25c]
lea ecx, [ebp - 0x1cc]
call fcn.004086a0
add esp, 4
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 0xd
push ecx
mov ecx, eax
call fcn.00410480
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x8c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x7c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x1b8]
cmp ecx, 0xf
jbe 0x409711
mov edx, dword [ebp - 0x1cc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409707
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4099f2
push ecx
push edx
call fcn.0047d8e4
add esp, 8
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b8], 0xf
mov byte [ebp - 0x1cc], 0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x248]
cmp ecx, 0xf
jbe 0x40976a
mov edx, dword [ebp - 0x25c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409760
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4099f2
push ecx
push edx
call fcn.0047d8e4
add esp, 8
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x1d0]
cmp ecx, 0xf
jbe 0x4097a8
mov edx, dword [ebp - 0x1e4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40979e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4099f2
push ecx
push edx
call fcn.0047d8e4
add esp, 8
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1d0], 0xf
mov byte [ebp - 0x1e4], 0
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x260]
cmp ecx, 0xf
jbe 0x409801
mov edx, dword [ebp - 0x274]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4097f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4099f2
push ecx
push edx
call fcn.0047d8e4
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x1e8]
cmp ecx, 0xf
jbe 0x40983f
mov edx, dword [ebp - 0x1fc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409835
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4099f2
push ecx
push edx
call fcn.0047d8e4
add esp, 8
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1e8], 0xf
mov byte [ebp - 0x1fc], 0
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x278]
cmp ecx, 0xf
jbe 0x409898
mov edx, dword [ebp - 0x28c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40988e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4099f2
push ecx
push edx
call fcn.0047d8e4
add esp, 8
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x200]
cmp ecx, 0xf
jbe 0x4098d6
mov edx, dword [ebp - 0x214]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4098cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4099f2
push ecx
push edx
call fcn.0047d8e4
add esp, 8
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x200], 0xf
mov byte [ebp - 0x214], 0
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x290]
cmp ecx, 0xf
jbe 0x40992f
mov edx, dword [ebp - 0x2a4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409925
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4099f2
push ecx
push edx
call fcn.0047d8e4
add esp, 8
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x218]
cmp ecx, 0xf
jbe 0x40996d
mov edx, dword [ebp - 0x22c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409963
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4099f2
push ecx
push edx
call fcn.0047d8e4
add esp, 8
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0xf
mov byte [ebp - 0x22c], 0
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x1a0]
cmp ecx, 0xf
jbe 0x4099c2
mov edx, dword [ebp - 0x1b4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4099b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4099f2
push ecx
push edx
call fcn.0047d8e4
add esp, 8
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x230]
cmp ecx, 0xf
jbe 0x409a02
mov edx, dword [ebp - 0x244]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4099f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4099f8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047d8e4
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x234], 0
lea eax, [esi + 0x60]
mov dword [ebp - 0x140], esp
mov ecx, esp
mov dword [ebp - 0x230], 0xf
mov byte [ebp - 0x244], 0
push eax
call fcn.00410640
sub esp, 0x18
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x8c]
mov ecx, esp
push eax
call fcn.00410640
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x19
call fcn.0040aad0
add esp, 0x30
push 0
push 1
sub esp, 0x28
mov byte [ebp - 4], 0x1b
mov eax, esp
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x5c]
mov dword [eax + 0x24], 0
call fcn.00413af0
add esp, 0x30
mov byte [ebp - 4], 0x1c
xor ecx, ecx
mov dword [ebp - 0x14c], 0x2b243338
mov dword [ebp - 0x148], 0x3e3d38
mov byte [ebp - 0x144], 1
nop dword [eax + eax]
lea eax, [ecx + 0x55]
xor byte [ebp + ecx - 0x14c], al
inc ecx
cmp ecx, 7
jb 0x409aa0
push ecx
lea eax, [ebp - 0x145]
mov byte [ebp - 0x144], 0
push eax
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x19c]
call fcn.00413920
lea eax, [ebp - 0x19c]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040f9b0
mov byte [ebp - 4], 0x1e
xorps xmm0, xmm0
cmp byte [eax], 3
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x140], 0x7f60
jne 0x409b1c
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x34]
cmp ecx, eax
je 0x409b33
jmp 0x409b1e
xor eax, eax
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x409b29
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.00412ea0
mov dword [ebp - 4], 0x20
mov ecx, dword [ebp - 0x188]
cmp ecx, 0xf
jbe 0x409b76
mov edx, dword [ebp - 0x19c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409b6c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x409b6c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047d8e4
add esp, 8
push 0xb0
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x18c], 0
push 0
push eax
mov dword [ebp - 0x188], 0xf
mov byte [ebp - 0x19c], 0
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0x13c]
call fcn.0040e8d0
mov byte [ebp - 4], 0x21
xorps xmm0, xmm0
push 0x20
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
call fcn.0047d663
mov edi, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x1c], edi
lea esi, [edi + 0x20]
movups xmmword [edi], xmm0
mov dword [ebp - 0x14], esi
movups xmmword [edi + 0x10], xmm0
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x15c]
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x22
cmp dword [ebp - 0x38], 0xf
cmova eax, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x1dc]
add ecx, 0x1cc
cmp dword [ecx + 0x14], 0xf
jbe 0x409c10
mov ecx, dword [ecx]
push 0x20
push edi
push dword [ebp - 0x3c]
push eax
call fcn.00420360
add esp, 0x10
mov dword [ebp - 0x158], edi
mov eax, edi
cmp edi, esi
je 0x409c9f
mov edi, dword [ebp - 0x14]
nop
mov al, byte [eax]
lea ecx, [ebp - 0x12c]
push 0x4029a0
mov byte [ebp - 0x14d], al
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov esi, eax
lea eax, [ebp - 0x194]
push 0
push 2
push eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov byte [ecx + esi + 0x40], 0x30
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
push dword [eax + 0xc]
mov ecx, dword [eax]
push dword [eax + 8]
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
push eax
call ecx
movzx eax, byte [ebp - 0x14d]
add esp, 0x18
mov ecx, esi
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov eax, dword [ebp - 0x158]
inc eax
mov dword [ebp - 0x158], eax
cmp eax, edi
jne 0x409c30
mov edi, dword [ebp - 0x1c]
cmp dword [0x49a48c], 0xf
lea eax, [ebp - 0x1b4]
mov esi, 0x49a478
lea ecx, [ebp - 0x13c]
cmova esi, dword [0x49a478]
push eax
call fcn.0040e7e0
cmp dword [eax + 0x14], 0xf
jbe 0x409ccc
mov eax, dword [eax]
movd xmm0, dword [esi]
movd xmm1, dword [eax]
mov ecx, dword [ebp - 0x1a0]
punpcklbw xmm0, xmm0
punpcklbw xmm1, xmm1
punpcklwd xmm0, xmm0
punpcklwd xmm1, xmm1
psrad xmm0, 0x18
psrad xmm1, 0x18
xorps xmm1, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
orps xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
orps xmm1, xmm0
movd esi, xmm1
cmp ecx, 0xf
jbe 0x409d47
mov edx, dword [ebp - 0x1b4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409d3d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x409d3d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047d8e4
add esp, 8
test esi, esi
je 0x409d95
sub esp, 0x18
mov eax, bind
mov esi, esp
mov dword [ebp - 0x140], esi
mov edx, dword [ebp - 0x24]
sub eax, edx
cmp eax, 0x6b
jb 0x40a19c
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x34]
cmp ecx, 0xf
push edx
cmova eax, dword [ebp - 0x34]
push eax
push 0x6b
push str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
push ecx
push dword [ebp - 0x140]
mov ecx, esi
call fcn.00415d90
call fcn.0040b0b0
add esp, 0x18
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x194]
call fcn.0040fd10
push str.success
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 0x23
call fcn.004134d0
mov esi, dword [ebp - 0x15c]
xor edx, edx
push str.message
cmp byte [eax], 4
lea ecx, [eax + 8]
cmovne ecx, edx
mov al, byte [ecx]
lea ecx, [ebp - 0x194]
mov byte [esi + 0x198], al
call fcn.004134d0
cmp byte [eax], 3
jne 0x409deb
mov eax, dword [eax + 8]
jmp 0x409ded
xor eax, eax
cmp dword [eax + 0x14], 0xf
mov ecx, eax
jbe 0x409df7
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [esi + 0x19c]
call fcn.00412ea0
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 0x22
call fcn.0040fcf0
mov dword [ebp - 0x14c], 0x3b342326
xor ecx, ecx
mov dword [ebp - 0x148], 0x28293c
mov byte [ebp - 0x144], 1
lea eax, [ecx + 0x55]
xor byte [ebp + ecx - 0x14c], al
inc ecx
cmp ecx, 7
jb 0x409e32
push ecx
lea eax, [ebp - 0x145]
mov byte [ebp - 0x144], 0
push eax
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x1b4]
call fcn.00413920
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 0x24
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040f9b0
xor edx, edx
cmp byte [eax], 4
lea ecx, [eax + 8]
cmovne ecx, edx
mov al, byte [ecx]
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x1a0]
mov byte [ebp - 0x14d], al
cmp ecx, 0xf
jbe 0x409ecf
mov edx, dword [ebp - 0x1b4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409ebf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x409ebf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047d8e4
mov al, byte [ebp - 0x14d]
add esp, 8
test al, al
je 0x409fa1
movaps xmm1, xmmword [0x493290]
lea eax, [ebp - 0x154]
mov dword [ebp - 0x158], 0x3731383c
movd xmm0, dword [ebp - 0x158]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
push ecx
xorps xmm1, xmm0
mov word [ebp - 0x154], 0
andps xmm1, xmmword [0x493320]
lea ecx, [ebp - 0x1b4]
push eax
packuswb xmm1, xmm1
lea eax, [ebp - 0x158]
packuswb xmm1, xmm1
push eax
movd dword [ebp - 0x158], xmm1
call fcn.00413920
sub esp, 0x10
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0x1b4]
mov esi, esp
lea ecx, [ebp - 0x5c]
push eax
call fcn.0040f9b0
push eax
mov ecx, esi
call fcn.0040fd10
mov ecx, dword [ebp - 0x15c]
call fcn.00403cc0
mov ecx, dword [ebp - 0x1a0]
cmp ecx, 0xf
jbe 0x409fa1
mov edx, dword [ebp - 0x1b4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409f97
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x409f97
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047d8e4
add esp, 8
test edi, edi
je 0x409fd2
mov ecx, dword [ebp - 0x14]
sub ecx, edi
cmp ecx, 0x1000
jb 0x409fc8
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x40a16f
mov edi, edx
push ecx
push edi
call fcn.0047d8e4
add esp, 8
mov eax, dword [ebp - 0x13c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x13c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x140], eax
lea ecx, [ebp - 0x124]
call fcn.0040e730
lea ecx, [ebp - 0x11c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x40a050
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a046
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a16f
push ecx
push edx
call fcn.0047d8e4
add esp, 8
lea ecx, [ebp - 0x5c]
call fcn.0040fcf0
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x40a08c
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a082
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a16f
push ecx
push edx
call fcn.0047d8e4
add esp, 8
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp ecx, 0xf
jbe 0x40a0d5
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a0cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a16f
push ecx
push edx
call fcn.0047d8e4
add esp, 8
mov eax, dword [ebp - 0x60]
cmp eax, 0xf
jbe 0x40a107
mov edx, dword [ebp - 0x74]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a0fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a16f
push ecx
push edx
call fcn.0047d8e4
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x40a137
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a12d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a16f
push ecx
push edx
call fcn.0047d8e4
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0xf
jbe 0x40a17f
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a175
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a175
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047d8e4
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047d5a0
mov esp, ebp
pop ebp
ret 0x30
call fcn.004021e0
int3