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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461582
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.00424030
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.004246d0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x41907b
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41908d
mov byte [ebp - 0x2c], 1
jmp 0x419097
shr al, 4
not al
and al, 1
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x4190cb
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4190c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419864
push edx
push ecx
call fcn.0042aa8a
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 0x419115
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41910b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419864
push edx
push ecx
call fcn.0042aa8a
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 0x41915f
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419155
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419864
push edx
push ecx
call fcn.0042aa8a
add esp, 8
cmp byte [ebp - 0x2c], 0
je 0x4192a1
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.00424030
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.004246d0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x4191d0
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x41920d
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419203
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419869
push edx
push ecx
call fcn.0042aa8a
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 0x419257
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41924d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419869
push edx
push ecx
call fcn.0042aa8a
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 0x4192a1
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419297
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419869
push edx
push ecx
call fcn.0042aa8a
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x482c14
call fcn.00423100
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.00423100
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.00423100
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.00424030
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.004246d0
push esi
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x90]
call fcn.004246d0
add esp, 8
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x78]
call fcn.004246d0
add esp, 4
push 0x4768d4
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00422f80
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.004246d0
add esp, 4
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x419418
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41940e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41986e
push edx
push ecx
call fcn.0042aa8a
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 0x419462
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419458
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41986e
push edx
push ecx
call fcn.0042aa8a
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 0x4194af
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4194a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41986e
push edx
push ecx
call fcn.0042aa8a
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 0x419502
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4194f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41986e
push edx
push ecx
call fcn.0042aa8a
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 0x41955b
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419551
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41986e
push edx
push ecx
call fcn.0042aa8a
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 0x4195ae
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4195a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41986e
push edx
push ecx
call fcn.0042aa8a
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 0x4195fe
mov ecx, dword [ebp - 0xd8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4195f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41986e
push edx
push ecx
call fcn.0042aa8a
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 0x419657
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41964d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41986e
push edx
push ecx
call fcn.0042aa8a
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 0x4196b0
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4196a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41986e
push edx
push ecx
call fcn.0042aa8a
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x4768cc
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
call fcn.00444d57
add esp, 8
test eax, eax
je 0x419732
push eax
call fcn.0044533d
sub esp, 0x14
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00423100
call fcn.00409fe0
add esp, 0x18
cmp eax, 0x4e20
jle 0x419732
sub esp, 0x18
mov dword [ebp - 0x2c], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x482c2c
call fcn.00423100
mov ecx, esi
call fcn.004064c0
mov byte [ebp - 4], 0x18
jmp 0x4197c0
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.00423100
sub esp, 0x18
mov byte [ebp - 4], 0x19
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00423100
mov byte [ebp - 4], 0x17
call fcn.004107f0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x4768cc
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00444d57
add esp, 0x38
test eax, eax
je 0x4197d7
push eax
call fcn.0044533d
sub esp, 0x14
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00423100
call fcn.00409fe0
add esp, 0x18
cmp eax, 0x4e20
jle 0x4197d7
sub esp, 0x18
mov dword [ebp - 0x30], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x482c2c
call fcn.00423100
mov ecx, esi
call fcn.004064c0
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00423100
mov byte [ebp - 4], 0x17
call fcn.00408e00
add esp, 0x30
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x419807
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4197fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419873
push edx
push ecx
call fcn.0042aa8a
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 0x419849
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41983f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419873
push edx
push ecx
call fcn.0042aa8a
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.0042a413
mov esp, ebp
pop ebp
ret
call fcn.004458bc
call fcn.004458bc
call fcn.004458bc
call fcn.004458bc
int3