Function at 0x40df60
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x442748
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x456178]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x456178]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [edi + 0x10]
xor ebx, ebx
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebx
test ebp, ebp
je 0x40e171
nop
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x40dfbc
mov ecx, dword [edi]
jmp 0x40dfbe
mov ecx, edi
mov edx, 0x2f
cmp dx, word [ecx + ebx*2]
mov edx, 0x5c
je 0x40dfe3
cmp eax, 8
jb 0x40dfd7
mov eax, dword [edi]
jmp 0x40dfd9
mov eax, edi
cmp dx, word [eax + ebx*2]
jne 0x40e164
mov ecx, 7
mov dword [esp + 0x30], 0
mov dword [esp + 0x30], ecx
xor eax, eax
mov esi, dword [edi + 0x10]
cmp ebx, esi
mov word [esp + 0x1c], ax
lea eax, [esp + 0x1c]
cmovb esi, ebx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x2c], 0
cmp eax, edi
jne 0x40e054
test esi, esi
jne 0x40e186
xor eax, eax
mov dword [esp + 0x2c], esi
mov word [esp + esi*2 + 0x1c], ax
cmp dword [esp + 0x2c], eax
ja 0x40e0de
cmp dword [esp + 0x30], 8
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
xor ecx, ecx
mov word [eax], cx
jmp 0x40e0de
cmp esi, 0x7ffffffe
ja 0x40e190
cmp esi, ecx
jbe 0x40e076
push 0
push esi
lea ecx, [esp + 0x24]
call fcn.00401d36
mov ecx, dword [esp + 0x30]
jmp 0x40e085
test esi, esi
jne 0x40e087
xor eax, eax
mov dword [esp + 0x2c], esi
mov word [esp + 0x1c], ax
test esi, esi
setne al
test al, al
je 0x40e0de
cmp dword [edi + 0x14], 8
jb 0x40e098
mov edx, dword [edi]
jmp 0x40e09a
mov edx, edi
mov ebx, dword [esp + 0x1c]
lea ebp, [esp + 0x1c]
cmp ecx, 8
cmovae ebp, ebx
test esi, esi
je 0x40e0c2
lea eax, [esi + esi]
push eax
push edx
push ebp
call fcn.00433410
mov ecx, dword [esp + 0x3c]
add esp, 0xc
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x1c]
cmp ecx, 8
mov dword [esp + 0x2c], esi
cmovae eax, ebx
mov ebx, dword [esp + 0x14]
xor ecx, ecx
mov word [eax + esi*2], cx
mov dword [esp + 0x40], 0
cmp dword [esp + 0x2c], 0
jne 0x40e110
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x40e108
push dword [esp + 0x1c]
call fcn.004342bb
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x40e151
lea ecx, [esp + 0x1c]
call fcn.0040d440
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test al, al
jne 0x40e136
cmp dword [esp + 0x30], 8
lea eax, [esp + 0x1c]
push 0
cmovae eax, dword [esp + 0x20]
push eax
call esi
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x40e151
push dword [esp + 0x1c]
call fcn.004342bb
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], eax
mov word [esp + 0x1c], ax
inc ebx
mov dword [esp + 0x14], ebx
cmp ebx, ebp
jb 0x40dfb0
mov ecx, edi
call fcn.0040d440
test al, al
jne 0x40e1a1
cmp dword [edi + 0x14], 8
jb 0x40e19a
mov eax, dword [edi]
jmp 0x40e19c
push str.invalid_string_position
call fcn.004333c3
push str.string_too_long
call fcn.00433395
mov eax, edi
push 0
push eax
call esi
mov ecx, edi
call fcn.0040d630
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004333fa
add esp, 0x30
ret