Function at 0x41c910
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ae88
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x47800c]
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
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push ecx
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.004032b0
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
test ebx, ebx
je 0x41c9b1
lea ecx, [ebx - 1]
cmp word [edi + ecx*2], 0x5c
lea ecx, [edi + ecx*2]
je 0x41c97e
cmp ecx, edi
je 0x41c9b1
sub ecx, 2
cmp word [ecx], 0x5c
jne 0x41c971
sub ecx, edi
sar ecx, 1
test ecx, ecx
jle 0x41c9b1
lea eax, [ebx - 1]
cmp ecx, eax
jne 0x41c9b1
cmp ebx, 3
jne 0x41c9a0
cmp word [edi + 2], 0x3a
jne 0x41c9a0
mov bl, 1
jmp 0x41cbdb
push 1
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00410cc0
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
lea ecx, [ebp - 0x28]
push ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.00403970
mov edx, dword [ebp - 0x28]
mov ecx, edi
sub edx, edi
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x41c9e5
mov eax, ebx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
mov esi, ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41cb26
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x41ca99
test ebx, ebx
je 0x41cc02
lea esi, [ebx - 1]
cmp word [edi + esi*2], 0x5c
lea esi, [edi + esi*2]
je 0x41ca47
cmp esi, edi
je 0x41cc02
sub esi, 2
cmp word [esi], 0x5c
jne 0x41ca36
sub esi, edi
sar esi, 1
js 0x41cc02
test esi, esi
je 0x41cc02
cmp word [edi + esi*2 - 2], 0x3a
je 0x41cc02
push esi
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00409d50
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004031b0
mov byte [ebp - 4], 1
push dword [ebp - 0x74]
call fcn.00456908
mov ebx, dword [ebp - 0x18]
add esp, 4
mov edi, dword [ebp - 0x1c]
jmp 0x41ca03
push 3
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call fcn.00403970
mov dword [ebp - 0x2c], 0xffffffff
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 3
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.0041cda0
mov bl, al
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x41cae5
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test bl, bl
jne 0x41cafb
push dword [ebp - 0x3c]
mov bl, 1
call fcn.00456908
add esp, 4
jmp 0x41cbd0
mov eax, dword [ebp - 0x44]
shr eax, 4
test al, 1
jne 0x41cb17
push dword [ebp - 0x3c]
xor bl, bl
call fcn.00456908
add esp, 4
jmp 0x41cbd0
mov byte [ebp - 4], 1
push dword [ebp - 0x3c]
call fcn.00456908
add esp, 4
mov ebx, dword [ebp - 0x68]
lea ecx, [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 0
push ebx
mov word [edi], ax
call fcn.00403970
mov edi, dword [ebp - 0x1c]
mov edx, edi
mov ecx, dword [ebp - 0x28]
sub edx, ecx
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x41cb50
mov dword [ebp - 0x18], ebx
cmp esi, ebx
jge 0x41cbce
nop word [eax + eax]
lea esi, [esi + 1]
movzx eax, word [edi + esi*2]
lea esi, [edi + esi*2]
cmp eax, 0x5c
je 0x41cb91
nop
test ax, ax
je 0x41cb97
movzx eax, word [esi + 2]
add esi, 2
cmp eax, 0x5c
jne 0x41cb80
sub esi, edi
sar esi, 1
jns 0x41cb99
mov esi, ebx
push esi
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00409d50
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [ebp - 0x74]
test eax, eax
setne bl
call fcn.00456908
mov edi, dword [ebp - 0x1c]
add esp, 4
test bl, bl
je 0x41cc02
mov ebx, dword [ebp - 0x18]
cmp esi, ebx
jl 0x41cb70
mov bl, 1
push dword [ebp - 0x28]
call fcn.00456908
add esp, 4
push edi
call fcn.00456908
add esp, 4
mov al, bl
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.004568f7
mov esp, ebp
pop ebp
ret
xor bl, bl
jmp 0x41cbd0