Function at 0x424da0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461be5
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x472008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x68], edi
mov eax, dword [ebp + 8]
xor dl, dl
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
cmp dword [eax + 4], 0
je 0x424e11
mov eax, dword [eax]
mov eax, dword [eax]
cmp dword [eax + 4], 0
je 0x424e0f
mov esi, dword [eax]
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x61
jb 0x424dfe
cmp ecx, 0x7a
jbe 0x424e08
jmp 0x424e11
cmp ecx, 0x41
jb 0x424e11
cmp ecx, 0x5a
ja 0x424e11
cmp word [esi + 2], 0x3a
jne 0x424e11
mov dl, 1
cmp dword [edi + 0x60], 3
mov esi, 2
jne 0x424e30
test dl, dl
je 0x424e30
mov eax, dword [ebx]
xor ecx, ecx
mov dword [ebx + 4], 0
mov word [eax], cx
jmp 0x424e80
lea eax, [edi + 0x48]
cmp eax, ebx
je 0x424e80
mov eax, dword [eax + 4]
mov dword [ebp - 0x5c], eax
cmp eax, dword [ebx + 8]
jbe 0x424e68
xor ecx, ecx
inc eax
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045e549
push dword [ebx]
mov esi, eax
call fcn.0045e2f3
mov eax, dword [ebp - 0x5c]
add esp, 8
mov dword [ebx], esi
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
lea eax, [eax*2 + 2]
push eax
push dword [edi + 0x48]
push dword [ebx]
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x60]
xor esi, esi
mov dword [ebp - 0x5c], esi
cmp dword [edx + 4], esi
jbe 0x425094
test esi, esi
je 0x424ec2
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 4]
jne 0x424ea7
mov ecx, ebx
call fcn.0040b900
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebx + 4]
mov edi, 0x5c
mov eax, dword [ebx]
mov word [eax + ecx*2], di
inc ecx
xor edi, edi
mov word [eax + ecx*2], di
mov edi, dword [ebp - 0x68]
mov dword [ebx + 4], ecx
mov eax, dword [edx]
mov ecx, ebx
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x64], eax
push dword [eax + 4]
call fcn.0040b990
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebp - 0x64]
lea ecx, [eax + ecx*2]
mov eax, dword [edx + 4]
lea eax, [eax*2 + 2]
push eax
push dword [edx]
push ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x64]
add esp, 0xc
mov eax, dword [edx + 4]
add dword [ebx + 4], eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 4]
dec eax
cmp esi, eax
jne 0x424f16
cmp byte [edi + 0x84], 0
je 0x424f16
mov cl, 1
jmp 0x424f18
xor cl, cl
cmp dword [ebx + 4], 0
mov byte [ebp - 0x55], cl
jne 0x424f35
test cl, cl
je 0x425084
mov byte [edi + 0xd7], 1
jmp 0x425084
cmp dword [edi + 0x60], 3
jne 0x424f80
test esi, esi
jne 0x424f80
cmp dword [edx + 4], 2
jne 0x424f80
mov eax, dword [edx]
movzx eax, word [eax]
mov edx, eax
cmp eax, 0x61
jb 0x424f56
cmp edx, 0x7a
jbe 0x424f60
cmp edx, 0x41
jb 0x424f80
cmp edx, 0x5a
ja 0x424f80
mov edx, dword [ebp - 0x64]
mov eax, dword [edx]
cmp word [eax + 2], 0x3a
jne 0x424f80
test cl, cl
je 0x425084
mov byte [edi + 0xd7], 1
jmp 0x425084
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp byte [ebp - 0x55], 0
je 0x425084
mov esi, dword [ebx]
lea ecx, [ebp - 0x54]
call fcn.0040d8b0
push 0
push esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0
call fcn.0040e000
test al, al
je 0x424fc2
mov eax, dword [ebp - 0x34]
shr eax, 4
mov byte [ebp - 0x55], 1
test al, 1
jne 0x424fc6
mov byte [ebp - 0x55], 0
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x2c]
call fcn.0045e2f3
add esp, 4
cmp byte [ebp - 0x55], 0
jne 0x425081
xor eax, eax
mov byte [edi + 0xd7], 1
mov dword [ebp - 0x1c], eax
xor esi, esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
inc esi
cmp byte [esi + str.Cannot_create_folder], al
jne 0x424ff6
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045e549
add esp, 4
mov dword [ebp - 0x18], esi
mov edx, eax
mov dword [ebp - 0x14], esi
xor ecx, ecx
mov dword [ebp - 0x1c], edx
test esi, esi
je 0x425040
lea esp, [esp]
movzx eax, byte [ecx + str.Cannot_create_folder]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, esi
jb 0x425030
xor eax, eax
mov word [edx + esi*2], ax
mov edx, ebx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00425190
mov ecx, dword [edi + 0x34]
mov edi, dword [ebp - 0x1c]
push edi
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x4642a0]
call esi
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.0045e2f3
mov edi, dword [ebp - 0x68]
add esp, 4
mov esi, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x60]
inc esi
mov dword [ebp - 0x5c], esi
cmp esi, dword [edx + 4]
jb 0x424e91
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045e090
mov esp, ebp
pop ebp
ret 8