Function at 0x421fb0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459b45
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x46c008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
xor cl, cl
cmp dword [eax + 4], 0
je 0x422016
mov eax, dword [eax]
mov eax, dword [eax]
cmp dword [eax + 4], 0
jne 0x421ff6
mov cl, 1
jmp 0x422016
mov edx, dword [eax]
movzx eax, word [edx]
or eax, 0x20
sub eax, 0x61
cmp eax, 0x19
ja 0x422016
cmp word [edx + 2], 0x3a
mov eax, 1
movzx ecx, cl
cmove ecx, eax
cmp dword [edi + 0x44], 3
jne 0x422033
test cl, cl
je 0x422033
mov esi, dword [ebp + 0xc]
xor ecx, ecx
mov eax, dword [esi]
mov dword [esi + 4], 0
mov word [eax], cx
jmp 0x422041
mov esi, dword [ebp + 0xc]
lea eax, [edi + 0x5c]
push eax
mov ecx, esi
call fcn.0040a4c0
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp + 0xc], ebx
cmp dword [eax + 4], ebx
jbe 0x422290
test ebx, ebx
je 0x422080
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
jne 0x422068
mov ecx, esi
call fcn.0040a240
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, 0x5c
mov word [eax + ecx*2], dx
inc ecx
xor edx, edx
mov word [eax + ecx*2], dx
mov eax, dword [ebp + 8]
mov dword [esi + 4], ecx
mov eax, dword [eax]
mov ecx, esi
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x14], eax
push dword [eax + 4]
call fcn.0040a2d0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x14]
lea ecx, [eax + ecx*2]
mov eax, dword [edx + 4]
lea eax, [eax*2 + 2]
push eax
push dword [edx]
push ecx
call fcn.0044b640
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [ecx + 4]
add dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
dec eax
cmp ebx, eax
jne 0x4220d4
cmp byte [edi + 0x8c], 0
je 0x4220d4
mov bl, 1
jmp 0x4220d6
xor bl, bl
cmp dword [esi + 4], 0
jne 0x4220ed
test bl, bl
je 0x42227d
mov byte [edi + 0x3a], 1
jmp 0x42227d
cmp dword [edi + 0x44], 3
jne 0x422127
cmp dword [ebp + 0xc], 0
jne 0x422127
cmp dword [ecx + 4], 2
jne 0x422127
mov ecx, dword [ecx]
movzx eax, word [ecx]
or eax, 0x20
sub eax, 0x61
cmp eax, 0x19
ja 0x422127
cmp word [ecx + 2], 0x3a
jne 0x422127
test bl, bl
je 0x42227d
mov byte [edi + 0x3a], 1
jmp 0x42227d
cmp byte [0x46e2d1], 0
mov eax, dword [esi]
jne 0x422153
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.0040a940
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0x2c]
call fcn.0044a6fb
add esp, 4
jmp 0x42215c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test bl, bl
je 0x42227d
mov edi, dword [esi]
xorps xmm0, xmm0
push 8
movlpd qword [ebp - 0x64], xmm0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov word [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
call fcn.0044a831
xor ecx, ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
add esp, 4
mov dword [ebp - 0x34], 3
mov word [eax], cx
push ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x64]
push edi
call fcn.0040d410
test al, al
je 0x4221eb
mov eax, dword [ebp - 0x44]
shr eax, 4
test al, 1
je 0x4221eb
mov bl, 1
jmp 0x4221ed
xor bl, bl
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x3c]
call fcn.0044a6fb
add esp, 4
test bl, bl
jne 0x42227a
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
push str.Cannot_create_folder
mov byte [eax + 0x3a], 1
call fcn.0040a370
push 0x462418
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call fcn.0040a640
push dword [esi + 4]
lea ecx, [ebp - 0x20]
call fcn.0040a2d0
mov eax, dword [esi + 4]
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
lea eax, [eax*2 + 2]
push eax
push dword [esi]
lea ecx, [ebx + edi*2]
push ecx
call fcn.0044b640
add edi, dword [esi + 4]
add esp, 0xc
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x10]
push ebx
mov eax, dword [edi + 0x50]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0044a6fb
add esp, 4
jmp 0x42227d
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
inc ebx
mov dword [ebp + 0xc], ebx
cmp ebx, dword [eax + 4]
jb 0x422052
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8