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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e1ee
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x466014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
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 - 0x68], 0
mov ecx, edi
mov dword [ebp - 0x64], 0xf
cmp dword [0x467260], ecx
mov eax, 0x467250
mov byte [ebp - 0x78], 0
cmovb ecx, dword [0x467260]
cmp dword [0x467264], 0x10
push ecx
cmovae eax, dword [0x467250]
lea ecx, [ebp - 0x78]
push eax
call fcn.0041bf00
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 1
call fcn.00408830
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.0041c060
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x414ef2
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x414f04
mov bl, 1
jmp 0x414f0c
shr bl, 4
not bl
and bl, 1
mov edx, dword [ebp - 0x7c]
cmp edx, 0x10
jb 0x414f43
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414f39
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4157ce
push edx
push ecx
call fcn.004210da
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
cmp edx, 0x10
jb 0x414f96
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414f8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4157ce
push edx
push ecx
call fcn.004210da
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
cmp edx, 0x10
jb 0x414fe9
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414fdf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4157ce
push edx
push ecx
call fcn.004210da
add esp, 8
test bl, bl
je 0x415144
mov ecx, edi
mov dword [ebp - 0x68], 0
cmp dword [0x467260], ecx
mov eax, 0x467250
mov dword [ebp - 0x64], 0xf
cmovb ecx, dword [0x467260]
cmp dword [0x467264], 0x10
push ecx
cmovae eax, dword [0x467250]
lea ecx, [ebp - 0x78]
push eax
mov byte [ebp - 0x78], 0
call fcn.0041bf00
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.00408830
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0041c060
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x41505e
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x94]
cmp edx, 0x10
jb 0x4150a1
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x415097
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4157d3
push edx
push ecx
call fcn.004210da
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
cmp edx, 0x10
jb 0x4150f7
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4150ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4157d3
push edx
push ecx
call fcn.004210da
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
cmp edx, 0x10
jb 0x415144
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41513a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4157d3
push edx
push ecx
call fcn.004210da
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x466ba8
call fcn.0041b6e0
lea ecx, [ebp - 0x150]
call fcn.004054f0
add esp, 0x18
push eax
push 0x45cec0
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0041b6e0
lea ecx, [ebp - 0x138]
call fcn.00408030
add esp, 0x18
push eax
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
push 0x467370
call fcn.0041b6e0
lea ecx, [ebp - 0x120]
call fcn.004054f0
add esp, 0x18
mov esi, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x78]
cmp dword [0x467260], 0xe
mov eax, 0x467250
mov dword [ebp - 0x68], 0
cmovb edi, dword [0x467260]
cmp dword [0x467264], 0x10
push edi
cmovae eax, dword [0x467250]
push eax
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
call fcn.0041bf00
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 8
call fcn.00408830
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0xf0]
call fcn.0041c060
push esi
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xd8]
call fcn.0041c060
add esp, 8
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x90]
call fcn.0041c060
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xa8]
call fcn.0041c350
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.0041c060
add esp, 4
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x94]
cmp edx, 0x10
jb 0x41529c
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x415292
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4157d8
push edx
push ecx
call fcn.004210da
add esp, 8
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x7c]
cmp edx, 0x10
jb 0x4152f2
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4152e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4157d8
push edx
push ecx
call fcn.004210da
add esp, 8
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0xc4]
cmp edx, 0x10
jb 0x415345
mov ecx, dword [ebp - 0xd8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41533b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4157d8
push edx
push ecx
call fcn.004210da
add esp, 8
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0xdc]
cmp edx, 0x10
jb 0x41539e
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x415394
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4157d8
push edx
push ecx
call fcn.004210da
add esp, 8
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0xf4]
cmp edx, 0x10
jb 0x4153f7
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4153ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4157d8
push edx
push ecx
call fcn.004210da
add esp, 8
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x41544a
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x415440
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4157d8
push edx
push ecx
call fcn.004210da
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x10c]
cmp edx, 0x10
jb 0x41549a
mov ecx, dword [ebp - 0x120]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x415490
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4157d8
push edx
push ecx
call fcn.004210da
add esp, 8
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0xf
mov byte [ebp - 0x120], 0
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x124]
cmp edx, 0x10
jb 0x4154f3
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4154e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4157d8
push edx
push ecx
call fcn.004210da
add esp, 8
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x13c]
cmp edx, 0x10
jb 0x41554c
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x415542
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4157d8
push edx
push ecx
call fcn.004210da
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x45ceb8
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
call fcn.0043a168
add esp, 8
or esi, 0xffffffff
test eax, eax
je 0x415635
push eax
call fcn.0043a1f6
add esp, 4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xc0]
push eax
call fcn.0041b6e0
cmp dword [ebp - 0xac], 0x10
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0xc0]
cmovae eax, dword [ebp - 0xc0]
push ecx
push eax
call fcn.0043aece
mov edx, dword [ebp - 0xac]
add esp, 8
test eax, eax
mov edi, esi
cmove edi, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x415606
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4155fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4157dd
push edx
push ecx
call fcn.004210da
add esp, 8
cmp edi, 0x4e20
jle 0x415635
sub esp, 0x18
mov dword [ebp - 0x5c], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x466bc0
call fcn.0041b6e0
mov ecx, esi
call fcn.004054f0
mov byte [ebp - 4], 0x18
jmp 0x415725
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x60], esp
push eax
call fcn.0041b6e0
sub esp, 0x18
mov byte [ebp - 4], 0x19
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0041b6e0
mov byte [ebp - 4], 0x17
call fcn.0040c4e0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x45ceb8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0043a168
add esp, 0x38
test eax, eax
je 0x41573c
push eax
call fcn.0043a1f6
add esp, 4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xc0]
push eax
call fcn.0041b6e0
cmp dword [ebp - 0xac], 0x10
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0xc0]
cmovae eax, dword [ebp - 0xc0]
push ecx
push eax
call fcn.0043aece
mov edx, dword [ebp - 0xac]
add esp, 8
test eax, eax
cmove esi, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x4156fb
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4156f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4157e2
push edx
push ecx
call fcn.004210da
add esp, 8
cmp esi, 0x4e20
jle 0x41573c
sub esp, 0x18
mov dword [ebp - 0x60], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x466bc0
call fcn.0041b6e0
mov ecx, esi
call fcn.004054f0
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.0041b6e0
mov byte [ebp - 4], 0x17
call fcn.004070b0
add esp, 0x30
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x415770
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x415766
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4157e7
push edx
push ecx
call fcn.004210da
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 0x4157b2
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4157a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4157e7
push edx
push ecx
call fcn.004210da
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00420a61
mov esp, ebp
pop ebp
ret
call fcn.0043a6a9
call fcn.0043a6a9
call fcn.0043a6a9
call fcn.0043a6a9
call fcn.0043a6a9
call fcn.0043a6a9
int3