Function at 0x1403024a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x550
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x540], rax
mov qword [rsp + 0x38], rcx
xor r15d, r15d
mov dword [rsp + 0x34], r15d
mov qword [rsp + 0x40], r15
lea rdi, [rsp + 0x130]
xor eax, eax
mov r12d, 0x410
mov ecx, r12d
rep stosb byte [rdi], al
lea rdi, [rsp + 0x70]
mov ecx, 0xa8
rep stosb byte [rdi], al
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rcx, qword [rax]
mov rcx, qword [rcx + 0x30]
mov qword [rsp + 0x78], rcx
test rcx, rcx
jne 0x14030252d
mov eax, 0xe00200c8
jmp 0x1403027e0
mov r8d, 0x208
lea rdx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x130]
call fcn.140301fa0
mov ebx, eax
mov dword [rsp + 0x30], eax
test eax, eax
js 0x140302768
lea rcx, [rsp + 0x70]
call fcn.140302810
test eax, eax
jne 0x14030257e
mov ebx, 0xe00200c9
jmp 0x140302764
mov qword [rsp + 0x60], r15
lea rax, [rsp + 0x128]
mov qword [rsp + 0x20], rax
mov r9d, 8
lea r8, [rsp + 0x60]
lea edx, [r9 - 1]
or rcx, 0xffffffffffffffff
call qword [rsp + 0xd8]
mov ebx, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x1403025bf
or ebx, 0x6000000
jmp 0x140302764
cmp qword [rsp + 0x60], 0
je 0x1403025d1
mov ebx, 0xe00200d2
jmp 0x140302764
mov word [rsp + 0x120], 0
lea r9, [rsp + 0x128]
mov r8d, 2
lea rdx, [rsp + 0x120]
lea ecx, [r8 + 0x21]
call qword [rsp + 0xd0]
mov ebx, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x140302611
or ebx, 0x7000000
jmp 0x140302764
cmp byte [rsp + 0x120], 0
jne 0x14030275f
cmp byte [rsp + 0x121], 0
je 0x14030275f
mov dword [rsp + 0x124], r15d
mov edx, 1
lea r9d, [rdx + 0x36]
lea r8d, [rdx + 7]
lea rcx, [rsp + 0x124]
call fcn.1403038e0
mov esi, dword [rsp + 0x124]
or esi, 7
inc esi
mov dword [rsp + 0x124], esi
mov eax, esi
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax - 0x10]
mov r14, qword [rcx]
lea r9, [rsp + 0x128]
lea r8, [rsp + 0x40]
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.140303510
mov ebx, eax
mov dword [rsp + 0x30], eax
test eax, eax
js 0x140302768
lea rdi, [rsp + 0x130]
xor eax, eax
mov rcx, r12
rep stosb byte [rdi], al
mov dword [rsp + 0x50], 0x4100000
lea rax, [rsp + 0x130]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x20], esi
mov r9d, dword [r14 + 4]
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1403022d0
mov ebx, eax
mov dword [rsp + 0x30], eax
test eax, eax
js 0x140302768
add qword [rsp + 0x58], 8
mov ecx, 0xfff8
movzx eax, word [rsp + 0x50]
add ax, cx
mov word [rsp + 0x50], ax
add ax, 2
mov word [rsp + 0x52], ax
mov qword [rsp + 0x48], r15
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x50]
xor edx, edx
xor ecx, ecx
call qword [rsp + 0x110]
mov ebx, eax
mov dword [rsp + 0x30], eax
test eax, eax
js 0x140302768
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8, rax
mov rdx, qword [rsp + 0x48]
call fcn.1403020f0
mov ebx, eax
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140302768
mov ebx, 0xe00200d3
mov dword [rsp + 0x30], ebx
jmp 0x140302770
cmp qword [rsp + 0x40], 0
je 0x1403027b2
mov r9d, 0x4000
lea r8, [rsp + 0x128]
lea rdx, [rsp + 0x40]
or rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0xf0]
call rdi
mov r9d, 0x8000
lea r8, [rsp + 0x128]
lea rdx, [rsp + 0x40]
or rcx, 0xffffffffffffffff
call rdi
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x1403027de
xor edx, edx
mov r8d, 0x4000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, ebx
mov rcx, qword [rsp + 0x540]
xor rcx, rsp
call fcn.140303d20
lea r11, [rsp + 0x550]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret