Function at 0x40b8c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8f46
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x5299c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x164], edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
push 0x104
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 0
push eax
push dword [0x534868]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x40b958
add eax, 0xffffffff
mov ecx, 2
js 0x40b958
cmp byte [ebp + eax - 0x118], 0x5c
jne 0x40b953
sub ecx, 1
je 0x40b9fe
sub eax, 1
jns 0x40b940
push 1
push 0x4f6764
lea ecx, [ebp - 0x130]
call fcn.00402f30
test esi, esi
je 0x40b989
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b973
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x130]
call fcn.00402f30
lea eax, [ebp - 0x130]
push eax
call fcn.0040df50
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x40b9bd
test esi, esi
je 0x40b9bd
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b9a7
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x130]
call fcn.00403090
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 0x11c]
mov esi, dword [ebp - 0x130]
test ecx, ecx
je 0x40bb36
cmp edx, 0x10
lea eax, [ebp - 0x130]
cmovae eax, esi
cmp byte [ecx + eax - 1], 0x5c
jne 0x40bb36
lea edi, [ecx - 1]
cmp ecx, edi
jb 0x40bbe8
jmp 0x40bb01
cmp eax, 0x105
jae 0x40bbed
lea ecx, [ebp - 0x118]
mov byte [ebp + eax - 0x118], 0
mov dword [ebp - 0x150], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ba35
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x160]
call fcn.00403090
push 5
push str.logs
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
call fcn.00402f30
lea ecx, [ebp - 0x130]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x17c], xmm0
movups xmmword [ebp - 0x148], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
movq qword [ebp - 0x16c], xmm0
movq qword [ebp - 0x138], xmm0
mov byte [eax], 0
call fcn.00401e30
movups xmm0, xmmword [ebp - 0x17c]
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0xf
movups xmmword [ebp - 0x130], xmm0
mov byte [ebp - 0x148], 0
movq xmm0, qword [ebp - 0x16c]
movq qword [ebp - 0x120], xmm0
call fcn.00401e30
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 0
call fcn.00401e30
jmp 0x40b958
cmp edx, 0x10
mov dword [ebp - 0x120], edi
lea ecx, [ebp - 0x130]
cmovae ecx, esi
add ecx, edi
push 1
lea eax, [ecx + 1]
push eax
push ecx
call fcn.004c3290
mov edx, dword [ebp - 0x11c]
add esp, 0xc
mov esi, dword [ebp - 0x130]
mov edi, dword [ebp - 0x164]
cmp edx, 0x10
lea eax, [ebp - 0x130]
push 0
cmovae eax, esi
push eax
call fcn.0040df20
add esp, 8
test eax, eax
jne 0x40bb6e
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
push 0
cmovae eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [edi + 0x1c]
lea eax, [ebp - 0x130]
cmp ecx, eax
je 0x40bb95
cmp dword [ebp - 0x11c], 0x10
push dword [ebp - 0x120]
cmovae eax, dword [ebp - 0x130]
push eax
call fcn.00403090
mov edx, dword [ebp - 0x11c]
cmp edx, 0x10
jb 0x40bbcb
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bbc1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bbf2
push edx
push ecx
call fcn.004ab6c8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ab970
mov esp, ebp
pop ebp
ret 8
call fcn.0040be60
call fcn.004abe58
call fcn.004c6d19
int3