Function at 0x40a100
Capabilities:
Create directory
Delete file
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 0x4411a2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x180
mov eax, dword [0x4af040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebx + 8]
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
cmova eax, dword [ebx + 8]
movzx esi, byte [eax + 4]
test esi, esi
je 0x40b2e6
sub esp, 0x18
lea eax, [ebx + 8]
mov ecx, esp
push eax
call fcn.0040c640
push esi
mov edx, 5
lea ecx, [ebp - 0x50]
call fcn.00409330
add esp, 0x1c
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.004085d0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x40a1c8
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a1be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a1be
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043ff31
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
xor ecx, ecx
mov byte [ebp - 0x50], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x98], 1
mov dword [ebp - 0x94], 0x82008b
nop
lea eax, [ecx + 0x81]
xor word [ebp + ecx*2 - 0x94], ax
inc ecx
mov eax, dword [ebp - 0x98]
cmp ecx, eax
jb 0x40a200
xor ecx, ecx
xorps xmm0, xmm0
sub esp, 0x18
mov word [ebp + eax*2 - 0x94], cx
mov edx, esp
mov dword [ebp - 0x78], esp
movups xmmword [edx], xmm0
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
lea ecx, [ebp - 0x94]
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a240
sub ecx, esi
lea eax, [ebp - 0x94]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0040d6f0
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x68]
mov ecx, esp
push eax
call fcn.0040c330
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004108c0
add esp, 0x30
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 5
call fcn.00409840
mov esi, eax
cmp esi, 0x4af098
je 0x40a311
mov edx, dword [0x4af0ac]
cmp edx, 0xf
jbe 0x40a2ce
mov ecx, dword [0x4af098]
inc edx
cmp edx, 0x1000
jb 0x40a2c4
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x40a33d
mov ecx, edi
push edx
push ecx
call fcn.0043ff31
add esp, 8
mov dword [0x4af0a8], 0
mov dword [0x4af0ac], 0xf
mov byte [0x4af098], 0
movups xmm0, xmmword [esi]
movups xmmword [0x4af098], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x4af0a8], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x164]
cmp ecx, 0xf
jbe 0x40a34d
mov edx, dword [ebp - 0x178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a343
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a343
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043ff31
add esp, 8
lea ecx, [ebp - 0x178]
call fcn.004089b0
mov esi, eax
mov byte [ebp - 4], 6
xor ecx, ecx
mov dword [ebp - 0xb0], 9
mov dword [ebp - 0xac], 0xed00c5
mov dword [ebp - 0xa8], 0xea00f4
mov dword [ebp - 0xa4], 0xe900e9
mov dword [ebp - 0xa0], 0xec00e6
mov dword [ebp - 0x9c], 0x8a00fa
nop dword [eax]
lea eax, [ecx + 0x81]
xor word [ebp + ecx*2 - 0xac], ax
inc ecx
mov eax, dword [ebp - 0xb0]
cmp ecx, eax
jb 0x40a3a0
xor ecx, ecx
mov word [ebp + eax*2 - 0xac], cx
lea ecx, [ebp - 0xac]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a3d0
sub ecx, edx
lea eax, [ebp - 0xac]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040cb30
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
push ecx
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x28], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 7
cmova eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x24]
cmp ecx, 7
jbe 0x40a470
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a466
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a4ba
push ecx
push edx
call fcn.0043ff31
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
cmp ecx, 7
jbe 0x40a4ca
mov edx, dword [ebp - 0x178]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a4c0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a4c0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043ff31
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x20]
xor edi, edi
sub ecx, esi
mov dword [ebp - 0x120], edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40b181
lea eax, [edi + edi*2]
shl eax, 3
mov dword [ebp - 0x11c], eax
add esi, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [esi + 0x14], 7
mov edi, eax
jbe 0x40a50f
mov esi, dword [esi]
push 0xa
lea eax, [ebp - 0x70]
mov dword [edi], 0
push eax
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
add esp, 0xc
mov dword [ebp - 0x78], eax
cmp esi, dword [ebp - 0x70]
je 0x40b2ce
cmp dword [edi], 0x22
je 0x40b2c3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [0x4af0ac], 0xf
mov edi, eax
push 0xa
lea eax, [ebp - 0x6c]
mov esi, 0x4af098
cmova esi, dword [0x4af098]
push eax
push esi
mov dword [edi], 0
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
cmp esi, dword [ebp - 0x6c]
je 0x40b2ce
cmp dword [edi], 0x22
je 0x40b2c3
cmp dword [ebp - 0x78], eax
jle 0x40b153
lea ecx, [ebp - 0x160]
mov dword [0x4af9c0], 3
call fcn.004089b0
mov esi, eax
mov byte [ebp - 4], 7
mov edx, 0xa
mov dword [ebp - 0xd4], edx
xor ecx, ecx
mov dword [ebp - 0xd0], 0xed00c5
mov dword [ebp - 0xcc], 0xea00f4
mov dword [ebp - 0xc8], 0xe900e9
mov dword [ebp - 0xc4], 0xec00e6
mov dword [ebp - 0xc0], 0xd600fa
mov dword [ebp - 0xbc], 0x8b
nop word [eax + eax]
lea eax, [ecx + 0x81]
xor word [ebp + ecx*2 - 0xd0], ax
inc ecx
mov edx, dword [ebp - 0xd4]
cmp ecx, edx
jb 0x40a5f0
xor eax, eax
lea ecx, [ebp - 0xd0]
mov word [ebp + edx*2 - 0xd0], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a620
sub ecx, edx
lea eax, [ebp - 0xd0]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040cb30
mov dword [ebp - 0xdc], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xec], xmm0
mov dword [ebp - 0xd8], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xec], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xdc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edi, dword [ebp - 0x11c]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x20]
add eax, edi
mov ecx, eax
cmp dword [eax + 0x14], 7
jbe 0x40a69f
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0xec]
call fcn.0040cb30
mov dword [ebp - 0x80], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x7c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x90], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x80], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 9
mov eax, 4
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], 0xe700af
mov dword [ebp - 0x110], 0xe100fb
mov dword [ebp - 0x10c], 0x85
nop word [eax + eax]
lea eax, [ecx + 0x81]
xor word [ebp + ecx*2 - 0x114], ax
inc ecx
mov eax, dword [ebp - 0x118]
cmp ecx, eax
jb 0x40a720
xor ecx, ecx
mov word [ebp + eax*2 - 0x114], cx
lea ecx, [ebp - 0x114]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a750
sub ecx, edx
lea eax, [ebp - 0x114]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.0040cb30
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x28], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x7c]
cmp ecx, 7
jbe 0x40a7ec
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a7e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1b8
push ecx
push edx
call fcn.0043ff31
add esp, 8
xor eax, eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xd8]
cmp ecx, 7
jbe 0x40a847
mov edx, dword [ebp - 0xec]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a83d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1b8
push ecx
push edx
call fcn.0043ff31
add esp, 8
xor eax, eax
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 7
mov word [ebp - 0xec], ax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x14c]
cmp ecx, 7
jbe 0x40a8a8
mov edx, dword [ebp - 0x160]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a89e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1b8
push ecx
push edx
call fcn.0043ff31
add esp, 8
xor eax, eax
mov dword [ebp - 0x150], 0
mov edx, 0x4afa28
mov dword [ebp - 0x14c], 7
lea ecx, [ebp - 0x178]
mov word [ebp - 0x160], ax
call fcn.004085d0
mov esi, eax
mov byte [ebp - 4], 0xe
mov edx, 8
mov dword [ebp - 0x90], edx
xor ecx, ecx
mov dword [ebp - 0x8c], 0xe300f1
mov dword [ebp - 0x88], 0xe700f7
mov dword [ebp - 0x84], 0xe300ed
mov dword [ebp - 0x80], 0xa700f4
mov dword [ebp - 0x7c], 0x89
nop dword [eax]
nop dword [eax + eax]
lea eax, [ecx + 0x81]
xor word [ebp + ecx*2 - 0x8c], ax
inc ecx
mov edx, dword [ebp - 0x90]
cmp ecx, edx
jb 0x40a920
xor eax, eax
lea ecx, [ebp - 0x8c]
mov word [ebp + edx*2 - 0x8c], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a950
sub ecx, edx
lea eax, [ebp - 0x8c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040cb30
mov dword [ebp - 0xf8], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x108], xmm0
mov dword [ebp - 0xf4], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x108], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xf8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x20]
add eax, edi
mov ecx, eax
cmp dword [eax + 0x14], 7
jbe 0x40a9c9
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x108]
call fcn.0040cb30
mov dword [ebp - 0x180], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x190], xmm0
mov dword [ebp - 0x17c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x190], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x180], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x10
mov eax, 4
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 0xe700af
mov dword [ebp - 0xa0], 0xe100fb
mov dword [ebp - 0x9c], 0x85
nop dword [eax]
lea eax, [ecx + 0x81]
xor word [ebp + ecx*2 - 0xa4], ax
inc ecx
mov eax, dword [ebp - 0xa8]
cmp ecx, eax
jb 0x40aa50
xor ecx, ecx
mov word [ebp + eax*2 - 0xa4], cx
lea ecx, [ebp - 0xa4]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40aa80
sub ecx, edx
lea eax, [ebp - 0xa4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x190]
call fcn.0040cb30
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x17c]
cmp ecx, 7
jbe 0x40ab0a
mov edx, dword [ebp - 0x190]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ab00
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1b8
push ecx
push edx
call fcn.0043ff31
add esp, 8
xor eax, eax
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 7
mov word [ebp - 0x190], ax
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0xf4]
cmp ecx, 7
jbe 0x40ab6b
mov edx, dword [ebp - 0x108]
lea ecx, [ecx*2 + 2]
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
ja 0x40a1b8
push ecx
push edx
call fcn.0043ff31
add esp, 8
xor eax, eax
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 7
mov word [ebp - 0x108], ax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x164]
cmp ecx, 7
jbe 0x40abcc
mov edx, dword [ebp - 0x178]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40abc2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1b8
push ecx
push edx
call fcn.0043ff31
add esp, 8
xor eax, eax
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 7
xor ecx, ecx
mov word [ebp - 0x178], ax
mov dword [ebp - 0xb8], 1
mov dword [ebp - 0xb4], 0x8200ae
nop
lea eax, [ecx + 0x81]
xor word [ebp + ecx*2 - 0xb4], ax
inc ecx
mov eax, dword [ebp - 0xb8]
cmp ecx, eax
jb 0x40ac00
xor ecx, ecx
mov word [ebp + eax*2 - 0xb4], cx
lea eax, [ebp - 0xb4]
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0xd0]
push eax
lea edx, [edi + edx]
call fcn.0040ce70
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0x15
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
cmp dword [esi + eax*8 - 4], 7
lea eax, [esi + eax*8]
lea ecx, [eax - 0x18]
jbe 0x40ac70
mov ecx, dword [eax - 0x18]
push dword [eax - 8]
push ecx
mov ecx, edi
call fcn.0040cb30
mov dword [ebp - 0xdc], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xec], xmm0
mov dword [ebp - 0xd8], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xec], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xdc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea edx, [ebp - 0xec]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x160]
call fcn.00408760
mov esi, eax
mov byte [ebp - 4], 0x17
mov edx, 0x15
movaps xmm0, xmmword [0x4aa380]
xor ecx, ecx
mov dword [ebp - 0x13c], edx
movups xmmword [ebp - 0x138], xmm0
mov dword [ebp - 0x128], 0xaefdfdf8
mov dword [ebp - 0x124], 0x96b5
nop dword [eax]
mov al, cl
sub al, 0x7f
xor byte [ebp + ecx - 0x138], al
inc ecx
mov edx, dword [ebp - 0x13c]
cmp ecx, edx
jb 0x40ad10
mov byte [ebp + edx - 0x138], 0
lea ecx, [ebp - 0x90]
push esi
lea edx, [ebp - 0x138]
call fcn.0040cd70
add esp, 4
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x90]
cmp dword [ebp - 0x7c], 0xf
mov ecx, 0x4b2efc
push dword [ebp - 0x80]
cmova eax, dword [ebp - 0x90]
push eax
call fcn.0043aae0
movups xmm0, xmmword [0x4af1e0]
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x7c]
movups xmmword [0x4b2ee8], xmm0
cmp ecx, 0xf
jbe 0x40adaf
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ada5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1b8
push ecx
push edx
call fcn.0043ff31
add esp, 8
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
cmp ecx, 0xf
jbe 0x40ae02
mov edx, dword [ebp - 0x160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40adf8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1b8
push ecx
push edx
call fcn.0043ff31
add esp, 8
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], 0
cmp ecx, 7
jbe 0x40ae61
mov edx, dword [ebp - 0xec]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ae57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1b8
push ecx
push edx
call fcn.0043ff31
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 7
mov word [ebp - 0xec], ax
cmp ecx, 7
jbe 0x40aec2
mov edx, dword [ebp - 0xd0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40aeb8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1b8
push ecx
push edx
call fcn.0043ff31
add esp, 8
cmp dword [ebp - 0x24], 7
lea edx, [ebp - 0x38]
xorps xmm0, xmm0
cmova edx, dword [ebp - 0x38]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x78], esp
mov ecx, edx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edi, [ecx + 2]
mov dword [esi + 0x14], 0
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40aef0
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.0040d6f0
mov byte [ebp - 4], 0x19
lea edx, [ebp - 0x50]
cmp dword [ebp - 0x3c], 7
xorps xmm0, xmm0
cmova edx, dword [ebp - 0x50]
sub esp, 0x18
mov esi, esp
mov ecx, edx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edi, [ecx + 2]
mov dword [esi + 0x14], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40af35
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.0040d6f0
mov ecx, 0x4af208
mov byte [ebp - 4], 0x14
call fcn.004088e0
lea ecx, [ebp - 0xd0]
call fcn.004089b0
add esp, 0x18
mov byte [ebp - 4], 0x1a
mov edx, eax
mov dword [ebp - 0x94], esp
mov ecx, esp
call fcn.00408760
sub esp, 0x18
mov byte [ebp - 4], 0x1b
lea edx, [ebp - 0x38]
mov ecx, esp
call fcn.00408760
mov byte [ebp - 4], 0x1a
call fcn.00409100
mov byte [ebp - 4], 0x14
add esp, 0x30
mov ecx, dword [ebp - 0xbc]
mov byte [ebp - 0x71], al
cmp ecx, 7
jbe 0x40afe3
mov edx, dword [ebp - 0xd0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40afd6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1b8
push ecx
push edx
call fcn.0043ff31
mov al, byte [ebp - 0x71]
add esp, 8
test al, al
je 0x40affc
cmp dword [ebp - 0x24], 7
lea eax, [ebp - 0x38]
cmova eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
add esp, 4
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0xd0]
mov edx, dword [ebp - 0x11c]
lea edx, [edx + eax]
call fcn.00408760
mov esi, eax
cmp esi, 0x4af098
je 0x40b09d
mov ecx, dword [0x4af0ac]
cmp ecx, 0xf
jbe 0x40b05a
mov eax, dword [0x4af098]
inc ecx
cmp ecx, 0x1000
jb 0x40b050
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1b8
mov eax, edx
push ecx
push eax
call fcn.0043ff31
add esp, 8
mov dword [0x4af0a8], 0
mov dword [0x4af0ac], 0xf
mov byte [0x4af098], 0
movups xmm0, xmmword [esi]
movups xmmword [0x4af098], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x4af0a8], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0xf
jbe 0x40b0d7
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b0cd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1b8
push ecx
push edx
call fcn.0043ff31
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x3c]
cmp ecx, 7
jbe 0x40b115
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b10b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1b8
push ecx
push edx
call fcn.0043ff31
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x24]
cmp ecx, 7
jbe 0x40b153
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b149
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1b8
push ecx
push edx
call fcn.0043ff31
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x20]
sub ecx, esi
mov edi, dword [ebp - 0x120]
imul ecx
inc edi
sar edx, 2
mov eax, edx
mov dword [ebp - 0x120], edi
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x40a4f1
movaps xmm0, xmmword [0x4aa3f0]
mov eax, 0x21
movups xmmword [ebp - 0x144], xmm0
xor ecx, ecx
mov dword [ebp - 0x148], eax
movaps xmm0, xmmword [0x4aa330]
movups xmmword [ebp - 0x134], xmm0
mov dword [ebp - 0x124], 0xa28f
mov al, cl
sub al, 0x7f
xor byte [ebp + ecx - 0x144], al
inc ecx
mov eax, dword [ebp - 0x148]
cmp ecx, eax
jb 0x40b1b4
xorps xmm0, xmm0
mov byte [ebp + eax - 0x144], 0
lea ecx, [ebp - 0x144]
mov dword [ebp - 0xf8], 0
movups xmmword [ebp - 0x108], xmm0
mov dword [ebp - 0xf4], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b200
sub ecx, edx
lea eax, [ebp - 0x144]
push ecx
push eax
lea ecx, [ebp - 0x108]
call fcn.0040d7f0
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x108]
cmp dword [ebp - 0xf4], 0xf
mov ecx, 0x4b2efc
push dword [ebp - 0xf8]
cmova eax, dword [ebp - 0x108]
push eax
call fcn.0043aae0
movups xmm0, xmmword [0x4af1e0]
mov ecx, dword [ebp - 0xf4]
movups xmmword [0x4b2ee8], xmm0
cmp ecx, 0xf
jbe 0x40b289
mov edx, dword [ebp - 0x108]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b27f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b2bd
push ecx
push edx
call fcn.0043ff31
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.0040c1c0
mov ecx, dword [ebp - 0x54]
cmp ecx, 7
jbe 0x40b2e3
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b2d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b2d9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push str.stoi_argument_out_of_range
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
push str.invalid_stoi_argument
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__]
push ecx
push edx
call fcn.0043ff31
add esp, 8
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x40b319
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b30f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b30f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043ff31
add esp, 8
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.0043fbc2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret