Function at 0x418f10
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4614d2
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x482024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x2710
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 0xe
mov dword [ebp - 0x38], 0
mov ecx, edi
mov dword [ebp - 0x34], 0xf
cmp dword [0x48329c], ecx
mov eax, 0x48328c
mov byte [ebp - 0x48], 0
cmovb ecx, dword [0x48329c]
cmp dword [0x4832a0], 0x10
push ecx
cmovae eax, dword [0x48328c]
lea ecx, [ebp - 0x48]
push eax
call fcn.00423f60
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.0040a610
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.00424600
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x418fbb
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x418fcd
mov byte [ebp - 0x2c], 1
jmp 0x418fd7
shr al, 4
not al
and al, 1
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x41900b
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419001
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4197a4
push edx
push ecx
call fcn.0042a9bb
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp edx, 0x10
jb 0x419055
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41904b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4197a4
push edx
push ecx
call fcn.0042a9bb
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp edx, 0x10
jb 0x41909f
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419095
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4197a4
push edx
push ecx
call fcn.0042a9bb
add esp, 8
cmp byte [ebp - 0x2c], 0
je 0x4191e1
mov ecx, edi
mov dword [ebp - 0x38], 0
cmp dword [0x48329c], ecx
mov eax, 0x48328c
mov dword [ebp - 0x34], 0xf
cmovb ecx, dword [0x48329c]
cmp dword [0x4832a0], 0x10
push ecx
cmovae eax, dword [0x48328c]
lea ecx, [ebp - 0x48]
push eax
mov byte [ebp - 0x48], 0
call fcn.00423f60
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.0040a610
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.00424600
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x419110
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x41914d
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419143
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4197a9
push edx
push ecx
call fcn.0042a9bb
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp edx, 0x10
jb 0x419197
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41918d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4197a9
push edx
push ecx
call fcn.0042a9bb
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp edx, 0x10
jb 0x4191e1
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4191d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4197a9
push edx
push ecx
call fcn.0042a9bb
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x482c14
call fcn.00423030
lea ecx, [ebp - 0x108]
call fcn.004064c0
add esp, 0x18
push eax
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00423030
lea ecx, [ebp - 0xf0]
call fcn.0040a0b0
add esp, 0x18
push eax
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
push 0x4833c4
call fcn.00423030
lea ecx, [ebp - 0xd8]
call fcn.004064c0
add esp, 0x18
mov esi, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x48]
cmp dword [0x48329c], 0xe
mov eax, 0x48328c
mov dword [ebp - 0x38], 0
cmovb edi, dword [0x48329c]
cmp dword [0x4832a0], 0x10
push edi
cmovae eax, dword [0x48328c]
push eax
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.00423f60
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 8
call fcn.0040a610
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.00424600
push esi
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x90]
call fcn.00424600
add esp, 8
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x78]
call fcn.00424600
add esp, 4
push 0x4768cc
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00422eb0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x60], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x50], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea edx, [ebp - 0x60]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.00424600
add esp, 4
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x419358
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41934e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4197ae
push edx
push ecx
call fcn.0042a9bb
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x4193a2
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419398
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4197ae
push edx
push ecx
call fcn.0042a9bb
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x7c]
cmp edx, 0x10
jb 0x4193ef
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4193e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4197ae
push edx
push ecx
call fcn.0042a9bb
add esp, 8
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x94]
cmp edx, 0x10
jb 0x419442
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419438
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4197ae
push edx
push ecx
call fcn.0042a9bb
add esp, 8
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0xac]
cmp edx, 0x10
jb 0x41949b
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419491
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4197ae
push edx
push ecx
call fcn.0042a9bb
add esp, 8
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x4194ee
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4194e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4197ae
push edx
push ecx
call fcn.0042a9bb
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0xc4]
cmp edx, 0x10
jb 0x41953e
mov ecx, dword [ebp - 0xd8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419534
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4197ae
push edx
push ecx
call fcn.0042a9bb
add esp, 8
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0xdc]
cmp edx, 0x10
jb 0x419597
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41958d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4197ae
push edx
push ecx
call fcn.0042a9bb
add esp, 8
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0xf4]
cmp edx, 0x10
jb 0x4195f0
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4195e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4197ae
push edx
push ecx
call fcn.0042a9bb
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x4768c4
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
call fcn.00444c97
add esp, 8
test eax, eax
je 0x419672
push eax
call fcn.0044527d
sub esp, 0x14
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00423030
call fcn.00409fe0
add esp, 0x18
cmp eax, 0x4e20
jle 0x419672
sub esp, 0x18
mov dword [ebp - 0x2c], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x482c2c
call fcn.00423030
mov ecx, esi
call fcn.004064c0
mov byte [ebp - 4], 0x18
jmp 0x419700
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.00423030
sub esp, 0x18
mov byte [ebp - 4], 0x19
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00423030
mov byte [ebp - 4], 0x17
call fcn.004107f0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x4768c4
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00444c97
add esp, 0x38
test eax, eax
je 0x419717
push eax
call fcn.0044527d
sub esp, 0x14
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00423030
call fcn.00409fe0
add esp, 0x18
cmp eax, 0x4e20
jle 0x419717
sub esp, 0x18
mov dword [ebp - 0x30], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x482c2c
call fcn.00423030
mov ecx, esi
call fcn.004064c0
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00423030
mov byte [ebp - 4], 0x17
call fcn.00408e00
add esp, 0x30
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x419747
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41973d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4197b3
push edx
push ecx
call fcn.0042a9bb
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x419789
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41977f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4197b3
push edx
push ecx
call fcn.0042a9bb
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042a344
mov esp, ebp
pop ebp
ret
call fcn.004457fc
call fcn.004457fc
call fcn.004457fc
call fcn.004457fc
int3