Function at 0x180028b40
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, 0x198
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov rax, qword [0x180097030]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
cmp eax, 0x1c037351
jne 0x180028baa
lea r8, [0x18009a010]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0xb8], rax
jmp 0x180028bd2
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180096a10]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180096a10]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180096a10]
mov eax, dword [rcx + rax]
xor eax, 0xfffff6a6
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180096a10]
mov dword [rdx + rcx], eax
cmp qword [rsp + 0x1a0], 0
je 0x180028c21
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x1a0]
movzx eax, word [rcx + rax]
test eax, eax
jne 0x180028c28
xor al, al
jmp 0x1800294ae
mov dword [rsp + 0x30], 0
mov eax, 7
mov word [rsp + 0x2c], ax
movsx rax, word [rsp + 0x2c]
lea rcx, [0x180096a10]
cmp dword [rcx + rax*4], 1
jne 0x180028c6f
movsx rax, word [rsp + 0x2c]
lea rcx, [0x180096a10]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x2c]
lea rdx, [0x180096a10]
mov dword [rdx + rcx*4], eax
movzx eax, byte [rsp + 0x1b0]
test eax, eax
je 0x1800291b0
mov eax, SafeArrayGetDim
mov word [rsp + 0x28], ax
movsx rax, word [rsp + 0x28]
lea rcx, [0x180096a10]
cmp dword [rcx + rax*4], 1
jne 0x180028cbe
movsx rax, word [rsp + 0x28]
lea rcx, [0x180096a10]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x28]
lea rdx, [0x180096a10]
mov dword [rdx + rcx*4], eax
mov edx, 1
lea rcx, [rsp + 0x140]
call fcn.18001b1e0
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0x1a0]
lea rcx, [rsp + 0x140]
call fcn.18001c140
nop
mov edx, 1
lea rcx, [rsp + 0x158]
call fcn.18001b1e0
lea rcx, [rsp + 0x158]
call fcn.18001c1b0
nop
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180096a10]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x180096a10]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180096a10]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x180096a10]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x180028d8b
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096a10]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180096a10]
mov dword [rdx + rcx], eax
mov qword [rsp + 0x38], 0
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096a10]
mov eax, dword [rcx + rax]
add eax, 0x4830a14
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180096a10]
mov dword [rdx + rcx], eax
lea rax, [rsp + 0x128]
mov qword [rsp + 0xa8], rax
mov r8, 0xffffffffffffffff
lea rdx, [0x18009a050]
mov rcx, qword [rsp + 0xa8]
call fcn.18001c140
mov qword [rsp + 0x78], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x140]
call fcn.180023e00
mov qword [rsp + 0x38], rax
mov edx, 1
lea rcx, [rsp + 0x170]
call fcn.18001b1e0
cmp qword [rsp + 0x38], 0
jle 0x180028e7a
lea rcx, [rsp + 0x140]
call fcn.18001c8a0
mov r8, qword [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0xf8]
call fcn.18001c140
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x60], rax
jmp 0x180028eb3
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x110]
call fcn.18001bf80
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x170]
call fcn.18001bf80
nop
mov eax, dword [rsp + 0x20]
and eax, 2
test eax, eax
je 0x180028ef4
and dword [rsp + 0x20], 0xfffffffd
lea rcx, [rsp + 0x110]
call fcn.1800136e0
nop
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x180028f11
and dword [rsp + 0x20], 0xfffffffe
lea rcx, [rsp + 0xf8]
call fcn.1800136e0
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x158]
call fcn.180022110
lea rcx, [rsp + 0x158]
call fcn.180013930
xor edx, edx
mov rcx, rax
call fcn.180029ee0
movzx eax, al
test eax, eax
jne 0x18002905b
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
cmp eax, 0xca0f04c1
jne 0x180028f76
lea r8, [0x18009a060]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0xd8], rax
jmp 0x180028f9e
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180096a10]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180096a10]
mov dword [rdx + rcx], eax
lea rcx, [rsp + 0x158]
call fcn.180013930
mov rdx, qword [rsp + 0x1a8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x18002905b
lea rcx, [rsp + 0x170]
call fcn.1800136e0
jmp 0x180029190
lea rcx, [rsp + 0x140]
call fcn.18001c8a0
mov rcx, qword [rsp + 0x38]
lea rax, [rax + rcx*2 + 2]
mov r8, 0xffffffffffffffff
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.18001c140
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x140]
call fcn.18001c620
nop
lea rcx, [rsp + 0xe0]
call fcn.1800136e0
lea rax, [0x180099704]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x180029133
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x180029133
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180096a10]
mov edx, dword [rcx + rax]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 0xc
lea rdx, [0x180096a10]
mov dword [rdx + rcx], eax
cmp qword [rsp + 0x38], 0
jle 0x180029177
mov dx, 0x5c
lea rcx, [rsp + 0x158]
call fcn.180025a40
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096a10]
mov eax, dword [rcx + rax]
add eax, 0x1ae8134
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180096a10]
mov dword [rdx + rcx], eax
lea rcx, [rsp + 0x170]
call fcn.1800136e0
cmp qword [rsp + 0x38], 0
jg 0x180028d94
lea rcx, [rsp + 0x158]
call fcn.1800136e0
nop
lea rcx, [rsp + 0x140]
call fcn.1800136e0
jmp 0x18002926b
xor edx, edx
mov rcx, qword [rsp + 0x1a0]
call fcn.180029ee0
movzx eax, al
test eax, eax
jne 0x18002920d
mov rdx, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [rsp + 0x30], eax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180096a10]
mov eax, dword [rcx + rax]
xor eax, 0xfffff605
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x180096a10]
mov dword [rdx + rcx], eax
jmp 0x18002926b
mov dword [rsp + 0x30], 1
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180096a10]
mov eax, dword [rcx + rax]
xor eax, 0xfffff5f8
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180096a10]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096a10]
mov eax, dword [rcx + rax]
add eax, 0x5b2f7b4
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180096a10]
mov dword [rdx + rcx], eax
cmp dword [rsp + 0x30], 0
je 0x1800292a4
mov al, 1
jmp 0x1800294ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0xb7
jne 0x1800293d6
mov eax, 9
mov word [rsp + 0x24], ax
movsx rax, word [rsp + 0x24]
lea rcx, [0x180096a10]
cmp dword [rcx + rax*4], 1
jne 0x1800292fb
movsx rax, word [rsp + 0x24]
lea rcx, [0x180096a10]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x24]
lea rdx, [0x180096a10]
mov dword [rdx + rcx*4], eax
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
cmp eax, 0x79a1eb9
jne 0x180029329
lea r8, [0x18009a0a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0xc8], rax
jmp 0x180029351
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180096a10]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180096a10]
mov dword [rdx + rcx], eax
mov al, 1
jmp 0x1800294ae
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180096a10]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x180096a10]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180096a10]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x180096a10]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x180029454
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096a10]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180096a10]
mov dword [rdx + rcx], eax
xor al, al
jmp 0x1800294ae
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.18004b890
add rsp, 0x198
ret