Function at 0x4247b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x496d18
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4bba40]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x4bba40]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
mov word [esp + 0x34], ax
mov ebx, 7
mov eax, edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], edi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x424802
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.004055f0
mov dword [esp + 0x78], edi
mov eax, dword [esp + 0x44]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x424830
call fcn.00464241
cmp dword [esp + 0x48], 8
mov eax, dword [esp + 0x34]
jae 0x42483f
lea eax, [esp + 0x34]
cmp word [eax + esi*2], 0x5c
je 0x424853
push 0x5c
push 1
lea ecx, [esp + 0x38]
call fcn.00424aa0
lea ecx, [esp + 0x18]
push ecx
call fcn.00424b90
xor edx, edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], edi
mov word [esp + 0x50], dx
mov byte [esp + 0x78], 2
mov ecx, dword [esp + 0x44]
xor esi, esi
mov dword [esp + 0x14], edi
cmp ecx, edi
jbe 0x4248e8
cmp esi, ecx
jbe 0x42488c
call fcn.00464241
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x34]
mov edi, 8
cmp dword [esp + 0x48], edi
jae 0x42489f
lea eax, [esp + 0x34]
cmp word [eax + esi*2], 0x5c
je 0x4248c4
cmp esi, ecx
jbe 0x4248af
call fcn.00464241
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x4248bd
lea eax, [esp + 0x34]
movzx eax, word [eax + esi*2]
push eax
jmp 0x4248d4
lea ecx, [esp + 0x4c]
push ecx
lea ebx, [esp + 0x1c]
call fcn.00424c40
push 0x5c
push 1
lea ecx, [esp + 0x54]
call fcn.00424aa0
mov ecx, dword [esp + 0x44]
inc esi
cmp esi, ecx
jb 0x42488c
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x28]
jbe 0x4248f7
call fcn.00464241
mov ebx, dword [esp + 0x18]
jmp 0x424900
mov edi, dword [esp + 0x28]
cmp dword [esp + 0x24], edi
jbe 0x42490f
call fcn.00464241
test ebx, ebx
je 0x424919
cmp ebx, dword [esp + 0x18]
je 0x42491e
call fcn.00464241
cmp esi, edi
je 0x42497a
test ebx, ebx
jne 0x424942
call fcn.00464241
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x424937
call fcn.00464241
cmp dword [esi + 0x18], 8
jb 0x424946
mov eax, dword [esi + 4]
jmp 0x424949
mov eax, dword [ebx]
jmp 0x42492d
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 0x424976
call fcn.00464241
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x424971
call fcn.00464241
add esi, 0x1c
jmp 0x424900
mov eax, dword [ebx]
jmp 0x424967
mov edi, 8
cmp dword [esp + 0x64], edi
jb 0x424992
mov edx, dword [esp + 0x50]
push edx
call fcn.004440dd
add esp, 4
mov esi, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
test esi, esi
je 0x4249fa
mov ebx, dword [esp + 0x28]
cmp esi, ebx
je 0x4249ed
add esi, 0x18
lea esp, [esp]
cmp dword [esi], edi
jb 0x4249d0
mov ecx, dword [esi - 0x14]
push ecx
call fcn.004440dd
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 0x4249c0
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004440dd
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.004440dd
add esp, 4
cmp dword [esp + 0x48], edi
jb 0x424a28
mov eax, dword [esp + 0x34]
push eax
call fcn.004440dd
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.00462d06
mov esp, ebp
pop ebp
ret