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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x2c
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 + 0x400b0], edx
or edx, eax
mov dword [ecx + 0x400b4], eax
mov eax, dword [ebp + 0x40068]
jne 0x44ecc6
cmp dword [esp + 0x40], 1
je 0x44ee30
test eax, eax
je 0x44ee30
mov dword [esp + 4], esi
mov ecx, ebp
mov dword [esp], edi
call fcn.0044d6d0
mov dword [ebx + 0x70], eax
sub esp, 8
cmp byte [ebp], 0x65
jne 0x44edf0
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.0042e440
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 0x44eec0
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 0x44eda0
mov edx, dword [ecx + 0x58]
mov edx, dword [edx + eax*4]
test edx, edx
je 0x44ef18
mov edx, ebp
cmp dl, 0x65
je 0x44eef0
mov eax, dword [ebx + 0x84]
mov dword [esp], eax
call fcn.0042f1e0
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 + 0x40]
test edi, edi
je 0x44edba
mov edi, dword [ecx + 0x40]
xor edx, edx
cmp edx, dword [edi + eax*8]
sbb edx, dword [edi + eax*8 + 4]
jge 0x44eed0
mov edx, dword [ecx + 0x58]
mov edx, dword [edx + eax*4]
test edx, edx
je 0x44ee40
mov edi, dword [ebx]
cmp byte [edi], 0x78
mov dword [esp + 0x1c], edi
je 0x44ee40
mov eax, dword [esp + 0x1c]
mov ebp, dword [eax + 0x40068]
test ebp, ebp
setne al
add esp, 0x2c
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.0044d060
mov esi, eax
mov eax, dword [ebx]
sub esp, 8
cmp byte [eax + 0xc], 0
je 0x44ecf2
add eax, 0xc
mov dword [esp], eax
call sub.msvcrt.dll_strlen
lea esi, [esi + eax + 1]
jmp 0x44ecf2
test eax, eax
setne al
add esp, 0x2c
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.0044d060
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.0042e440
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 0x44edde
mov eax, dword [ebx + 0x70]
test eax, eax
jne 0x44f06c
lea esi, [esi]
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x6c]
jmp 0x44eda0
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 0x44edde
mov edx, dword [esp + 0x40]
test edx, edx
je 0x44edcf
mov ebp, dword [ecx + 0x40]
xor edx, edx
cmp edx, dword [ebp + eax*8]
sbb edx, dword [ebp + eax*8 + 4]
jl 0x44edc6
jmp 0x44eed2
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 0x44ef80
mov edi, dword [ebx]
mov eax, dword [edi + 0x40080]
test eax, eax
jne 0x44f000
mov eax, dword [edi + 0x4007c]
test eax, eax
jne 0x44f061
mov edi, dword [ebx + 4]
mov ecx, dword [ebx + 0x68]
mov eax, dword [edi]
mov edx, dword [eax + 0x28]
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x1c], edx
cmp edx, 0x4c70c0
jne 0x44f012
mov dword [ebx + 0x70], 0
jmp 0x44eda0
mov ecx, dword [ebx + 0x70]
test ecx, ecx
je 0x44eec0
mov eax, dword [ebx + 0x84]
mov dword [esp], eax
call fcn.0042f1e0
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 0x44eec0
mov ebp, dword [0x677e60]
test ebp, ebp
je 0x44f09c
mov dword [esp + 4], 1
mov dword [esp], 0x677e20
call dword [sym.imp.msvcrt.dll_longjmp]
cmp al, 0x73
jne 0x44eeb1
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 0x44eda0
mov ebp, dword [ecx + 0x4c]
mov ebp, dword [ebp + eax*4]
mov dword [esp + 0xc], ebp
mov ecx, dword [ecx + 0x40]
mov edx, dword [ecx + eax*8 + 4]
mov eax, dword [ecx + eax*8]
mov ecx, edi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebx + 0x90]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
call eax
sub esp, 0x10
cmp al, 0x71
je 0x44f106
jg 0x44efe9
cmp al, 0x61
jne 0x44f124
mov edi, dword [ebx]
mov dword [edi + 0x4007c], 1
mov edi, dword [ebx + 0x70]
test edi, edi
je 0x44eec0
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 0x44ef8b
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
mov edi, eax
test eax, eax
je 0x44f137
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
mov esi, eax
test eax, eax
je 0x44f137
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.004bf1f0
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.0042e7f0
mov dword [esp + 4], esi
mov dword [esp], 0x5a6d2c
call fcn.004bf160
mov dword [esp], 2
call sub.msvcrt.dll_exit
mov dword [esp + 4], 0x5a70a3
mov ecx, ebx
mov dword [esp], 0xfffffff6
call fcn.0044ea90
sub esp, 8
jmp 0x44ee35
cmp al, 0x6e
jne 0x44eeb1
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x6c]
jmp 0x44ef6f
cmp dword [0x677e60], 0
jne 0x44efd4
mov eax, 0x40000
call fcn.0044b100
mov esi, eax
mov eax, 0x40000
call fcn.0044b100
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.004bf1f0
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.0042e7f0
mov dword [esp + 4], ebx
mov dword [esp], 0x5a6d2c
call fcn.004bf160
mov dword [esp], 2
call sub.msvcrt.dll_exit
lea esi, [esi]