Function at 0x140024640
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 0x140024a1a
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.14000f110
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 0x140024a18
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.1401cd1e0
nop
lea rcx, [rsp + 0xd8]
call fcn.140008fe0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14002499b
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 0x1400247b8
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
jmp 0x1400247d6
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.14000f160
test rax, rax
je 0x140024999
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.1400068b0
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x70]
call fcn.140008cd0
mov qword [rsp + 0x98], rax
jmp 0x14002482c
mov rax, qword [rsp + 0x50]
add rax, 0x10
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x50], rax
je 0x1400248a4
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 0x14002489f
mov rcx, qword [rsp + 0x28]
call fcn.14000f160
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.14000f300
mov byte [rsp + 0x20], 1
jmp 0x1400248a4
jmp 0x14002481e
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140024994
mov rcx, qword [rsp + 0x30]
call fcn.14000f160
mov qword [rsp + 0x58], rax
movabs rax, 0x8000000000000000
mov rcx, qword [rsp + 0x58]
and rcx, rax
mov rax, rcx
test rax, rax
je 0x140024912
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.14000f300
jmp 0x140024994
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14000f070
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.1401cd070
nop
lea rcx, [rsp + 0x110]
call fcn.140008fe0
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.14000f300
nop
lea rcx, [rsp + 0x110]
call fcn.140004ac0
jmp 0x1400247ba
jmp 0x1400249b7
lea rcx, [rsp + 0xd8]
call fcn.140008fe0
mov rdx, rax
lea rcx, [0x140267e68]
call fcn.14000a170
mov rax, qword [rsp + 0x60]
add rax, 0x14
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x148]
call fcn.14000f110
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.140004ac0
jmp 0x14002471d
jmp 0x140024a26
lea rcx, [0x140267e80]
call fcn.14000a170
add rsp, 0x168
pop rdi
pop rsi
ret