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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4156b3
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x421024]
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
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 4], 0
lea edi, [ebx + 4]
mov dword [ebx], vtable.cFileLoggerComponent.0
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 0x10
jb 0x40632e
mov eax, dword [edi]
jmp 0x406330
mov eax, edi
mov byte [eax], 0
lea esi, [ebx + 0x1c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 0x10
jb 0x40634e
mov eax, dword [esi]
jmp 0x406350
mov eax, esi
mov byte [eax], 0
lea eax, [ebx + 0x34]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x40636c
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [ebx + 0x4c]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x406388
mov eax, dword [eax]
mov byte [eax], 0
mov byte [ebp - 4], 4
cmp byte [edx], 0
jne 0x406398
xor ecx, ecx
jmp 0x4063aa
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x2c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4063a0
sub ecx, dword [ebp - 0x2c]
push ecx
push edx
mov ecx, esi
call fcn.00403080
push 0xa
push str.startuplog
lea ecx, [ebx + 0x34]
call fcn.00403080
push 4
push str..log
lea ecx, [ebx + 0x4c]
call fcn.00403080
cmp dword [ebx + 0x2c], 0
mov ecx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jbe 0x40641b
cmp dword [esi + 0x14], 0x10
jb 0x4063e7
mov eax, dword [esi]
jmp 0x4063e9
mov eax, esi
push eax
call ecx
cmp eax, 0xffffffff
je 0x4063f5
test al, 0x10
jne 0x406415
cmp dword [esi + 0x14], 0x10
jb 0x4063ff
mov eax, dword [esi]
jmp 0x406401
mov eax, esi
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
add esp, 4
test eax, eax
je 0x406415
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp dword [esi + 0x10], 0
jbe 0x406439
cmp dword [esi + 0x14], 0x10
jb 0x40642b
mov eax, dword [esi]
jmp 0x40642d
mov eax, esi
push eax
call ecx
cmp eax, 0xffffffff
je 0x406439
test al, 0x10
jne 0x406443
cmp dword [ebx + 0x2c], 0
jne 0x4065b1
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00403180
mov byte [ebp - 4], 5
cmp dword [ebx + 0x2c], 0
jbe 0x406490
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
cmp byte [ecx + eax - 1], 0x5c
je 0x406490
push 1
push 0x4183c4
lea ecx, [ebp - 0x28]
call fcn.004032a0
lea ecx, [ebp - 0x44]
call fcn.00406b90
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.004033c0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x4064bf
inc eax
push eax
push dword [ebp - 0x44]
call fcn.00403580
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4064da
test al, 0x10
jne 0x4064f9
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
add esp, 4
test eax, eax
je 0x4064f9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push 1
push 0x4183c4
lea ecx, [ebp - 0x28]
call fcn.004032a0
push str.startuplog
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x60]
call fcn.00405e30
lea ecx, [ebx + 0x4c]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.00407190
add esp, 8
mov esi, eax
cmp edi, esi
je 0x406569
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x406544
inc eax
push eax
push dword [edi]
call fcn.00403580
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x40655c
mov eax, dword [edi]
jmp 0x40655e
mov eax, edi
push esi
mov ecx, edi
mov byte [eax], 0
call fcn.004034b0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x40657b
inc eax
push eax
push dword [ebp - 0x44]
call fcn.00403580
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp eax, 0x10
jb 0x40659f
inc eax
push eax
push dword [ebp - 0x60]
call fcn.00403580
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x4065b1
inc ecx
push ecx
push dword [ebp - 0x28]
call fcn.00403580
mov eax, ebx
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.00414132
mov esp, ebp
pop ebp
ret 0x10