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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
push edi
sub esp, 0x18
mov esi, ecx
mov ecx, esp
push 0x4362b4
call fcn.00412e40
lea ecx, [ebp - 0x48]
call fcn.00402b70
add esp, 0x18
lea edx, [ebp + 8]
lea ecx, [ebp - 0x30]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.00413480
add esp, 4
lea ecx, [ebp - 0x18]
mov edx, eax
call fcn.004132f0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40b510
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40b524
mov bl, 1
jmp 0x40b52c
shr bl, 4
not bl
and bl, 1
mov edx, dword [ebp - 4]
cmp edx, 0x10
jb 0x40b560
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b556
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc96
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x18], 0
cmp edx, 0x10
jb 0x40b5a6
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b59c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc96
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x40b5ec
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b5e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc96
push edx
push ecx
call fcn.004142b0
add esp, 8
test bl, bl
je 0x40b6ff
sub esp, 0x18
mov ecx, esp
push 0x4362b4
call fcn.00412e40
lea ecx, [ebp - 0x48]
call fcn.00402b70
add esp, 0x18
lea edx, [ebp + 8]
lea ecx, [ebp - 0x18]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.00413480
add esp, 4
lea ecx, [ebp - 0x30]
mov edx, eax
call fcn.004132f0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40b636
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x40b673
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b669
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc9b
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x40b6b9
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b6af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc9b
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp - 0x34]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x18], 0
cmp edx, 0x10
jb 0x40b6ff
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b6f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc9b
push edx
push ecx
call fcn.004142b0
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x4362b4
call fcn.00412e40
lea ecx, [ebp - 0x48]
call fcn.00402b70
add esp, 0x18
lea edx, [ebp + 8]
lea ecx, [ebp - 0x18]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.00413480
add esp, 4
lea ecx, [ebp - 0x30]
mov edx, eax
call fcn.004132f0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40b741
mov eax, dword [eax]
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40b74f
xor bl, bl
jmp 0x40b755
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x40b789
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b77f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bca0
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x40b7cf
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b7c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bca0
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp - 0x34]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x18], 0
cmp edx, 0x10
jb 0x40b815
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b80b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bca0
push edx
push ecx
call fcn.004142b0
add esp, 8
test bl, bl
je 0x40bba9
sub esp, 0x18
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.00412e40
lea ecx, [ebp - 0x48]
call fcn.00404910
add esp, 0x18
push eax
sub esp, 0x1c
mov ecx, esp
push 0x4362b4
call fcn.00412e40
lea ecx, [ebp - 0x94]
call fcn.00402b70
add esp, 0x1c
lea edx, [ebp + 8]
lea ecx, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.00413480
add esp, 4
lea ecx, [ebp - 0x64]
mov edx, eax
call fcn.004132f0
add esp, 4
lea ecx, [ebp - 0x30]
mov edx, eax
call fcn.004132f0
mov ecx, eax
add esp, 4
mov edi, dword [ecx + 0x14]
mov eax, edi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x40b8a9
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp edi, 0x10
jb 0x40b8a1
mov eax, dword [ecx]
mov word [eax + edx], 0x2e
jmp 0x40b8c0
push 1
push 0x432a08
mov byte [ebp - 0x4c], 0
push dword [ebp - 0x4c]
push 1
call fcn.004137c0
mov ecx, eax
movups xmm0, xmmword [ecx]
lea eax, [ebp + 0x50]
push eax
movups xmmword [ebp - 0x18], xmm0
lea edx, [ebp - 0x18]
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 8], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov ecx, esi
call fcn.004133e0
mov edx, dword [ebp - 4]
add esp, 4
cmp edx, 0x10
jb 0x40b927
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b91d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bca5
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x18], 0
cmp edx, 0x10
jb 0x40b96d
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b963
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bca5
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x40b9b3
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b9a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bca5
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp edx, 0x10
jb 0x40b9f9
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b9ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bca5
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp edx, 0x10
jb 0x40ba42
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ba38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bca5
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
cmp edx, 0x10
jb 0x40ba8e
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ba84
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bca5
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp edx, 0x10
jb 0x40bad4
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40baca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bca5
push edx
push ecx
call fcn.004142b0
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 0x40bb1a
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bb10
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bca5
push edx
push ecx
call fcn.004142b0
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 0x40bb60
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bb56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bca5
push edx
push ecx
call fcn.004142b0
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 0x40bc8d
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bc83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bca5
jmp 0x40bc83
push 0
push 0x431e4b
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.004131b0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x40bbfc
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bbf2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bca5
push edx
push ecx
call fcn.004142b0
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 0x40bc3e
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bc34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bca5
push edx
push ecx
call fcn.004142b0
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 0x40bb60
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bb56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bca5
jmp 0x40bb56
push edx
push ecx
call fcn.004142b0
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00418a24
call fcn.00418a24
call fcn.00418a24
call fcn.00418a24
int3