Function at 0x420920
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x473278
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x48f900]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x48f900]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
xor ecx, ecx
mov word [esp + 0x50], cx
mov ebx, 7
mov ecx, eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], edi
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x420975
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x50]
call fcn.00405430
mov dword [esp + 0x78], edi
mov eax, dword [esp + 0x60]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x4209a2
call fcn.00458cf1
cmp dword [esp + 0x64], 8
mov eax, dword [esp + 0x50]
jae 0x4209b1
lea eax, [esp + 0x50]
cmp word [eax + esi*2], 0x5c
je 0x4209c3
push 0x5c
lea esi, [esp + 0x50]
call fcn.00420cc0
lea edx, [esp + 0x18]
push edx
call fcn.004255e0
xor eax, eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], edi
mov word [esp + 0x34], ax
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], edi
cmp edi, eax
jae 0x420b32
jbe 0x4209f8
call fcn.00458cf1
mov eax, dword [esp + 0x50]
mov esi, 8
cmp dword [esp + 0x64], esi
jae 0x420a0b
lea eax, [esp + 0x50]
cmp word [eax + edi*2], 0x5c
je 0x420a9c
cmp edi, dword [esp + 0x60]
jbe 0x420a21
call fcn.00458cf1
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x64], esi
jae 0x420a2f
lea eax, [esp + 0x50]
movzx ebx, word [eax + edi*2]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x44]
cmp ecx, 1
ja 0x420a44
call fcn.0046fca8
mov esi, dword [esp + 0x44]
inc esi
cmp esi, 0x7ffffffe
jbe 0x420a56
call fcn.0046fca8
mov eax, dword [esp + 0x48]
cmp eax, esi
jae 0x420a93
mov edx, dword [esp + 0x44]
push edx
push esi
lea eax, [esp + 0x38]
push eax
call fcn.004057b0
test esi, esi
jbe 0x420b25
mov eax, dword [esp + 0x34]
mov ecx, 8
cmp dword [esp + 0x48], ecx
jae 0x420a89
lea eax, [esp + 0x34]
mov edx, dword [esp + 0x44]
mov word [eax + edx*2], bx
jmp 0x420b0d
test esi, esi
jne 0x420a70
jmp 0x420b93
lea edx, [esp + 0x30]
push edx
lea ebx, [esp + 0x1c]
call fcn.00420d70
or eax, 0xffffffff
sub eax, dword [esp + 0x44]
cmp eax, 1
ja 0x420abb
call fcn.0046fca8
mov esi, dword [esp + 0x44]
inc esi
cmp esi, 0x7ffffffe
jbe 0x420acd
call fcn.0046fca8
mov eax, dword [esp + 0x48]
cmp eax, esi
jae 0x420b8b
mov ecx, dword [esp + 0x44]
push ecx
push esi
lea edx, [esp + 0x38]
push edx
call fcn.004057b0
test esi, esi
jbe 0x420b25
mov eax, dword [esp + 0x34]
mov ecx, 8
cmp dword [esp + 0x48], ecx
jae 0x420b00
lea eax, [esp + 0x34]
mov ebx, dword [esp + 0x44]
mov edx, 0x5c
mov word [eax + ebx*2], dx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], esi
cmp dword [esp + 0x48], ecx
jae 0x420b1f
lea eax, [esp + 0x34]
xor ecx, ecx
mov word [eax + esi*2], cx
mov eax, dword [esp + 0x60]
inc edi
cmp edi, eax
jb 0x4209f8
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x28]
jbe 0x420b41
call fcn.00458cf1
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
cmp dword [esp + 0x24], edi
jbe 0x420b54
call fcn.00458cf1
test ebx, ebx
je 0x420b5e
cmp ebx, dword [esp + 0x18]
je 0x420b63
call fcn.00458cf1
cmp esi, edi
je 0x420bed
test ebx, ebx
jne 0x420bb2
call fcn.00458cf1
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x420b80
call fcn.00458cf1
cmp dword [esi + 0x18], 8
jb 0x420bb6
mov eax, dword [esi + 4]
jmp 0x420bb9
test esi, esi
jne 0x420aeb
cmp eax, 8
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], 0
jae 0x420ba8
lea eax, [esp + 0x34]
xor ecx, ecx
mov word [eax], cx
jmp 0x420b25
mov eax, dword [ebx]
jmp 0x420b76
lea eax, [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x14], eax
test ebx, ebx
jne 0x420be9
call fcn.00458cf1
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x420be1
call fcn.00458cf1
add esi, 0x1c
jmp 0x420b45
mov eax, dword [ebx]
jmp 0x420bd7
cmp dword [esp + 0x48], 8
jb 0x420c01
mov edx, dword [esp + 0x34]
push edx
call fcn.00439598
add esp, 4
mov esi, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
test esi, esi
je 0x420c6b
mov ebx, dword [esp + 0x28]
cmp esi, ebx
je 0x420c5e
add esi, 0x18
jmp 0x420c30
cmp dword [esi], 8
jb 0x420c41
mov ecx, dword [esi - 0x14]
push ecx
call fcn.00439598
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, ebx
jne 0x420c30
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00439598
add esp, 4
mov edx, dword [esp + 0x18]
xor eax, eax
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call fcn.00439598
add esp, 4
cmp dword [esp + 0x64], 8
jb 0x420c9a
mov eax, dword [esp + 0x50]
push eax
call fcn.00439598
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00457861
mov esp, ebp
pop ebp
ret