Function at 0x453130
Capabilities:
Create directory
Get file attributes
Set file attributes

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x3c
mov edi, dword [ecx + 0x68]
mov esi, dword [ecx + 0x6c]
mov dword [ecx + 0x400d8], 0xffffffff
mov ebp, dword [ecx]
mov eax, dword [edi + 0x40]
mov edx, dword [eax + esi*8]
mov eax, dword [eax + esi*8 + 4]
mov dword [ecx + 0x400b4], eax
or eax, edx
mov eax, dword [ebp + 0x40068]
mov dword [ecx + 0x400b0], edx
jne 0x453176
cmp dword [esp + 0x50], 1
je 0x4532e0
test eax, eax
je 0x4532e0
mov dword [esp + 4], esi
mov ecx, ebp
mov dword [esp], edi
call fcn.00451b90
mov dword [ebx + 0x70], eax
sub esp, 8
cmp byte [ebp], 0x65
jne 0x4532a0
mov eax, dword [edi + 0x34]
mov esi, dword [eax + esi*4]
mov dword [esp + 4], esi
mov eax, dword [ebx + 0x8c]
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
mov eax, dword [ebx + 0x84]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x88]
mov dword [esp], eax
call fcn.00432bc0
mov eax, dword [ebx + 0x90]
mov esi, dword [sym.imp.USER32.dll_CharToOemW]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x84]
mov dword [esp], eax
call esi
mov ecx, dword [ebx + 0x70]
sub esp, 8
test ecx, ecx
je 0x453370
mov edi, dword [ebx]
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x6c]
movzx ebp, byte [edi]
mov dword [esp + 0x1c], edi
mov edx, ebp
cmp dl, 0x74
je 0x453250
mov edx, dword [ecx + 0x58]
mov edx, dword [edx + eax*4]
test edx, edx
je 0x4533c8
mov edx, ebp
cmp dl, 0x65
je 0x4533a0
mov eax, dword [ebx + 0x84]
mov dword [esp], eax
call fcn.00433930
mov eax, dword [ebx + 0x84]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wmkdir]
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x6c]
lea esi, [esi]
nop
mov edi, dword [esp + 0x50]
test edi, edi
je 0x45326a
mov edi, dword [ecx + 0x40]
xor edx, edx
cmp edx, dword [edi + eax*8]
sbb edx, dword [edi + eax*8 + 4]
jge 0x453380
mov edx, dword [ecx + 0x58]
mov edx, dword [edx + eax*4]
test edx, edx
je 0x4532f0
mov edi, dword [ebx]
cmp byte [edi], 0x78
mov dword [esp + 0x1c], edi
je 0x4532f0
mov eax, dword [esp + 0x1c]
mov ebp, dword [eax + 0x40068]
test ebp, ebp
setne al
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret 4
lea eax, [ebx + 0xb0]
mov dword [esp], esi
mov ecx, edi
mov dword [esp + 4], eax
call fcn.00451520
mov esi, eax
mov eax, dword [ebx]
sub esp, 8
cmp byte [eax + 0xc], 0
je 0x4531a2
add eax, 0xc
mov dword [esp], eax
call sub.msvcrt.dll_strlen
lea esi, [esi + eax + 1]
jmp 0x4531a2
test eax, eax
setne al
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret 4
lea edx, [ebx + 0xb0]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00451520
sub esp, 8
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xa8]
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
mov eax, dword [ebx + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xa4]
mov dword [esp], eax
call fcn.00432bc0
mov eax, dword [ebx + 0xac]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xa0]
mov dword [esp], eax
call esi
mov eax, dword [ebx]
sub esp, 8
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ebp, dword [eax + 0x40068]
test ebp, ebp
setne al
jmp 0x45328e
mov eax, dword [ebx + 0x70]
test eax, eax
jne 0x45353d
lea esi, [esi]
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x6c]
jmp 0x453250
mov edi, dword [ebx]
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x1c]
mov ebp, dword [eax + 0x40068]
test ebp, ebp
setne al
jmp 0x45328e
mov edx, dword [esp + 0x50]
test edx, edx
je 0x45327f
mov ebp, dword [ecx + 0x40]
xor edx, edx
cmp edx, dword [ebp + eax*8]
sbb edx, dword [ebp + eax*8 + 4]
jl 0x453276
jmp 0x453382
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x84]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__waccess]
test eax, eax
jne 0x453458
mov edi, dword [ebx]
mov eax, dword [edi + 0x40080]
test eax, eax
jne 0x4534d8
mov eax, dword [edi + 0x4007c]
test eax, eax
jne 0x453532
mov edx, dword [ebx + 4]
mov ecx, dword [ebx + 0x68]
mov eax, dword [edx]
mov edi, dword [ecx + 0x4c]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x6c]
mov edi, dword [edi + eax*4]
mov dword [esp + 0x28], edi
mov edi, dword [ecx + 0x40]
mov ebp, dword [edi + eax*8 + 4]
mov edi, dword [edi + eax*8]
mov dword [esp + 0x20], edi
mov edi, dword [ebx + 0x90]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], edi
cmp dword [esp + 0x1c], 0x4c9850
jne 0x4534ea
mov dword [ebx + 0x70], 0
jmp 0x453250
mov ecx, dword [ebx + 0x70]
test ecx, ecx
je 0x453370
mov eax, dword [ebx + 0x84]
mov dword [esp], eax
call fcn.00433930
mov dword [esp + 8], 0x180
mov dword [esp + 4], 0x8301
mov eax, dword [ebx + 0x84]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wopen]
mov dword [ebx + 0x80], eax
test eax, eax
jns 0x453370
mov ebp, dword [0x678a20]
test ebp, ebp
je 0x45356d
mov dword [esp + 4], 1
mov dword [esp], 0x6789e0
call dword [sym.imp.msvcrt.dll_longjmp]
cmp al, 0x73
jne 0x453361
mov edi, dword [ebx]
mov dword [edi + 0x40080], 1
lea esi, [esi]
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x6c]
mov dword [ebx + 0x70], 0
jmp 0x453250
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov ecx, edx
mov ebp, dword [esp + 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], edi
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], ebp
call eax
sub esp, 0x10
cmp al, 0x71
je 0x4535d7
jg 0x4534c1
cmp al, 0x61
jne 0x4535f5
mov edi, dword [ebx]
mov dword [edi + 0x4007c], 1
mov edi, dword [ebx + 0x70]
test edi, edi
je 0x453370
mov eax, dword [ebx + 0x84]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
sub esp, 4
and eax, 0xfffffffa
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x84]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
sub esp, 8
jmp 0x453463
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
mov edi, eax
test eax, eax
je 0x453608
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
mov esi, eax
test eax, eax
je 0x453608
mov eax, dword [ebx + 0x88]
mov dword [esp + 4], str.ERROR:_cant_open_file__s
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.004c1a60
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.00432f50
mov dword [esp + 4], esi
mov dword [esp], 0x5a8fcc
call fcn.004c19d0
mov dword [esp], 2
call sub.msvcrt.dll_exit
mov dword [esp + 4], 0x5a9343
mov ecx, ebx
mov dword [esp], 0xfffffff6
call fcn.00452f40
sub esp, 8
jmp 0x4532e5
cmp al, 0x6e
jne 0x453361
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x6c]
jmp 0x453447
cmp dword [0x678a20], 0
jne 0x4534ac
mov eax, 0x40000
call fcn.0044f640
mov esi, eax
mov eax, 0x40000
call fcn.0044f640
mov dword [esp + 8], 0x40000
mov dword [esp + 4], str.ERROR:_cant_alloc__lu_memory_bytes
mov ebx, eax
mov dword [esp], esi
call fcn.004c1a60
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.00432f50
mov dword [esp + 4], ebx
mov dword [esp], 0x5a8fcc
call fcn.004c19d0
mov dword [esp], 2
call sub.msvcrt.dll_exit
nop
nop