Function at 0x407e90
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x429030
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x434ca0]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x434ca0]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov eax, dword [esp + 0x84]
xor ebx, ebx
xor ecx, ecx
mov word [esp + 0x54], cx
mov ecx, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x407ee3
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x54]
call fcn.00408630
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x64]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x407f14
call fcn.00414f21
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x54]
mov ebp, 8
cmp dword [esp + 0x68], ebp
jae 0x407f27
lea ecx, [esp + 0x54]
cmp word [ecx + esi*2], 0x5c
je 0x407f84
or edx, 0xffffffff
sub edx, eax
cmp edx, 1
ja 0x407f41
call fcn.00428385
mov eax, dword [esp + 0x64]
lea edi, [eax + 1]
lea eax, [esp + 0x50]
call fcn.00408470
test al, al
je 0x407f84
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x68], ebp
jae 0x407f5f
lea eax, [esp + 0x54]
mov edx, dword [esp + 0x64]
mov ecx, 0x5c
mov word [eax + edx*2], cx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x64], edi
cmp dword [esp + 0x68], ebp
jae 0x407f7e
lea eax, [esp + 0x54]
xor ecx, ecx
mov word [eax + edi*2], cx
push 4
call fcn.004092ed
add esp, 4
cmp eax, ebx
je 0x407f9a
lea edx, [esp + 0x1c]
mov dword [eax], edx
jmp 0x407f9c
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], ax
mov byte [esp + 0x7c], 3
mov eax, dword [esp + 0x64]
xor ebp, ebp
mov dword [esp + 0x18], ebx
cmp eax, ebx
jbe 0x408129
jmp 0x407fe2
xor ebx, ebx
mov esi, 8
cmp ebp, eax
jbe 0x407ff0
call fcn.00414f21
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x68], esi
jae 0x407ffe
lea eax, [esp + 0x54]
cmp word [eax + ebp*2], 0x5c
je 0x408093
cmp ebp, dword [esp + 0x64]
jbe 0x408014
call fcn.00414f21
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x68], esi
jae 0x408022
lea eax, [esp + 0x54]
movzx edi, word [eax + ebp*2]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x48]
cmp ecx, 1
ja 0x408037
call fcn.00428385
mov esi, dword [esp + 0x48]
inc esi
cmp esi, 0x7ffffffe
jbe 0x408049
call fcn.00428385
mov eax, dword [esp + 0x4c]
cmp eax, esi
jae 0x408086
mov edx, dword [esp + 0x48]
push edx
push esi
lea eax, [esp + 0x3c]
push eax
call fcn.004086e0
cmp esi, ebx
jbe 0x40811c
mov eax, dword [esp + 0x38]
mov ecx, 8
cmp dword [esp + 0x4c], ecx
jae 0x40807c
lea eax, [esp + 0x38]
mov edx, dword [esp + 0x48]
mov word [eax + edx*2], di
jmp 0x408104
cmp esi, ebx
jne 0x408063
mov dword [esp + 0x48], ebx
jmp 0x408190
lea edx, [esp + 0x34]
push edx
lea ebx, [esp + 0x20]
call fcn.004083c0
or eax, 0xffffffff
sub eax, dword [esp + 0x48]
cmp eax, 1
ja 0x4080b2
call fcn.00428385
mov esi, dword [esp + 0x48]
inc esi
cmp esi, 0x7ffffffe
jbe 0x4080c4
call fcn.00428385
mov eax, dword [esp + 0x4c]
cmp eax, esi
jae 0x408184
mov ecx, dword [esp + 0x48]
push ecx
push esi
lea edx, [esp + 0x3c]
push edx
call fcn.004086e0
test esi, esi
jbe 0x40811c
mov eax, dword [esp + 0x38]
mov ecx, 8
cmp dword [esp + 0x4c], ecx
jae 0x4080f7
lea eax, [esp + 0x38]
mov edi, dword [esp + 0x48]
mov edx, 0x5c
mov word [eax + edi*2], dx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x48], esi
cmp dword [esp + 0x4c], ecx
jae 0x408116
lea eax, [esp + 0x38]
xor ecx, ecx
mov word [eax + esi*2], cx
mov eax, dword [esp + 0x64]
inc ebp
cmp ebp, eax
jb 0x407fe0
mov esi, dword [esp + 0x28]
cmp esi, dword [esp + 0x2c]
jbe 0x408138
call fcn.00414f21
mov edi, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, dword [esp + 0x2c]
cmp dword [esp + 0x28], ebx
jbe 0x408151
call fcn.00414f21
test edi, edi
je 0x40815b
cmp edi, dword [esp + 0x1c]
je 0x408160
call fcn.00414f21
cmp esi, ebx
je 0x4081de
test edi, edi
jne 0x4081a7
call fcn.00414f21
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x408179
call fcn.00414f21
cmp dword [esi + 0x18], 8
jb 0x4081ab
mov eax, dword [esi + 4]
jmp 0x4081ae
test esi, esi
jne 0x4080e2
mov dword [esp + 0x48], esi
cmp eax, 8
mov eax, dword [esp + 0x38]
jae 0x40819d
lea eax, [esp + 0x38]
xor ecx, ecx
mov word [eax], cx
jmp 0x40811c
mov eax, dword [edi]
jmp 0x40816f
lea eax, [esi + 4]
push 0
push eax
call ebp
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x18], eax
test edi, edi
jne 0x4081da
call fcn.00414f21
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x4081d2
call fcn.00414f21
add esi, 0x1c
jmp 0x408142
mov eax, dword [edi]
jmp 0x4081c8
cmp dword [esp + 0x4c], 8
jb 0x4081f2
mov edx, dword [esp + 0x38]
push edx
call fcn.0040931c
add esp, 4
mov esi, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
test esi, esi
je 0x40825b
mov edi, dword [esp + 0x2c]
cmp esi, edi
je 0x40824e
add esi, 0x18
lea esp, [esp]
cmp dword [esi], 8
jb 0x408231
mov ecx, dword [esi - 0x14]
push ecx
call fcn.0040931c
add esp, 4
xor edx, edx
mov dword [esi], 7
mov dword [esi - 4], 0
mov word [esi - 0x14], dx
add esi, 0x1c
lea eax, [esi - 0x18]
cmp eax, edi
jne 0x408220
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0040931c
add esp, 4
mov edx, dword [esp + 0x1c]
xor eax, eax
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call fcn.0040931c
add esp, 4
cmp dword [esp + 0x68], 8
jb 0x40828a
mov eax, dword [esp + 0x54]
push eax
call fcn.0040931c
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00413c41
add esp, 0x6c
ret 4