Function at 0x40e0f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e1da
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x46600c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.0040241c
mov dword [ebp - 4], 0
cmp dword [ebp - 0x4c], 0
jne 0x40e159
lea ecx, [ebp - 0x5c]
call fcn.004181f0
test al, al
jne 0x40e159
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x4c], 0
cmovae eax, dword [ebp - 0x5c]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [0x46c570]
test al, 1
jne 0x40e18a
or eax, 1
mov dword [0x46c570], eax
mov byte [ebp - 4], 1
push 0
call fcn.00440795
add esp, 4
push eax
call fcn.00440704
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x46c570]
test al, 2
jne 0x40e1b8
or eax, 2
mov dword [0x46c570], eax
mov byte [ebp - 4], 2
call fcn.004406e3
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x46c574], edx
mov byte [ebp - 4], 0
mov eax, dword [0x46c570]
jmp 0x40e1be
mov edx, dword [0x46c574]
test al, 4
jne 0x40e1ee
or eax, 4
mov dword [0x46c570], eax
mov byte [ebp - 4], 3
call fcn.004406e3
cdq
mov ecx, 0x1388
idiv ecx
mov eax, edx
mov dword [0x46c578], eax
mov byte [ebp - 4], 0
mov edx, dword [0x46c574]
jmp 0x40e1f3
mov eax, dword [0x46c578]
xor ecx, ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], cx
mov byte [ebp - 4], 4
nop dword [eax]
inc eax
mov ecx, ebx
cmp dword [ebx + 0x14], 8
mov dword [0x46c578], eax
jb 0x40e230
mov ecx, dword [ebx]
push eax
push edx
push ecx
lea eax, [ebp - 0x44]
push str._sD._.03d._.03d
push eax
call fcn.0040c600
add esp, 0x14
cmp dword [ebp - 0x34], 0
je 0x40e456
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x74]
call fcn.0040ea00
add esp, 4
mov edi, eax
mov byte [ebp - 4], 5
cmp esi, edi
je 0x40e2d5
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x40e2a3
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40e299
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e519
mov eax, edx
push ecx
push eax
call fcn.0043b1d7
add esp, 8
push 0x18
xor eax, eax
mov dword [esi + 0x10], 0
push edi
mov dword [esi + 0x14], 7
push esi
mov word [esi], ax
call fcn.0043c710
add esp, 0xc
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x40e313
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e309
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e519
push edx
push ecx
call fcn.0043b1d7
add esp, 8
xor eax, eax
mov dword [ebp - 0x64], 0
cmp dword [esi + 0x14], 8
mov word [ebp - 0x74], ax
mov eax, esi
mov dword [ebp - 0x60], 7
jb 0x40e331
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push eax
call edi
test eax, eax
jne 0x40e446
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 6
lea edx, [ebp - 0x2c]
mov ecx, esi
call fcn.004197a0
test al, al
je 0x40e37e
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push eax
call edi
test eax, eax
jne 0x40e3f4
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40e3bc
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e3b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e519
push edx
push ecx
call fcn.0043b1d7
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40e456
mov edx, dword [0x46c574]
mov eax, dword [0x46c578]
inc edx
mov dword [0x46c574], edx
jmp 0x40e220
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40e432
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e428
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e519
push edx
push ecx
call fcn.0043b1d7
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov edx, 0x10
mov ecx, esi
call fcn.0040e680
mov bl, 1
jmp 0x40e458
xor bl, bl
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x40e496
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e48c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e51e
push edx
push ecx
call fcn.0043b1d7
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x40e4e7
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e4dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e523
push edx
push ecx
call fcn.0043b1d7
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
mov al, bl
mov dword [ebp - 0x48], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043af96
mov esp, ebp
pop ebp
ret
call fcn.0043f174
call fcn.0043f174
call fcn.0043f174
int3