Function at 0x4277c0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x46ea08
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x489900]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x489900]
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 ebp, 7
mov ecx, eax
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x427814
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x54]
call fcn.00405220
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x64]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x427841
call fcn.00454181
mov eax, dword [esp + 0x54]
mov edi, 8
cmp dword [esp + 0x68], edi
jae 0x427854
lea eax, [esp + 0x54]
cmp word [eax + esi*2], 0x5c
je 0x427866
push 0x5c
lea esi, [esp + 0x54]
call fcn.0041c360
lea edx, [esp + 0x1c]
push edx
call fcn.0041c3c0
xor eax, eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], ax
mov byte [esp + 0x7c], 2
mov eax, dword [esp + 0x64]
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x18], ebx
jle 0x4279df
jmp 0x42789d
xor ebx, ebx
lea edi, [ebx + 8]
cmp ebp, eax
jbe 0x4278a6
call fcn.00454181
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x68], edi
jae 0x4278b4
lea eax, [esp + 0x54]
cmp word [eax + ebp*2], 0x5c
je 0x427949
cmp ebp, dword [esp + 0x64]
jbe 0x4278ca
call fcn.00454181
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x68], edi
jae 0x4278d8
lea eax, [esp + 0x54]
movzx edi, word [eax + ebp*2]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x48]
cmp ecx, 1
ja 0x4278ed
call fcn.0046b132
mov esi, dword [esp + 0x48]
inc esi
cmp esi, 0x7ffffffe
jbe 0x4278ff
call fcn.0046b132
mov eax, dword [esp + 0x4c]
cmp eax, esi
jae 0x42793c
mov edx, dword [esp + 0x48]
push edx
push esi
lea eax, [esp + 0x3c]
push eax
call fcn.004055a0
cmp esi, ebx
jbe 0x4279d2
mov eax, dword [esp + 0x38]
mov ecx, 8
cmp dword [esp + 0x4c], ecx
jae 0x427932
lea eax, [esp + 0x38]
mov edx, dword [esp + 0x48]
mov word [eax + edx*2], di
jmp 0x4279ba
cmp esi, ebx
jne 0x427919
mov dword [esp + 0x48], ebx
jmp 0x427a4e
lea edx, [esp + 0x34]
push edx
lea ebx, [esp + 0x20]
call fcn.0041c470
or eax, 0xffffffff
sub eax, dword [esp + 0x48]
cmp eax, 1
ja 0x427968
call fcn.0046b132
mov esi, dword [esp + 0x48]
inc esi
cmp esi, 0x7ffffffe
jbe 0x42797a
call fcn.0046b132
mov eax, dword [esp + 0x4c]
cmp eax, esi
jae 0x427a42
mov ecx, dword [esp + 0x48]
push ecx
push esi
lea edx, [esp + 0x3c]
push edx
call fcn.004055a0
test esi, esi
jbe 0x4279d2
mov eax, dword [esp + 0x38]
mov ecx, 8
cmp dword [esp + 0x4c], ecx
jae 0x4279ad
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 0x4279cc
lea eax, [esp + 0x38]
xor ecx, ecx
mov word [eax + esi*2], cx
mov eax, dword [esp + 0x64]
inc ebp
cmp ebp, eax
jl 0x427898
mov esi, dword [esp + 0x28]
cmp esi, dword [esp + 0x2c]
jbe 0x4279ee
call fcn.00454181
mov edi, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x427a00
mov ebx, dword [esp + 0x2c]
cmp dword [esp + 0x28], ebx
jbe 0x427a0f
call fcn.00454181
test edi, edi
je 0x427a19
cmp edi, dword [esp + 0x1c]
je 0x427a1e
call fcn.00454181
cmp esi, ebx
je 0x427a9c
test edi, edi
jne 0x427a65
call fcn.00454181
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x427a37
call fcn.00454181
cmp dword [esi + 0x18], 8
jb 0x427a69
mov eax, dword [esi + 4]
jmp 0x427a6c
test esi, esi
jne 0x427998
mov dword [esp + 0x48], esi
cmp eax, 8
mov eax, dword [esp + 0x38]
jae 0x427a5b
lea eax, [esp + 0x38]
xor ecx, ecx
mov word [eax], cx
jmp 0x4279d2
mov eax, dword [edi]
jmp 0x427a2d
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 0x427a98
call fcn.00454181
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x427a90
call fcn.00454181
add esi, 0x1c
jmp 0x427a00
mov eax, dword [edi]
jmp 0x427a86
cmp dword [esp + 0x4c], 8
jb 0x427ab0
mov edx, dword [esp + 0x38]
push edx
call fcn.00434a28
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 0x427b1b
mov edi, dword [esp + 0x2c]
cmp esi, edi
je 0x427b0e
add esi, 0x18
lea ebx, [ebx]
cmp dword [esi], 8
jb 0x427af1
mov ecx, dword [esi - 0x14]
push ecx
call fcn.00434a28
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 0x427ae0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00434a28
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.00434a28
add esp, 4
cmp dword [esp + 0x68], 8
jb 0x427b4a
mov eax, dword [esp + 0x54]
push eax
call fcn.00434a28
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.00452cf5
add esp, 0x6c
ret