Function at 0x40bcd0
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 0x432294
call fcn.00413b00
lea ecx, [ebp - 0x48]
call fcn.00402ac0
add esp, 0x18
lea edx, [ebp + 8]
lea ecx, [ebp - 0x30]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.00414140
add esp, 4
lea ecx, [ebp - 0x18]
mov edx, eax
call fcn.00413fb0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40bd20
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40bd34
mov bl, 1
jmp 0x40bd3c
shr bl, 4
not bl
and bl, 1
mov edx, dword [ebp - 4]
cmp edx, 0x10
jb 0x40bd70
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bd66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4a6
push edx
push ecx
call fcn.0041541e
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 0x40bdb6
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bdac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4a6
push edx
push ecx
call fcn.0041541e
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 0x40bdfc
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bdf2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4a6
push edx
push ecx
call fcn.0041541e
add esp, 8
test bl, bl
je 0x40bf0f
sub esp, 0x18
mov ecx, esp
push 0x432294
call fcn.00413b00
lea ecx, [ebp - 0x48]
call fcn.00402ac0
add esp, 0x18
lea edx, [ebp + 8]
lea ecx, [ebp - 0x18]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.00414140
add esp, 4
lea ecx, [ebp - 0x30]
mov edx, eax
call fcn.00413fb0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40be46
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x40be83
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40be79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4ab
push edx
push ecx
call fcn.0041541e
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 0x40bec9
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bebf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4ab
push edx
push ecx
call fcn.0041541e
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 0x40bf0f
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bf05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4ab
push edx
push ecx
call fcn.0041541e
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x432294
call fcn.00413b00
lea ecx, [ebp - 0x48]
call fcn.00402ac0
add esp, 0x18
lea edx, [ebp + 8]
lea ecx, [ebp - 0x18]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.00414140
add esp, 4
lea ecx, [ebp - 0x30]
mov edx, eax
call fcn.00413fb0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40bf51
mov eax, dword [eax]
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40bf5f
xor bl, bl
jmp 0x40bf65
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x40bf99
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bf8f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4b0
push edx
push ecx
call fcn.0041541e
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 0x40bfdf
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bfd5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4b0
push edx
push ecx
call fcn.0041541e
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 0x40c025
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c01b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4b0
push edx
push ecx
call fcn.0041541e
add esp, 8
test bl, bl
je 0x40c3b9
sub esp, 0x18
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.00413b00
lea ecx, [ebp - 0x48]
call fcn.00404950
add esp, 0x18
push eax
sub esp, 0x1c
mov ecx, esp
push 0x432294
call fcn.00413b00
lea ecx, [ebp - 0x94]
call fcn.00402ac0
add esp, 0x1c
lea edx, [ebp + 8]
lea ecx, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.00414140
add esp, 4
lea ecx, [ebp - 0x64]
mov edx, eax
call fcn.00413fb0
add esp, 4
lea ecx, [ebp - 0x30]
mov edx, eax
call fcn.00413fb0
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 0x40c0b9
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp edi, 0x10
jb 0x40c0b1
mov eax, dword [ecx]
mov word [eax + edx], 0x2e
jmp 0x40c0d0
push 1
push 0x42eee8
mov byte [ebp - 0x4c], 0
push dword [ebp - 0x4c]
push 1
call fcn.004145b0
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.004140a0
mov edx, dword [ebp - 4]
add esp, 4
cmp edx, 0x10
jb 0x40c137
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c12d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4b5
push edx
push ecx
call fcn.0041541e
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 0x40c17d
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c173
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4b5
push edx
push ecx
call fcn.0041541e
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 0x40c1c3
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c1b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4b5
push edx
push ecx
call fcn.0041541e
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 0x40c209
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c1ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4b5
push edx
push ecx
call fcn.0041541e
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 0x40c252
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c248
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4b5
push edx
push ecx
call fcn.0041541e
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 0x40c29e
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c294
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4b5
push edx
push ecx
call fcn.0041541e
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 0x40c2e4
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c2da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4b5
push edx
push ecx
call fcn.0041541e
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 0x40c32a
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c320
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4b5
push edx
push ecx
call fcn.0041541e
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 0x40c370
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c366
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4b5
push edx
push ecx
call fcn.0041541e
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 0x40c49d
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c493
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4b5
jmp 0x40c493
push 0
push 0x42e35b
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.00413e60
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x40c40c
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c402
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4b5
push edx
push ecx
call fcn.0041541e
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 0x40c44e
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c444
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4b5
push edx
push ecx
call fcn.0041541e
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 0x40c370
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c366
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4b5
jmp 0x40c366
push edx
push ecx
call fcn.0041541e
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041886c
call fcn.0041886c
call fcn.0041886c
call fcn.0041886c
int3