Function at 0x40d1f0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x44d939
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x4651b0]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4651b0]
xor eax, esp
push eax
lea eax, [esp + 0x2ac]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2bc]
push 0x206
xor ebx, ebx
mov esi, ecx
lea edx, [esp + 0xa2]
xor ecx, ecx
push ebx
push edx
mov dword [esp + 0x40], eax
mov word [esp + 0xa8], cx
call fcn.0043ad60
add esp, 0xc
push esi
lea eax, [esp + 0xa0]
push 0x104
push eax
call fcn.0043a1cf
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403dc0
lea edi, [esp + 0x1c]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x2b4], ebx
call fcn.0040d0a0
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov edx, eax
sub edx, esi
sar edx, 5
mov dword [esp + 0x14], ebx
test edx, edx
jbe 0x40d4d8
lea esp, [esp]
xor eax, eax
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], ax
mov dword [esp + 0x7c], vtable.TString.0
mov byte [esp + 0x2b4], 1
xor ebp, ebp
xor ecx, ecx
push 1
mov eax, 0x45201c
lea esi, [esp + 0x40]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], cx
call fcn.00401760
mov dword [esp + 0x38], vtable.TString.0
mov byte [esp + 0x2b4], 2
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x28]
sar edx, 5
cmp ebp, edx
jb 0x40d329
call fcn.00438e02
mov eax, dword [esp + 0x28]
add eax, ebx
je 0x40d336
add eax, 4
jmp 0x40d338
xor eax, eax
lea ecx, [esp + 0x3c]
push ecx
push eax
lea edi, [esp + 0x60]
call fcn.00404ce0
add esp, 8
push 0
push eax
or eax, 0xffffffff
lea esi, [esp + 0x88]
mov byte [esp + 0x2bc], 3
call fcn.00404b70
mov esi, 8
cmp dword [esp + 0x70], esi
jb 0x40d37c
mov edx, dword [esp + 0x5c]
push edx
call fcn.00438e12
add esp, 4
xor eax, eax
mov byte [esp + 0x2b4], 1
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
mov dword [esp + 0x38], vtable.TString.0
cmp dword [esp + 0x54], esi
jb 0x40d3b6
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00438e12
add esp, 4
inc ebp
add ebx, 0x20
cmp ebp, dword [esp + 0x14]
jbe 0x40d2de
mov ebx, esi
cmp dword [esp + 0x98], ebx
jb 0x40d425
mov eax, dword [esp + 0x84]
test eax, eax
je 0x40d3f5
push 0
push eax
call fcn.0043922e
add esp, 8
cmp eax, 0xffffffff
jne 0x40d495
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x98], ebx
jae 0x40d405
lea eax, [esp + 0x84]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
je 0x40d495
mov edi, dword [esp + 0x34]
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x40d42e
xor eax, eax
jmp 0x40d436
lea eax, [esp + 0x84]
jmp 0x40d3da
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 5
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, ecx
sar edx, 5
cmp edx, eax
jae 0x40d471
mov byte [esp + 0x18], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x84]
push edx
push esi
mov ecx, 1
call fcn.00404e40
add esp, 0x10
add esi, 0x20
mov dword [edi + 0x10], esi
jmp 0x40d495
cmp ecx, esi
jbe 0x40d47a
call fcn.00438e02
mov eax, dword [edi]
push esi
push eax
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x80]
push ecx
mov eax, edi
call fcn.004041d0
mov dword [esp + 0x7c], vtable.TString.0
cmp dword [esp + 0x98], ebx
jb 0x40d4b6
mov edx, dword [esp + 0x84]
push edx
call fcn.00438e12
add esp, 4
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov edx, eax
sub edx, esi
inc ecx
sar edx, 5
xor ebx, ebx
mov dword [esp + 0x14], ecx
cmp ecx, edx
jb 0x40d2b0
mov dword [esp + 0x2b4], 4
cmp esi, ebx
je 0x40d50d
mov edi, eax
cmp esi, eax
je 0x40d504
lea ecx, [ecx]
mov eax, dword [esi]
mov edx, dword [eax]
push ebx
mov ecx, esi
call edx
add esi, 0x20
cmp esi, edi
jne 0x40d4f0
mov esi, dword [esp + 0x28]
push esi
call fcn.00438e12
add esp, 4
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00438e12
add esp, 4
mov ecx, dword [esp + 0x2ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.00438b17
add esp, 0x2a4
ret