Function at 0x4d0a20
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd08d
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x6264e4]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x234]
call fcn.00401050
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00401050
mov byte [ebp - 4], 1
push 0x4f6468
lea ecx, [ebp - 0x1c]
call fcn.00408750
mov byte [ebp - 4], 2
push 0x4f64a4
lea ecx, [ebp - 0x18]
call fcn.00408750
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
call fcn.0040be80
movzx eax, al
test eax, eax
je 0x4d0b07
push 0
push 0x4f64cc
push 0x4f64d4
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00401070
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00401070
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00401070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.00401070
jmp 0x4d0d94
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0040b0e0
lea ecx, [ebp - 0x1c]
call fcn.00401aa0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x238], eax
mov edx, dword [ebp - 0x238]
and edx, 1
je 0x4d0b85
push 0
push 0x4f64e0
push str.__rNX__W_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00401070
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00401070
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00401070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.00401070
jmp 0x4d0d94
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.004cd860
add esp, 8
lea edx, [ebp - 0x230]
push edx
lea ecx, [ebp - 0x18]
call fcn.0040b0e0
lea ecx, [ebp - 0x18]
call fcn.00401aa0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x238]
and eax, 1
je 0x4d0bdb
push 0
lea ecx, [ebp - 0x18]
call fcn.00401aa0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov word [ebp - 0x22c], 0
push 0x206
push 0
lea ecx, [ebp - 0x22a]
push ecx
call fcn.0047d050
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.00401aa0
push eax
lea edx, [ebp - 0x22c]
push edx
call fcn.0047fa14
add esp, 8
push str.log.txt
lea eax, [ebp - 0x22c]
push eax
call fcn.0047f9ea
add esp, 8
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.004d06d0
add esp, 0xc
call fcn.004a9e70
movzx ecx, al
test ecx, ecx
je 0x4d0d0b
call fcn.004a9740
cmp eax, 3
jg 0x4d0d0b
lea ecx, [ebp - 0x2d0]
call fcn.00401030
mov dword [ebp - 0x2d8], eax
mov edx, dword [ebp - 0x2d8]
mov dword [ebp - 0x2dc], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2d4]
or eax, 1
mov dword [ebp - 0x2d4], eax
push 3
push 0x12f
push 0x4f650c
lea ecx, [ebp - 0x2cc]
call fcn.004aa4b0
mov dword [ebp - 0x2e0], eax
mov ecx, dword [ebp - 0x2e0]
mov dword [ebp - 0x2e4], ecx
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0x2d4]
or edx, 2
mov dword [ebp - 0x2d4], edx
push str.______________
mov eax, dword [ebp - 0x2dc]
push eax
call fcn.00401000
add esp, 8
mov ecx, eax
call fcn.00401aa0
push eax
mov ecx, dword [ebp - 0x2e4]
call fcn.004177b0
mov ecx, eax
call fcn.00401610
push eax
lea ecx, [ebp - 0x239]
call fcn.0041ffe0
mov ecx, eax
call fcn.0042bb10
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x2d4]
and ecx, 2
je 0x4d0d2f
and dword [ebp - 0x2d4], 0xfffffffd
lea ecx, [ebp - 0x2cc]
call fcn.004aa2b0
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x2d4]
and edx, 1
je 0x4d0d53
and dword [ebp - 0x2d4], 0xfffffffe
lea ecx, [ebp - 0x2d0]
call fcn.0042ddc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00401070
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00401070
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00401070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.00401070
xor eax, eax
jne 0x4d0a63
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0047d9e4
mov esp, ebp
pop ebp
ret