Function at 0x40ed50
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4427e2
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x456178]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x456178]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov ebx, edx
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x7c]
xor eax, eax
push 0xffffffffffffffff
push eax
push ecx
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], 0
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
call fcn.004019ce
mov dword [esp + 0x74], 0
cmp dword [esp + 0x44], 0
jne 0x40edf7
lea ecx, [esp + 0x34]
call fcn.004125d0
test al, al
jne 0x40edf7
cmp dword [esp + 0x48], 8
lea eax, [esp + 0x34]
mov dword [esp + 0x44], 0
cmovae eax, dword [esp + 0x34]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [0x45cf84]
test al, 1
jne 0x40ee2a
or eax, 1
mov dword [0x45cf84], eax
mov byte [esp + 0x74], 1
push 0
call fcn.00434580
add esp, 4
push eax
call fcn.00434c83
add esp, 4
mov byte [esp + 0x74], 0
mov eax, dword [0x45cf84]
test al, 2
jne 0x40ee58
or eax, 2
mov dword [0x45cf84], eax
mov byte [esp + 0x74], 2
call fcn.00434c62
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x45cf80], edx
mov byte [esp + 0x74], 0
mov eax, dword [0x45cf84]
test al, 4
jne 0x40ee83
or eax, 4
mov dword [0x45cf84], eax
mov byte [esp + 0x74], 3
call fcn.00434c62
cdq
mov ecx, 0x1388
idiv ecx
mov dword [0x45cf88], edx
mov byte [esp + 0x74], 0
jmp 0x40ee89
mov edx, dword [0x45cf88]
xor eax, eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
mov byte [esp + 0x74], 4
inc edx
push edx
push dword [0x45cf80]
mov ecx, ebx
mov dword [0x45cf88], edx
call fcn.0040147f
push eax
lea eax, [esp + 0x58]
push 0x44a770
push eax
call fcn.0040ca30
add esp, 0x14
cmp dword [esp + 0x5c], 0
je 0x40f00d
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [esp + 0x4c]
push eax
lea edx, [esp + 0x38]
lea ecx, [esp + 0x20]
call fcn.0040ce50
add esp, 4
mov edi, eax
mov byte [esp + 0x74], 5
cmp esi, edi
je 0x40ef7b
cmp dword [esi + 0x14], 8
jb 0x40ef24
push dword [esi]
call fcn.004341ab
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [edi + 0x14], 8
jae 0x40ef52
mov eax, dword [edi + 0x10]
inc eax
je 0x40ef5c
add eax, eax
push eax
push edi
push esi
call fcn.00433950
add esp, 0xc
jmp 0x40ef5c
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov byte [esp + 0x74], 4
cmp dword [esp + 0x30], 8
jb 0x40ef93
push dword [esp + 0x1c]
call fcn.004341ab
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
cmp dword [esi + 0x14], 8
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
jb 0x40efb4
mov eax, dword [esi]
jmp 0x40efb6
mov eax, esi
push 0
push eax
call ebp
test eax, eax
jne 0x40f091
call ebx
cmp eax, 0xb7
jne 0x40f00d
mov eax, dword [0x45cf88]
mov ecx, dword [0x45cf80]
inc eax
inc ecx
mov dword [0x45cf88], eax
push eax
mov dword [0x45cf80], ecx
push ecx
mov ecx, dword [esp + 0x20]
call fcn.0040147f
push eax
lea eax, [esp + 0x58]
push 0x44a770
push eax
call fcn.0040ca30
add esp, 0x14
cmp dword [esp + 0x5c], 0
jne 0x40eef4
xor bl, bl
mov byte [esp + 0x74], 0
cmp dword [esp + 0x60], 8
jb 0x40f027
push dword [esp + 0x4c]
call fcn.004341ab
add esp, 4
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
mov dword [esp + 0x74], 0xffffffff
cmp dword [esp + 0x48], 8
jb 0x40f059
push dword [esp + 0x34]
call fcn.004341ab
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov word [esp + 0x34], ax
mov al, bl
mov dword [esp + 0x44], 0
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.004332ea
add esp, 0x64
ret
mov edx, 0x10
mov ecx, esi
call fcn.0040cc10
mov bl, 1
jmp 0x40f00f