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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461864
mov eax, dword fs:[0]
push eax
sub esp, 0x150
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
mov dword [ebp - 4], 4
mov edi, 0xe
mov ecx, edi
mov dword [ebp - 0x58], 0
cmp dword [0x48329c], ecx
mov eax, 0x48328c
mov dword [ebp - 0x54], 0xf
cmovb ecx, dword [0x48329c]
cmp dword [0x4832a0], 0x10
push ecx
cmovae eax, dword [0x48328c]
lea ecx, [ebp - 0x68]
push eax
mov byte [ebp - 0x68], 0
call fcn.00424030
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 5
call fcn.0040a610
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0x98]
call fcn.004246d0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x41a883
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41a895
mov byte [ebp - 0x44], 1
jmp 0x41a89f
shr al, 4
not al
and al, 1
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x41a8d9
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a8cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b410
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp edx, 0x10
jb 0x41a92c
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a922
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b410
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp edx, 0x10
jb 0x41a976
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a96c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b410
push edx
push ecx
call fcn.0042aa8a
add esp, 8
cmp byte [ebp - 0x44], 0
je 0x41aaca
mov ecx, edi
mov dword [ebp - 0x58], 0
cmp dword [0x48329c], ecx
mov eax, 0x48328c
mov dword [ebp - 0x54], 0xf
cmovb ecx, dword [0x48329c]
cmp dword [0x4832a0], 0x10
push ecx
cmovae eax, dword [0x48328c]
lea ecx, [ebp - 0x68]
push eax
mov byte [ebp - 0x68], 0
call fcn.00424030
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 7
call fcn.0040a610
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 8
push ecx
mov edx, eax
lea ecx, [ebp - 0x98]
call fcn.004246d0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x41a9ea
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x41aa2d
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41aa23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b415
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp edx, 0x10
jb 0x41aa80
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41aa76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b415
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp edx, 0x10
jb 0x41aaca
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41aac0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b415
push edx
push ecx
call fcn.0042aa8a
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x482efc
call fcn.00423100
lea ecx, [ebp - 0x15c]
call fcn.004064c0
add esp, 0x18
push eax
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.00423100
lea ecx, [ebp - 0x144]
call fcn.0040a0b0
add esp, 0x18
push eax
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov ecx, esp
push 0x4833c4
call fcn.00423100
lea ecx, [ebp - 0x12c]
call fcn.004064c0
add esp, 0x18
mov esi, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x68]
cmp dword [0x48329c], 0xe
mov eax, 0x48328c
mov dword [ebp - 0x58], 0
cmovb edi, dword [0x48329c]
cmp dword [0x4832a0], 0x10
push edi
cmovae eax, dword [0x48328c]
push eax
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
call fcn.00424030
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0xc
call fcn.0040a610
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xd
push ecx
mov edx, eax
lea ecx, [ebp - 0xfc]
call fcn.004246d0
push esi
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xe4]
call fcn.004246d0
add esp, 8
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xcc]
call fcn.004246d0
add esp, 4
push 0x4768d4
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.00422f80
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea edx, [ebp - 0xb4]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x28]
call fcn.004246d0
add esp, 4
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0xa0]
cmp edx, 0x10
jb 0x41ac59
mov ecx, dword [ebp - 0xb4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ac4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b41a
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0xb8]
cmp edx, 0x10
jb 0x41acb2
mov ecx, dword [ebp - 0xcc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41aca8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b41a
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0xf
mov byte [ebp - 0xcc], 0
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0xd0]
cmp edx, 0x10
jb 0x41ad0b
mov ecx, dword [ebp - 0xe4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ad01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b41a
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0xf
mov byte [ebp - 0xe4], 0
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0xe8]
cmp edx, 0x10
jb 0x41ad64
mov ecx, dword [ebp - 0xfc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ad5a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b41a
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0xf
mov byte [ebp - 0xfc], 0
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x100]
cmp edx, 0x10
jb 0x41adbd
mov ecx, dword [ebp - 0x114]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41adb3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b41a
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0xf
mov byte [ebp - 0x114], 0
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x41ae10
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ae06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b41a
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x41ae60
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ae56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b41a
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb 0x41aeb9
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41aeaf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b41a
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x148]
cmp edx, 0x10
jb 0x41af12
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41af08
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b41a
push edx
push ecx
call fcn.0042aa8a
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x14c], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], esp
mov ecx, esp
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
push eax
call fcn.00423100
sub esp, 0x18
mov byte [ebp - 4], 0x1c
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.00423100
mov byte [ebp - 4], 0x1b
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 0x41b1eb
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 0x41b1eb
sub esp, 0x18
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x48], esp
lea ecx, [ebp - 0x98]
mov esi, esp
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
push 3
push 0x476aec
call fcn.00424030
lea eax, [ebp + 0x68]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x80]
call fcn.00423100
sub esp, 0x18
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x80]
mov ecx, esp
push eax
call fcn.00423100
lea ecx, [ebp - 0x40]
call fcn.004051d0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x20
push eax
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.00406110
mov byte [ebp - 4], 0x1f
add esp, 0x1c
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x41b050
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b046
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b41f
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x6c]
cmp edx, 0x10
jb 0x41b088
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b07e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b424
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp edx, 0x10
jb 0x41b0d8
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b0ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b424
push edx
push ecx
call fcn.0042aa8a
add esp, 8
sub esp, 0x18
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], esp
mov ecx, esp
push eax
call fcn.00423100
sub esp, 0x18
mov byte [ebp - 4], 0x22
mov ecx, esp
push 0
push 0x475b6b
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.00424030
mov byte [ebp - 4], 0x1b
call fcn.00408be0
add esp, 0x48
sub esp, 0x18
cmp dword [0x488ac4], 0x2a
mov esi, esp
jne 0x41b18c
mov dword [ebp - 0x50], esp
sub esp, 0x18
mov ecx, esp
push 0x483660
call fcn.00423100
mov ecx, esi
call fcn.004064c0
mov byte [ebp - 4], 0x23
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0x482e54
call fcn.00423100
sub esp, 0x18
mov byte [ebp - 4], 0x24
lea eax, [ebp + 0x38]
mov dword [ebp - 0x44], esp
mov ecx, esp
push eax
call fcn.00423100
sub esp, 0x18
mov byte [ebp - 4], 0x25
lea eax, [ebp + 0x20]
mov dword [ebp - 0x4c], esp
mov ecx, esp
push eax
call fcn.00423100
mov byte [ebp - 4], 0x26
jmp 0x41b24d
mov dword [ebp - 0x9c], esp
sub esp, 0x18
mov ecx, esp
push 0x4836a8
call fcn.00423100
mov ecx, esi
call fcn.004064c0
mov byte [ebp - 4], 0x27
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 0x482e54
call fcn.00423100
sub esp, 0x18
mov byte [ebp - 4], 0x28
lea eax, [ebp + 0x38]
mov dword [ebp - 0x50], esp
mov ecx, esp
push eax
call fcn.00423100
sub esp, 0x18
mov byte [ebp - 4], 0x29
lea eax, [ebp + 0x20]
mov dword [ebp - 0x48], esp
mov ecx, esp
push eax
call fcn.00423100
mov byte [ebp - 4], 0x2a
jmp 0x41b24d
sub esp, 0x18
mov dword [ebp - 0x9c], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x4836a8
call fcn.00423100
mov ecx, esi
call fcn.004064c0
mov byte [ebp - 4], 0x2b
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 0x482e54
call fcn.00423100
sub esp, 0x18
mov byte [ebp - 4], 0x2c
lea eax, [ebp + 0x38]
mov dword [ebp - 0x50], esp
mov ecx, esp
push eax
call fcn.00423100
sub esp, 0x18
mov byte [ebp - 4], 0x2d
lea eax, [ebp + 0x20]
mov dword [ebp - 0x48], esp
mov ecx, esp
push eax
call fcn.00423100
mov byte [ebp - 4], 0x2e
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00423100
mov byte [ebp - 4], 0x1b
call fcn.00413530
mov edx, dword [ebp - 0x14]
add esp, 0x78
cmp edx, 0x10
jb 0x41b29b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b291
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b429
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 0x41b2e1
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b2d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b429
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x41b327
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b31d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b429
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x41b36d
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b363
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b429
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov edx, dword [ebp + 0x64]
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 0xf
mov byte [ebp + 0x38], 0
cmp edx, 0x10
jb 0x41b3b3
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b3a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b429
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov edx, dword [ebp + 0x7c]
mov dword [ebp + 0x60], 0
mov dword [ebp + 0x64], 0xf
mov byte [ebp + 0x50], 0
cmp edx, 0x10
jb 0x41b3f5
mov ecx, dword [ebp + 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b3eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b429
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
call fcn.004458bc
call fcn.004458bc
int3