Function at 0x422090
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4575e5
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x46a008]
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 0x4220f6
mov eax, dword [eax]
mov eax, dword [eax]
cmp dword [eax + 4], 0
jne 0x4220d6
mov cl, 1
jmp 0x4220f6
mov edx, dword [eax]
movzx eax, word [edx]
or eax, 0x20
sub eax, 0x61
cmp eax, 0x19
ja 0x4220f6
cmp word [edx + 2], 0x3a
mov eax, 1
movzx ecx, cl
cmove ecx, eax
cmp dword [edi + 0x44], 3
jne 0x422113
test cl, cl
je 0x422113
mov esi, dword [ebp + 0xc]
xor ecx, ecx
mov eax, dword [esi]
mov dword [esi + 4], 0
mov word [eax], cx
jmp 0x422121
mov esi, dword [ebp + 0xc]
lea eax, [edi + 0x5c]
push eax
mov ecx, esi
call fcn.0040a5b0
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp + 0xc], ebx
cmp dword [eax + 4], ebx
jbe 0x422370
test ebx, ebx
je 0x422160
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
jne 0x422148
mov ecx, esi
call fcn.0040a330
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.0040a3c0
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.00449190
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 0x4221b4
cmp byte [edi + 0x8c], 0
je 0x4221b4
mov bl, 1
jmp 0x4221b6
xor bl, bl
cmp dword [esi + 4], 0
jne 0x4221cd
test bl, bl
je 0x42235d
mov byte [edi + 0x3a], 1
jmp 0x42235d
cmp dword [edi + 0x44], 3
jne 0x422207
cmp dword [ebp + 0xc], 0
jne 0x422207
cmp dword [ecx + 4], 2
jne 0x422207
mov ecx, dword [ecx]
movzx eax, word [ecx]
or eax, 0x20
sub eax, 0x61
cmp eax, 0x19
ja 0x422207
cmp word [ecx + 2], 0x3a
jne 0x422207
test bl, bl
je 0x42235d
mov byte [edi + 0x3a], 1
jmp 0x42235d
cmp byte [0x899ce9], 0
mov eax, dword [esi]
jne 0x422233
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.0040aa30
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0x2c]
call fcn.0044824b
add esp, 4
jmp 0x42223c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test bl, bl
je 0x42235d
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.00448381
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.0040d4f0
test al, al
je 0x4222cb
mov eax, dword [ebp - 0x44]
shr eax, 4
test al, 1
je 0x4222cb
mov bl, 1
jmp 0x4222cd
xor bl, bl
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x3c]
call fcn.0044824b
add esp, 4
test bl, bl
jne 0x42235a
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
push str.Cannot_create_folder
mov byte [eax + 0x3a], 1
call fcn.0040a460
push 0x460370
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call fcn.0040a730
push dword [esi + 4]
lea ecx, [ebp - 0x20]
call fcn.0040a3c0
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.00449190
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.0044824b
add esp, 4
jmp 0x42235d
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 0x422132
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