Function at 0x180027c40
Capabilities:
Check mutex on windows
Create directory

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x188
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov rax, qword [0x180094030]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov dword [rsp + 0x20], 0
cmp qword [rsp + 0x190], 0
je 0x180027ca0
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x190]
movzx eax, word [rcx + rax]
test eax, eax
jne 0x180027ca7
xor al, al
jmp 0x1800283c5
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180093a10]
mov eax, dword [rcx + rax]
xor eax, 0xfffff721
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180093a10]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180093a10]
mov eax, dword [rcx + rax]
xor eax, 0xfffff719
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180093a10]
mov dword [rdx + rcx], eax
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x1a0]
test eax, eax
je 0x1800281ea
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180093a10]
mov eax, dword [rcx + rax]
xor eax, 0xfffff707
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180093a10]
mov dword [rdx + rcx], eax
mov edx, 1
lea rcx, [rsp + 0x130]
call fcn.18001b0e0
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x130]
call fcn.18001c1b0
nop
mov edx, 1
lea rcx, [rsp + 0x148]
call fcn.18001b0e0
lea rcx, [rsp + 0x148]
call fcn.18001c230
nop
mov qword [rsp + 0x30], 0
lea rax, [0x180096a14]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x180027e07
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x180027e07
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093a10]
mov edx, dword [rcx + rax]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 0xc
lea rdx, [0x180093a10]
mov dword [rdx + rcx], eax
mov eax, 1
mov word [rsp + 0x24], ax
movsx rax, word [rsp + 0x24]
lea rcx, [0x180093a10]
cmp dword [rcx + rax*4], 1
jne 0x180027e46
movsx rax, word [rsp + 0x24]
lea rcx, [0x180093a10]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x24]
lea rdx, [0x180093a10]
mov dword [rdx + rcx*4], eax
lea rax, [rsp + 0x118]
mov qword [rsp + 0x70], rax
mov r8, 0xffffffffffffffff
lea rdx, [0x180097340]
mov rcx, qword [rsp + 0x70]
call fcn.18001c1b0
mov qword [rsp + 0x90], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x130]
call fcn.180023150
mov qword [rsp + 0x30], rax
mov edx, 1
lea rcx, [rsp + 0x160]
call fcn.18001b0e0
cmp qword [rsp + 0x30], 0
jle 0x180027efb
lea rcx, [rsp + 0x130]
call fcn.180025f50
mov r8, qword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.18001c1b0
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x58], rax
jmp 0x180027f34
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x100]
call fcn.18001c0b0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x160]
call fcn.18001c0b0
nop
mov eax, dword [rsp + 0x20]
and eax, 2
test eax, eax
je 0x180027f75
and dword [rsp + 0x20], 0xfffffffd
lea rcx, [rsp + 0x100]
call fcn.180013670
nop
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x180027f92
and dword [rsp + 0x20], 0xfffffffe
lea rcx, [rsp + 0xe8]
call fcn.180013670
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
cmp eax, 0x7015e321
jne 0x180027fc0
lea r8, [0x180097350]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0xc0], rax
jmp 0x180027fe8
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093a10]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093a10]
mov dword [rdx + rcx], eax
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x148]
call fcn.180021960
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
cmp eax, 0x4f78de49
jne 0x18002802b
lea r8, [0x180097398]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0xc8], rax
jmp 0x180028053
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093a10]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093a10]
mov dword [rdx + rcx], eax
lea rcx, [rsp + 0x148]
call fcn.18000bd00
xor edx, edx
mov rcx, rax
call fcn.180028d80
movzx eax, al
test eax, eax
jne 0x18002812e
lea rcx, [rsp + 0x148]
call fcn.18000bd00
mov rdx, qword [rsp + 0x198]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [rsp + 0x28], eax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180093a10]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x180093a10]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180093a10]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x180093a10]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x180028115
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180093a10]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180093a10]
mov dword [rdx + rcx], eax
cmp dword [rsp + 0x28], 0
jne 0x18002812e
lea rcx, [rsp + 0x160]
call fcn.180013670
jmp 0x1800281ca
lea rcx, [rsp + 0x130]
call fcn.180025f50
mov rcx, qword [rsp + 0x30]
lea rax, [rax + rcx*2 + 2]
mov r8, 0xffffffffffffffff
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.18001c1b0
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x130]
call fcn.18001c880
nop
lea rcx, [rsp + 0xd0]
call fcn.180013670
cmp qword [rsp + 0x30], 0
jle 0x1800281b1
mov dx, 0x5c
lea rcx, [rsp + 0x148]
call fcn.180024cb0
nop
lea rcx, [rsp + 0x160]
call fcn.180013670
cmp qword [rsp + 0x30], 0
jg 0x180027e07
lea rcx, [rsp + 0x148]
call fcn.180013670
nop
lea rcx, [rsp + 0x130]
call fcn.180013670
jmp 0x1800282a6
xor edx, edx
mov rcx, qword [rsp + 0x190]
call fcn.180028d80
movzx eax, al
test eax, eax
jne 0x18002829e
mov rdx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [rsp + 0x28], eax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180093a10]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x180093a10]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180093a10]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x180093a10]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x18002829c
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180093a10]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180093a10]
mov dword [rdx + rcx], eax
jmp 0x1800282a6
mov dword [rsp + 0x28], 1
cmp dword [rsp + 0x28], 0
je 0x1800282d3
mov dword [rsp + 0x38], SafeArrayCopy
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x38]
movsxd rcx, ecx
lea rdx, [0x180093a10]
mov dword [rdx + rcx*4], eax
mov al, 1
jmp 0x1800283c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0xb7
jne 0x1800283c3
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180093a10]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x180093a10]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180093a10]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x180093a10]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x180028369
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180093a10]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180093a10]
mov dword [rdx + rcx], eax
mov al, 1
jmp 0x1800283c5
xor al, al
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.18004a8d0
add rsp, 0x188
ret