Function at 0x40a090
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623d72
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1c0
mov eax, dword [0x717f80]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4c
lea eax, [ebp - 0x170]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x170]
call fcn.004686c0
push 0x44
lea eax, [ebp - 0x120]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x120]
call fcn.00467520
mov ecx, 0x7dd960
mov byte [ebp - 4], 1
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a135
sub ecx, edx
push ecx
push 0x7dd960
lea ecx, [ebp - 0x2c]
call fcn.00401af0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.00404050
mov ecx, eax
mov byte [ebp - 4], 3
cmp dword [ecx + 0x14], 0xf
jbe 0x40a169
mov ecx, dword [ecx]
mov dl, 0x51
mov byte [ebp - 0x172], 0
mov al, 0x24
mov byte [ebp - 0x174], dl
xor al, dl
mov byte [ebp - 0x172], 0
mov byte [ebp - 0x173], al
lea eax, [ebp - 0x173]
push ecx
push eax
lea ecx, [ebp - 0x120]
call fcn.00467790
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x40a1d0
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a1c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a20c
push ecx
push edx
call fcn.00622081
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0xf
jbe 0x40a21c
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a212
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a212
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00622081
add esp, 8
mov ecx, 0x7dd9e8
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a240
sub ecx, edx
push ecx
push 0x7dd9e8
lea ecx, [ebp - 0x2c]
call fcn.00401af0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.00404050
mov ecx, eax
mov byte [ebp - 4], 5
cmp dword [ecx + 0x14], 0xf
jbe 0x40a274
mov ecx, dword [ecx]
mov dl, 0xe
mov byte [ebp - 0x172], 0
mov al, 0x7e
mov byte [ebp - 0x174], dl
xor al, dl
mov byte [ebp - 0x172], 0
mov byte [ebp - 0x173], al
lea eax, [ebp - 0x173]
push ecx
push eax
lea ecx, [ebp - 0x120]
call fcn.00467790
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x40a2db
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a2d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a317
push ecx
push edx
call fcn.00622081
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0xf
jbe 0x40a327
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a31d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a31d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00622081
add esp, 8
sub esp, 0x18
mov ecx, 0x7dd778
mov edx, esp
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a348
sub ecx, esi
push ecx
push 0x7dd778
mov ecx, edx
call fcn.00401af0
lea ecx, [ebp - 0xd4]
call fcn.00402600
add esp, 0x18
mov ecx, eax
mov byte [ebp - 4], 6
cmp dword [ecx + 0x14], 0xf
jbe 0x40a37a
mov ecx, dword [ecx]
mov dl, 0x5a
mov byte [ebp - 0x172], 0
mov al, 0x32
mov byte [ebp - 0x174], dl
xor al, dl
mov byte [ebp - 0x172], 0
mov byte [ebp - 0x173], al
lea eax, [ebp - 0x173]
push ecx
push eax
lea ecx, [ebp - 0x120]
call fcn.00467790
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xc0]
cmp ecx, 0xf
jbe 0x40a3ed
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a3e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a3e3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00622081
add esp, 8
movaps xmm0, xmmword [0x6e67c0]
xor ecx, ecx
movups xmmword [ebp - 0x1b4], xmm0
mov dword [ebp - 0x184], 0x170f1749
movaps xmm0, xmmword [0x6e6870]
movups xmmword [ebp - 0x1a4], xmm0
mov byte [ebp - 0x180], 0
movaps xmm0, xmmword [0x6e6810]
movups xmmword [ebp - 0x194], xmm0
nop word [eax + eax]
mov al, byte [ebp - 0x1b4]
xor byte [ebp + ecx - 0x1b3], al
inc ecx
cmp ecx, 0x33
jb 0x40a430
lea eax, [ebp - 0x120]
mov byte [ebp - 0x180], 0
push eax
lea eax, [ebp - 0x1b3]
push eax
lea ecx, [ebp - 0x170]
call fcn.00468810
mov esi, eax
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x174], esi
call fcn.00468300
cmp al, 1
je 0x40a4a7
mov esi, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea ecx, [ebp - 0x170]
call fcn.00468320
mov edx, eax
mov ecx, esi
call fcn.00418810
mov edx, 0x6dce1c
mov ecx, eax
call fcn.00418810
xor edi, edi
jmp 0x40ab86
mov ecx, esi
call fcn.00467c00
mov edx, eax
mov dword [ebp - 0x94], 0
mov ecx, edx
mov dword [ebp - 0x90], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xa4], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a4d3
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xa4]
call fcn.00401af0
mov byte [ebp - 4], 7
mov dh, 0x74
xor dl, dl
mov byte [ebp - 0x17c], dh
mov cl, 0x15
mov byte [ebp - 0x176], dl
xor cl, dh
mov byte [ebp - 0x176], 0
mov al, 0x30
mov byte [ebp - 0x17a], cl
mov ah, 0x11
mov dword [ebp - 0x1c], 0
mov ch, 0x4e
mov dword [ebp - 0x18], 0
xor al, dh
xor dl, dh
xor ah, dh
mov byte [ebp - 0x179], dl
xor ch, dh
mov byte [ebp - 0x17b], al
mov byte [ebp - 0x177], ch
xorps xmm0, xmm0
lea ecx, [ebp - 0x17b]
mov byte [ebp - 0x178], ah
movups xmmword [ebp - 0x2c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a552
sub ecx, edx
lea eax, [ebp - 0x17b]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401af0
mov byte [ebp - 4], 8
mov ah, 0xb
mov cl, 0x46
mov byte [ebp - 0x178], 0
xor cl, ah
mov byte [ebp - 0x17c], ah
mov al, 0x4c
mov byte [ebp - 0x17a], cl
mov dl, 0x5f
mov byte [ebp - 0x178], 0
xor al, ah
mov dword [ebp - 0x4c], 0
xor dl, ah
mov byte [ebp - 0x17b], al
xorps xmm0, xmm0
mov byte [ebp - 0x179], dl
lea ecx, [ebp - 0x17b]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x5c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a5c1
sub ecx, edx
lea eax, [ebp - 0x17b]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00401af0
mov byte [ebp - 4], 9
lea esi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
cmova esi, dword [ebp - 0x2c]
mov edx, esi
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x40a5f0
mov edi, dword [ebp - 0x90]
sub edx, ecx
push edx
cmp edi, 0xf
lea ecx, [ebp - 0xa4]
push esi
cmova ecx, dword [ebp - 0xa4]
mov esi, dword [ebp - 0x94]
mov edx, esi
push ecx
call fcn.00418e60
add esp, 0xc
mov dword [ebp - 0x7c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x8c], xmm0
lea edx, [eax + 6]
cmp esi, edx
jb 0x40abbc
sub esi, edx
lea eax, [ebp - 0xa4]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp edi, 0xf
push ecx
cmova eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0x8c]
add eax, edx
push eax
call fcn.00401af0
mov byte [ebp - 4], 0xa
lea esi, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0xf
cmova esi, dword [ebp - 0x5c]
mov edx, esi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40a683
sub edx, ecx
cmp dword [ebp - 0x78], 0xf
push edx
lea ecx, [ebp - 0x8c]
cmova ecx, dword [ebp - 0x8c]
push esi
mov esi, dword [ebp - 0x7c]
mov edx, esi
push ecx
call fcn.00418e60
add esp, 0xc
mov dword [ebp - 0xac], 0
xorps xmm0, xmm0
mov dword [ebp - 0xa8], 0
movups xmmword [ebp - 0xbc], xmm0
lea ecx, [eax + 3]
cmp esi, ecx
lea eax, [ebp - 0x8c]
cmovb ecx, esi
cmp dword [ebp - 0x78], 0xf
push ecx
cmova eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0xbc]
push eax
call fcn.00401af0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 0xf
mov eax, dword [ebp - 0xac]
cmova ecx, dword [ebp - 0xbc]
add eax, ecx
cmp dword [ebp - 0xa8], 0xf
lea ecx, [ebp - 0xbc]
cmova ecx, dword [ebp - 0xbc]
push ecx
push eax
push ecx
lea ecx, [ebp - 0xd4]
call fcn.00418a60
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x174]
call fcn.00467ae0
mov edx, eax
mov dword [ebp - 0x64], 0
mov ecx, edx
mov dword [ebp - 0x60], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x74], xmm0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a760
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.00401af0
mov byte [ebp - 4], 0xd
xorps xmm0, xmm0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
cmp eax, 1
jb 0x40abc1
dec eax
mov ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x60], 0xf
lea eax, [ebp - 0x74]
cmova eax, dword [ebp - 0x74]
push ecx
inc eax
lea ecx, [ebp - 0x44]
push eax
call fcn.00401af0
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x44]
mov esi, dword [ebp - 0x30]
cmp esi, 0xf
mov edx, dword [ebp - 0x44]
cmova eax, edx
add eax, dword [ebp - 0x34]
cmp esi, 0xf
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x44]
cmova eax, edx
add eax, dword [ebp - 0x34]
cmp esi, 0xf
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x44]
mov esi, dword [ebp - 0x17c]
cmova eax, edx
push 0xd
push esi
push eax
call fcn.00621f20
mov edi, eax
cmp eax, esi
je 0x40a81f
inc eax
cmp eax, esi
je 0x40a81f
nop dword [eax + eax]
mov cl, byte [eax]
cmp cl, 0xd
je 0x40a81a
mov byte [edi], cl
inc edi
inc eax
cmp eax, esi
jne 0x40a810
cmp dword [ebp - 0x30], 0xf
lea eax, [ebp - 0x44]
mov esi, edi
lea ecx, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
sub dword [ebp - 0x174], edi
sub esi, eax
mov edi, dword [ebp - 0x34]
mov eax, edi
mov edx, dword [ebp - 0x174]
sub eax, esi
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x30], 0xf
mov dword [ebp - 0x174], edx
cmova ecx, dword [ebp - 0x44]
sub edi, edx
add ecx, esi
mov eax, edi
sub eax, esi
inc eax
push eax
lea eax, [ecx + edx]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
cmp dword [ebp - 0xc0], 0xf
lea edx, [ebp - 0xd4]
mov dword [ebp - 0x34], edi
xorps xmm0, xmm0
cmova edx, dword [ebp - 0xd4]
sub esp, 0xc
mov esi, esp
mov ecx, edx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edi, [ecx + 1]
mov dword [esi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a8a0
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.00401af0
lea ecx, [ebp - 0x1cc]
call fcn.00402600
add esp, 0x18
cmp dword [eax + 0x14], 0xf
jbe 0x40a8c8
mov eax, dword [eax]
mov esi, dword [ebp - 0x60]
lea ecx, [ebp - 0x74]
cmp esi, 0xf
cmova ecx, dword [ebp - 0x74]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x40a8f5
test dl, dl
je 0x40a8f1
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x40a8f5
add ecx, 2
add eax, 2
test dl, dl
jne 0x40a8d5
xor edi, edi
jmp 0x40a8fa
sbb edi, edi
or edi, 1
mov ecx, dword [ebp - 0x1b8]
cmp ecx, 0xf
jbe 0x40a939
mov edx, dword [ebp - 0x1cc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a92c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a92c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00622081
mov esi, dword [ebp - 0x60]
add esp, 8
test edi, edi
jne 0x40a94b
mov byte [0x7dd9e0], 1
mov edi, 0xc8
jmp 0x40a964
cmp esi, 0xf
lea eax, [ebp - 0x74]
cmova eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov esi, dword [ebp - 0x60]
add esp, 4
mov edi, eax
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x40a99b
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a98e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ab5b
push ecx
push edx
call fcn.00622081
mov esi, dword [ebp - 0x60]
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp esi, 0xf
jbe 0x40a9de
mov ecx, dword [ebp - 0x74]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x40a9d4
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ab5b
push esi
push ecx
call fcn.00622081
add esp, 8
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp ecx, 0xf
jbe 0x40aa2a
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40aa20
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ab5b
push ecx
push edx
call fcn.00622081
add esp, 8
mov ecx, dword [ebp - 0xa8]
cmp ecx, 0xf
jbe 0x40aa64
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40aa5a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ab5b
push ecx
push edx
call fcn.00622081
add esp, 8
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
cmp ecx, 0xf
jbe 0x40aab6
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40aaac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ab5b
push ecx
push edx
call fcn.00622081
add esp, 8
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp eax, 0xf
jbe 0x40aafd
mov edx, dword [ebp - 0x5c]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x40aaf3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ab5b
push ecx
push edx
call fcn.00622081
add esp, 8
mov eax, dword [ebp - 0x18]
cmp eax, 0xf
jbe 0x40ab2f
mov edx, dword [ebp - 0x2c]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ab25
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ab5b
push ecx
push edx
call fcn.00622081
add esp, 8
mov ecx, dword [ebp - 0x90]
cmp ecx, 0xf
jbe 0x40ab6b
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ab61
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40ab61
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00622081
add esp, 8
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
lea ecx, [ebp - 0x120]
call fcn.00467580
lea ecx, [ebp - 0x170]
call fcn.00468730
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00622073
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00418800
call fcn.00418800
int3