Function at 0x15030fca0
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x150012098]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdx, [0x15030ee0c]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetProcessDEPPolicy]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], 0xa
mov edi, reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x70], rdi
movsd xmm0, qword [0x15017e7d0]
movsd qword [rsp + 0x58], xmm0
movzx eax, word [0x15017e7d8]
mov word [rsp + 0x60], ax
mov byte [rsp + 0x62], 0
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x15030fd5e
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x15030fd59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x15030ff8a
call fcn.15040acc0
and qword [rsp + 0x68], 0
mov qword [rsp + 0x70], rdi
mov byte [rsp + 0x58], 0
test rbx, rbx
je 0x15030fd9b
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x15030fd9b
lea rdx, [0x15017eaf0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x15030fd9b
mov rcx, 0xfffffffffffffffc
call rax
call fcn.15030faf0
xor ecx, ecx
call fcn.1504250e8
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
imul ebx, eax
not ebx
xor ebx, edi
mov ecx, ebx
call fcn.150420778
mov byte [rsp + 0x20], 1
lea rax, [rsp + 0x20]
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x60], 1
and qword [rsp + 0x28], 0
and qword [rsp + 0x30], 0
lea r8, [0x15017eb10]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.150425a18
test eax, eax
jne 0x15030fe25
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x15030fe25
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryA]
mov rcx, qword [rsp + 0x28]
call fcn.1504246a4
call fcn.15030f77c
call fcn.15030e128
test al, al
jne 0x15030fe47
cmp byte [rsp + 0x20], 0
je 0x15030fe40
call fcn.15030e214
nop
xor eax, eax
jmp 0x15030ff69
call fcn.15030f1f8
mov ebx, eax
test eax, eax
jne 0x15030ff1f
and dword [rsp + 0xd0], eax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0xd8]
call fcn.15030d3a8
nop
lea rcx, [rsp + 0x1a0]
call fcn.15030b4a4
lea rax, [0x15017e790]
mov qword [rsp + 0xd8], rax
lea rax, [0x15017e7a8]
mov qword [rsp + 0x1a0], rax
lea rcx, [rsp + 0xd0]
call fcn.15030cda4
nop
jmp 0x15030fecf
lea rcx, [rsp + 0x98]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x98]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x98]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x15030feb3
mov ebx, dword [rsp + 0xd0]
lea rcx, [rsp + 0x1a0]
call fcn.15030b708
lea rcx, [rsp + 0xd8]
call fcn.15030d6d8
test ebx, ebx
jne 0x15030ff1f
cmp byte [rsp + 0x20], 0
je 0x15030ff1b
call fcn.15030e214
nop
xor eax, eax
jmp 0x15030ff69
mov dword [0x150043800], ebx
mov ecx, ebx
call fcn.15030f3d4
mov rbx, rax
test rax, rax
je 0x15030ff90
call fcn.15030e178
test al, al
jne 0x15030ff4e
cmp byte [rsp + 0x20], 0
je 0x15030ff4a
call fcn.15030e214
nop
xor eax, eax
jmp 0x15030ff69
mov byte [rsp + 0x20], 0
call rbx
jmp 0x15030ff69
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.15040aca0
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
call fcn.150419d24
nop
lea rdx, [0x15017eb38]
lea rcx, [rsp + 0x40]
call fcn.1502bbea8
lea rdx, [0x1502a0838]
lea rcx, [rsp + 0x40]
call fcn.15040e028
int3
jmp 0x15030fca0