Function at 0x140012c40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x168
mov rax, qword [rsp + 0x188]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x188]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
add rax, 4
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x48]
add rax, 0x18
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x38], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x68]
cmp dword [rcx + rax + 0x74], 0
je 0x14001301a
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax + 0x70]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x130]
call fcn.1400093d0
lea rcx, [rsp + 0x78]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x14
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x84], 0
je 0x140013018
mov eax, dword [rsp + 0x84]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov r8d, 0x104
mov rdx, rax
lea rcx, [rsp + 0xd8]
call fcn.1401ac3d0
nop
lea rcx, [rsp + 0xd8]
call fcn.14000d990
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140012f9b
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x30], 0
jne 0x140012db8
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
jmp 0x140012dd6
mov rax, qword [rsp + 0x30]
add rax, 8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
add rax, 8
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x30]
call fcn.140009420
test rax, rax
je 0x140012f99
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.140007b40
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x70]
call fcn.14000d9e0
mov qword [rsp + 0x98], rax
jmp 0x140012e2c
mov rax, qword [rsp + 0x50]
add rax, 0x10
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x50], rax
je 0x140012ea4
lea rax, [rsp + 0xb8]
mov rdi, rax
mov rsi, qword [rsp + 0x50]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xb8]
cmp qword [rsp + 0x40], rax
jne 0x140012e9f
mov rcx, qword [rsp + 0x28]
call fcn.140009420
sub rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x28]
call fcn.1400095c0
mov byte [rsp + 0x20], 1
jmp 0x140012ea4
jmp 0x140012e1e
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140012f94
mov rcx, qword [rsp + 0x30]
call fcn.140009420
mov qword [rsp + 0x58], rax
movabs rax, 0x8000000000000000
mov rcx, qword [rsp + 0x58]
and rcx, rax
mov rax, rcx
test rax, rax
je 0x140012f12
mov rax, qword [rsp + 0x58]
and rax, 0xffff
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x28]
call fcn.1400095c0
jmp 0x140012f94
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140009330
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
lea rax, [rax + rcx + 2]
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.1401ac260
nop
lea rcx, [rsp + 0x110]
call fcn.14000d990
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xb0], rax
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x28]
call fcn.1400095c0
nop
lea rcx, [rsp + 0x110]
call fcn.1400049e0
jmp 0x140012dba
jmp 0x140012fb7
lea rcx, [rsp + 0xd8]
call fcn.14000d990
mov rdx, rax
lea rcx, [0x140232b28]
call fcn.140014dc0
mov rax, qword [rsp + 0x60]
add rax, 0x14
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x148]
call fcn.1400093d0
lea rcx, [rsp + 0xf8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x14
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x78]
lea rcx, [rsp + 0xf8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x14
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0xd8]
call fcn.1400049e0
jmp 0x140012d1d
jmp 0x140013026
lea rcx, [0x140232b40]
call fcn.140014dc0
add rsp, 0x168
pop rdi
pop rsi
ret