Function at 0x40d3d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d322
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x496400]
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 - 0x16c], ecx
mov dword [ebp - 4], 3
cmp byte [0x506b28], 0
jne 0x40d440
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.00404e20
call fcn.0040edf0
add esp, 0x18
lea ecx, [ebp - 0x8c]
call fcn.00422890
mov byte [ebp - 4], 4
xor ecx, ecx
mov dword [ebp - 0x19c], 0x140e1751
mov dword [ebp - 0x198], 0x1a140e1e
mov word [ebp - 0x194], 0x42
mov byte [ebp - 0x192], 1
mov dword [ebp - 0x154], 0x17181651
mov dword [ebp - 0x150], 0x100411e
mov dword [ebp - 0x1ac], 0x91c0b51
mov dword [ebp - 0x1a8], 0x10121508
mov dword [ebp - 0x1a4], 0xbce416
mov byte [ebp - 0x1a0], 1
mov dword [ebp - 0x184], 0x130e1051
mov dword [ebp - 0x180], 0x100411f
mov dword [ebp - 0x190], 0x1b141d51
mov dword [ebp - 0x18c], 0x401012
mov byte [ebp - 0x188], 1
mov dword [ebp - 0x174], 0x31c1351
mov word [ebp - 0x170], 0x46
mov byte [ebp - 0x16e], 1
mov dword [ebp - 0x17c], 0x9180851
mov dword [ebp - 0x178], 0x1004108
mov dword [ebp - 0x1c], 0x1f0a0d51
mov dword [ebp - 0x18], 0x131c1209
mov dword [ebp - 0x14], 0x100bd1a
mov dword [ebp - 0x168], 0x1f090103
mov dword [ebp - 0x164], 0x19180e46
mov dword [ebp - 0x160], 0xe7f5f316
mov word [ebp - 0x15c], 0xf1
mov byte [ebp - 0x15a], 1
nop
lea eax, [ecx + 0x77]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0xa
jb 0x40d550
push ecx
lea eax, [ebp - 0x12]
mov byte [ebp - 0x11], 0
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x1dc]
call fcn.00416550
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 5
call fcn.00411c80
push ecx
lea eax, [ebp - 0x15b]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x74]
call fcn.00416550
lea eax, [ebp - 0x1dc]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x140]
lea ecx, [ebp - 0x1c4]
call fcn.00418040
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x40d5f3
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d5e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df20
push ecx
push edx
call fcn.0047b1a1
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1c8]
cmp ecx, 0xf
jbe 0x40d631
mov edx, dword [ebp - 0x1dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d627
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df20
push ecx
push edx
call fcn.0047b1a1
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
mov edx, dword [ebp - 0x1b4]
cmova ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x1b0]
mov edi, dword [ebp + 0x18]
sub eax, edx
mov dword [ebp - 0x148], edx
push edi
push ecx
cmp edi, eax
ja 0x40d69b
cmp dword [ebp - 0x1b0], 0xf
lea esi, [ebp - 0x1c4]
lea eax, [edi + edx]
cmova esi, dword [ebp - 0x1c4]
mov dword [ebp - 0x1b4], eax
lea eax, [esi + edx]
push eax
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [ebp - 0x148]
lea eax, [edi + esi]
add esp, 0xc
mov byte [eax + ecx], 0
lea eax, [ebp - 0x1c4]
jmp 0x40d6b4
mov byte [ebp - 0x146], 0
lea ecx, [ebp - 0x1c4]
push dword [ebp - 0x146]
push edi
call fcn.00416d40
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1dc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1cc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x17c]
mov byte [ebp - 4], 8
push eax
lea edx, [ebp - 0x1dc]
lea ecx, [ebp - 0x284]
call fcn.0040b350
add esp, 4
mov esi, eax
mov byte [ebp - 4], 9
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 0x40d75e
cmp dword [esi + 0x14], 0xf
lea eax, [edi + ecx]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [ebp - 0x148], esi
jbe 0x40d73d
mov eax, dword [esi]
mov dword [ebp - 0x148], eax
push edi
add eax, ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x148]
add esp, 0xc
mov ecx, dword [ebp - 0x140]
add eax, edi
mov byte [eax + ecx], 0
jmp 0x40d777
push edi
push edx
mov byte [ebp - 0x140], 0
mov ecx, esi
push dword [ebp - 0x140]
push edi
call fcn.00416d40
mov esi, eax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x314], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x304], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 0xa
push eax
lea edx, [ebp - 0x314]
lea ecx, [ebp - 0x26c]
call fcn.0040e730
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xb
lea edx, [ebp + 0x38]
cmp dword [ebp + 0x4c], 0xf
mov ecx, dword [esi + 0x10]
cmova edx, dword [ebp + 0x38]
mov eax, dword [esi + 0x14]
mov edi, dword [ebp + 0x48]
sub eax, ecx
mov dword [ebp - 0x140], ecx
cmp edi, eax
ja 0x40d821
cmp dword [esi + 0x14], 0xf
lea eax, [edi + ecx]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [ebp - 0x148], esi
jbe 0x40d800
mov eax, dword [esi]
mov dword [ebp - 0x148], eax
push edi
add eax, ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x148]
add esp, 0xc
mov ecx, dword [ebp - 0x140]
add eax, edi
mov byte [eax + ecx], 0
jmp 0x40d83a
push edi
push edx
mov byte [ebp - 0x140], 0
mov ecx, esi
push dword [ebp - 0x140]
push edi
call fcn.00416d40
mov esi, eax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x2fc], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x2ec], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0xc
push eax
lea edx, [ebp - 0x2fc]
lea ecx, [ebp - 0x254]
call fcn.0040d2d0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xd
lea edx, [ebp + 0x50]
cmp dword [ebp + 0x64], 0xf
mov ecx, dword [esi + 0x10]
cmova edx, dword [ebp + 0x50]
mov eax, dword [esi + 0x14]
mov edi, dword [ebp + 0x60]
sub eax, ecx
mov dword [ebp - 0x140], ecx
cmp edi, eax
ja 0x40d8e4
cmp dword [esi + 0x14], 0xf
lea eax, [edi + ecx]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [ebp - 0x148], esi
jbe 0x40d8c3
mov eax, dword [esi]
mov dword [ebp - 0x148], eax
push edi
add eax, ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x148]
add esp, 0xc
mov ecx, dword [ebp - 0x140]
add eax, edi
mov byte [eax + ecx], 0
jmp 0x40d8fd
push edi
push edx
mov byte [ebp - 0x140], 0
mov ecx, esi
push dword [ebp - 0x140]
push edi
call fcn.00416d40
mov esi, eax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x2e4], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x2d4], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 0xe
push eax
lea edx, [ebp - 0x2e4]
lea ecx, [ebp - 0x23c]
call fcn.0040b350
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x8c]
cmp dword [ebp - 0x78], 0xf
mov eax, dword [edi + 0x14]
cmova edx, dword [ebp - 0x8c]
mov esi, dword [edi + 0x10]
sub eax, esi
mov ecx, dword [ebp - 0x7c]
cmp ecx, eax
ja 0x40d990
cmp dword [edi + 0x14], 0xf
lea eax, [ecx + esi]
mov dword [edi + 0x10], eax
mov eax, edi
jbe 0x40d97a
mov eax, dword [edi]
push ecx
add esi, eax
push edx
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x7c]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x40d9a9
push ecx
push edx
mov byte [ebp - 0x140], 0
push dword [ebp - 0x140]
push ecx
mov ecx, edi
call fcn.00416d40
mov edi, eax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x2cc], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x2bc], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 0x10
push eax
lea edx, [ebp - 0x2cc]
lea ecx, [ebp - 0x224]
call fcn.0040d1d0
add esp, 4
mov esi, dword [ebp - 0x16c]
mov byte [ebp - 4], 0x11
lea ecx, [esi + 0x1b4]
push ecx
mov ecx, eax
call fcn.00413fb0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2b4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2a4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 0x12
push eax
lea edx, [ebp - 0x2b4]
lea ecx, [ebp - 0x20c]
call fcn.0040b350
add esp, 4
push esi
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.00413fb0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x29c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x28c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x19c]
mov byte [ebp - 4], 0x14
push eax
lea edx, [ebp - 0x29c]
lea ecx, [ebp - 0x1f4]
call fcn.0040b5d0
add esp, 4
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 0x15
push ecx
mov ecx, eax
call fcn.00413fb0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x64], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x1e0]
cmp ecx, 0xf
jbe 0x40db11
mov edx, dword [ebp - 0x1f4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40db07
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df20
push ecx
push edx
call fcn.0047b1a1
add esp, 8
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1e0], 0xf
mov byte [ebp - 0x1f4], 0
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x288]
cmp ecx, 0xf
jbe 0x40db6a
mov edx, dword [ebp - 0x29c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40db60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df20
push ecx
push edx
call fcn.0047b1a1
add esp, 8
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x1f8]
cmp ecx, 0xf
jbe 0x40dba8
mov edx, dword [ebp - 0x20c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40db9e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df20
push ecx
push edx
call fcn.0047b1a1
add esp, 8
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x1f8], 0xf
mov byte [ebp - 0x20c], 0
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x2a0]
cmp ecx, 0xf
jbe 0x40dc01
mov edx, dword [ebp - 0x2b4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40dbf7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df20
push ecx
push edx
call fcn.0047b1a1
add esp, 8
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x210]
cmp ecx, 0xf
jbe 0x40dc3f
mov edx, dword [ebp - 0x224]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40dc35
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df20
push ecx
push edx
call fcn.0047b1a1
add esp, 8
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x2b8]
cmp ecx, 0xf
jbe 0x40dc98
mov edx, dword [ebp - 0x2cc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40dc8e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df20
push ecx
push edx
call fcn.0047b1a1
add esp, 8
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x228]
cmp ecx, 0xf
jbe 0x40dcd6
mov edx, dword [ebp - 0x23c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40dccc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df20
push ecx
push edx
call fcn.0047b1a1
add esp, 8
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x2d0]
cmp ecx, 0xf
jbe 0x40dd2f
mov edx, dword [ebp - 0x2e4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40dd25
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df20
push ecx
push edx
call fcn.0047b1a1
add esp, 8
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x240]
cmp ecx, 0xf
jbe 0x40dd6d
mov edx, dword [ebp - 0x254]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40dd63
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df20
push ecx
push edx
call fcn.0047b1a1
add esp, 8
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0xf
mov byte [ebp - 0x254], 0
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x2e8]
cmp ecx, 0xf
jbe 0x40ddc6
mov edx, dword [ebp - 0x2fc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ddbc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df20
push ecx
push edx
call fcn.0047b1a1
add esp, 8
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x258]
cmp ecx, 0xf
jbe 0x40de04
mov edx, dword [ebp - 0x26c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ddfa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df20
push ecx
push edx
call fcn.0047b1a1
add esp, 8
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0xf
mov byte [ebp - 0x26c], 0
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x300]
cmp ecx, 0xf
jbe 0x40de5d
mov edx, dword [ebp - 0x314]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40de53
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df20
push ecx
push edx
call fcn.0047b1a1
add esp, 8
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x270]
cmp ecx, 0xf
jbe 0x40de9b
mov edx, dword [ebp - 0x284]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40de91
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df20
push ecx
push edx
call fcn.0047b1a1
add esp, 8
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 0xf
mov byte [ebp - 0x284], 0
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x1c8]
cmp ecx, 0xf
jbe 0x40def0
mov edx, dword [ebp - 0x1dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40dee6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df20
push ecx
push edx
call fcn.0047b1a1
add esp, 8
mov byte [ebp - 4], 0x25
mov ecx, dword [ebp - 0x1b0]
cmp ecx, 0xf
jbe 0x40df30
mov edx, dword [ebp - 0x1c4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40df26
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40df26
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047b1a1
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x1b4], 0
lea eax, [esi + 0x60]
mov dword [ebp - 0x140], esp
mov ecx, esp
mov dword [ebp - 0x1b0], 0xf
mov byte [ebp - 0x1c4], 0
push eax
call fcn.00403f40
sub esp, 0x18
mov byte [ebp - 4], 0x26
lea eax, [ebp - 0x74]
mov ecx, esp
push eax
call fcn.00403f40
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x25
call fcn.0040e830
add esp, 0x30
push 0
push 1
sub esp, 0x28
mov byte [ebp - 4], 0x27
mov eax, esp
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x5c]
mov dword [eax + 0x24], 0
call fcn.004166a0
add esp, 0x30
mov byte [ebp - 4], 0x28
xor ecx, ecx
mov dword [ebp - 0x154], 0x90a1d1a
mov dword [ebp - 0x150], 0x181b1a
mov byte [ebp - 0x14c], 1
lea eax, [ecx + 0x77]
xor byte [ebp + ecx - 0x154], al
inc ecx
cmp ecx, 7
jb 0x40dfc3
push ecx
lea eax, [ebp - 0x14d]
mov byte [ebp - 0x14c], 0
push eax
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x1c4]
call fcn.00416550
lea eax, [ebp - 0x1c4]
mov byte [ebp - 4], 0x29
push eax
lea ecx, [ebp - 0x5c]
call fcn.004135c0
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.004161f0
mov byte [ebp - 4], 0x2b
mov ecx, dword [ebp - 0x1b0]
cmp ecx, 0xf
jbe 0x40e052
mov edx, dword [ebp - 0x1c4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e048
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40e048
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047b1a1
add esp, 8
push 0xb0
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x1b4], 0
push 0
push eax
mov dword [ebp - 0x1b0], 0xf
mov byte [ebp - 0x1c4], 0
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0x13c]
call fcn.00412470
mov byte [ebp - 4], 0x2c
xorps xmm0, xmm0
push 0x20
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
call fcn.0047af20
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 edx, dword [ebp - 0x16c]
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x2d
lea ecx, [edx + 0x1cc]
cmp dword [ebp - 0x20], 0xf
cmova eax, dword [ebp - 0x34]
cmp dword [ecx + 0x14], 0xf
jbe 0x40e0e6
mov ecx, dword [ecx]
mov edx, dword [edx + 0x1dc]
push 0x20
push edi
push dword [ebp - 0x24]
push eax
call fcn.00421e80
add esp, 0x10
mov dword [ebp - 0x148], edi
mov eax, edi
cmp edi, esi
je 0x40e17f
mov edi, dword [ebp - 0x14]
nop
mov al, byte [eax]
lea ecx, [ebp - 0x12c]
push 0x4065f0
mov byte [ebp - 0x155], 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 - 0x168]
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 - 0x155]
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 - 0x148]
inc eax
mov dword [ebp - 0x148], eax
cmp eax, edi
jne 0x40e110
mov edi, dword [ebp - 0x1c]
cmp dword [0x505edc], 0xf
lea eax, [ebp - 0x1dc]
mov esi, 0x505ec8
lea ecx, [ebp - 0x13c]
cmova esi, dword [0x505ec8]
push eax
call fcn.00412380
cmp dword [eax + 0x14], 0xf
jbe 0x40e1ac
mov eax, dword [eax]
movd xmm1, dword [esi]
movd xmm0, dword [eax]
mov ecx, dword [ebp - 0x1c8]
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 0x40e227
mov edx, dword [ebp - 0x1dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e21d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40e21d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047b1a1
add esp, 8
test esi, esi
je 0x40e271
sub esp, 0x18
mov eax, accept
mov ecx, esp
mov dword [ebp - 0x140], ecx
mov edx, dword [ebp - 0x3c]
sub eax, edx
cmp eax, 0x6b
jb 0x40e71c
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
push edx
cmova eax, dword [ebp - 0x4c]
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]
call fcn.00418220
call fcn.0040edf0
add esp, 0x18
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x168]
call fcn.00413a20
push str.success
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x2e
call fcn.00416100
mov esi, dword [ebp - 0x16c]
xor edx, edx
push str.message
cmp byte [eax], 4
lea ecx, [eax + 8]
cmovne ecx, edx
mov al, byte [ecx]
lea ecx, [ebp - 0x168]
mov byte [esi + 0x198], al
call fcn.00416100
cmp byte [eax], 3
jne 0x40e2c7
mov eax, dword [eax + 8]
jmp 0x40e2c9
xor eax, eax
cmp dword [eax + 0x14], 0xf
mov ecx, eax
jbe 0x40e2d3
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [esi + 0x19c]
call fcn.00415d80
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x2d
call fcn.00403e30
mov dword [ebp - 0x154], 0x191a0d04
xor ecx, ecx
mov dword [ebp - 0x150], 0xe0f1e
mov byte [ebp - 0x14c], 1
nop
lea eax, [ecx + 0x77]
xor byte [ebp + ecx - 0x154], al
inc ecx
cmp ecx, 7
jb 0x40e310
push ecx
lea eax, [ebp - 0x14d]
mov byte [ebp - 0x14c], 0
push eax
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x1dc]
call fcn.00416550
lea eax, [ebp - 0x1dc]
mov byte [ebp - 4], 0x2f
push eax
lea ecx, [ebp - 0x5c]
call fcn.004135c0
xor edx, edx
cmp byte [eax], 4
lea ecx, [eax + 8]
cmovne ecx, edx
mov al, byte [ecx]
mov byte [ebp - 4], 0x2d
mov ecx, dword [ebp - 0x1c8]
mov byte [ebp - 0x155], al
cmp ecx, 0xf
jbe 0x40e3ad
mov edx, dword [ebp - 0x1dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e39d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40e39d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047b1a1
mov al, byte [ebp - 0x155]
add esp, 8
test al, al
je 0x40e47f
movaps xmm1, xmmword [0x48f640]
lea eax, [ebp - 0x144]
mov dword [ebp - 0x148], 0x151f161e
movd xmm0, dword [ebp - 0x148]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
push ecx
xorps xmm1, xmm0
mov word [ebp - 0x144], 0
andps xmm1, xmmword [0x48f6d0]
lea ecx, [ebp - 0x1dc]
push eax
packuswb xmm1, xmm1
lea eax, [ebp - 0x148]
packuswb xmm1, xmm1
push eax
movd dword [ebp - 0x148], xmm1
call fcn.00416550
sub esp, 0x10
mov byte [ebp - 4], 0x30
lea eax, [ebp - 0x1dc]
mov esi, esp
lea ecx, [ebp - 0x5c]
push eax
call fcn.004135c0
push eax
mov ecx, esi
call fcn.00413a20
mov ecx, dword [ebp - 0x16c]
call fcn.00407770
mov ecx, dword [ebp - 0x1c8]
cmp ecx, 0xf
jbe 0x40e47f
mov edx, dword [ebp - 0x1dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e475
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40e475
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047b1a1
add esp, 8
test edi, edi
je 0x40e4b0
mov ecx, dword [ebp - 0x14]
sub ecx, edi
cmp ecx, 0x1000
jb 0x40e4a6
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x40e6ef
mov edi, edx
push ecx
push edi
call fcn.0047b1a1
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.004122d0
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 - 0x38]
cmp ecx, 0xf
jbe 0x40e52e
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e524
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e6ef
push ecx
push edx
call fcn.0047b1a1
add esp, 8
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
call fcn.00403e30
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x40e57c
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e572
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e6ef
push ecx
push edx
call fcn.0047b1a1
add esp, 8
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp ecx, 0xf
jbe 0x40e5c2
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e5b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e6ef
push ecx
push edx
call fcn.0047b1a1
add esp, 8
mov eax, dword [ebp - 0x78]
cmp eax, 0xf
jbe 0x40e5fb
mov edx, dword [ebp - 0x8c]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e5f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e6ef
push ecx
push edx
call fcn.0047b1a1
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x40e62f
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e625
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e6ef
push ecx
push edx
call fcn.0047b1a1
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 0x40e675
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e66b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e6ef
push ecx
push edx
call fcn.0047b1a1
add esp, 8
mov ecx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp ecx, 0xf
jbe 0x40e6b7
mov edx, dword [ebp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e6ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e6ef
push ecx
push edx
call fcn.0047b1a1
add esp, 8
mov ecx, dword [ebp + 0x64]
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 0xf
mov byte [ebp + 0x38], 0
cmp ecx, 0xf
jbe 0x40e6ff
mov edx, dword [ebp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e6f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40e6f5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047b1a1
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.0047af12
mov esp, ebp
pop ebp
ret 0x60
call fcn.00401bc0
int3