Function at 0x45aaa0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e17b6
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x7b088c]
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 eax, dword [ebp + 8]
lea ecx, [ebp - 0x54]
push eax
call fcn.00455530
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x54]
test ebx, ebx
je 0x45ab34
lea ecx, [ebx - 1]
cmp word [edi + ecx*2], 0x5c
lea ecx, [edi + ecx*2]
je 0x45ab02
cmp ecx, edi
je 0x45ab34
sub ecx, 2
cmp word [ecx], 0x5c
jne 0x45aaf5
sub ecx, edi
sar ecx, 1
test ecx, ecx
jle 0x45ab34
lea eax, [ebx - 1]
cmp ecx, eax
jne 0x45ab34
cmp ebx, 3
jne 0x45ab24
cmp word [edi + 2], 0x3a
jne 0x45ab24
mov bl, 1
jmp 0x45ad60
push ecx
push ecx
lea ecx, [ebp - 0x54]
call fcn.0045b950
mov ebx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x54]
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
call fcn.00455f70
mov edx, dword [ebp - 0x60]
mov ecx, edi
sub edx, edi
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x45ab60
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 4], 1
mov esi, ebx
nop dword [eax]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x45aca7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x45ac16
test ebx, ebx
je 0x45ad87
lea esi, [ebx - 1]
cmp word [edi + esi*2], 0x5c
lea esi, [edi + esi*2]
je 0x45abc4
cmp esi, edi
je 0x45ad87
sub esi, 2
cmp word [esi], 0x5c
jne 0x45abb3
sub esi, edi
sar esi, 1
js 0x45ad87
test esi, esi
je 0x45ad87
cmp word [edi + esi*2 - 2], 0x3a
je 0x45ad87
push esi
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x54]
call fcn.00455220
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.00455430
mov byte [ebp - 4], 1
push dword [ebp - 0x70]
call fcn.00682d6d
mov ebx, dword [ebp - 0x50]
add esp, 4
mov edi, dword [ebp - 0x54]
jmp 0x45ab80
push 3
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00455f70
mov dword [ebp - 0x64], 0xffffffff
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 3
push eax
push edi
lea ecx, [ebp - 0x64]
call fcn.0045bec0
mov bl, al
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x64]
cmp eax, 0xffffffff
je 0x45ac62
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 2
test bl, bl
jne 0x45ac7c
push dword [ebp - 0x20]
mov bl, 1
call fcn.00682d6d
add esp, 4
jmp 0x45ad55
mov eax, dword [ebp - 0x28]
shr eax, 4
test al, 1
jne 0x45ac98
push dword [ebp - 0x20]
xor bl, bl
call fcn.00682d6d
add esp, 4
jmp 0x45ad55
mov byte [ebp - 4], 1
push dword [ebp - 0x20]
call fcn.00682d6d
add esp, 4
mov ebx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x50], 0
push ebx
mov word [edi], ax
call fcn.00455f70
mov edi, dword [ebp - 0x54]
mov edx, edi
mov ecx, dword [ebp - 0x60]
sub edx, ecx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x45acd0
mov dword [ebp - 0x50], ebx
cmp esi, ebx
jge 0x45ad53
nop word [eax + eax]
lea esi, [esi + 1]
movzx eax, word [edi + esi*2]
lea esi, [edi + esi*2]
cmp eax, 0x5c
je 0x45ad11
nop
test ax, ax
je 0x45ad17
movzx eax, word [esi + 2]
add esi, 2
cmp eax, 0x5c
jne 0x45ad00
sub esi, edi
sar esi, 1
jns 0x45ad19
mov esi, ebx
push esi
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x54]
call fcn.00455220
push 0
mov byte [ebp - 4], 6
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
mov byte [ebp - 4], 1
push dword [ebp - 0x70]
setne bl
call fcn.00682d6d
add esp, 4
test bl, bl
je 0x45ad87
mov ebx, dword [ebp - 0x5c]
cmp esi, ebx
jl 0x45acf0
mov bl, 1
push dword [ebp - 0x60]
call fcn.00682d6d
add esp, 4
push edi
call fcn.00682d6d
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.00682c16
mov esp, ebp
pop ebp
ret
xor bl, bl
jmp 0x45ad55