Function at 0x140002630
Capabilities:
Parse pe header
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, 0x158
mov rax, qword [0x140029080]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x58], 0
cmp qword [rsp + 0x170], 0
je 0x140002688
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0xd8], rax
jmp 0x140002697
lea rax, str.in_memory
mov qword [rsp + 0xd8], rax
cmp qword [rsp + 0x180], 0
jne 0x1400026ae
mov qword [rsp + 0x180], 0xffffffffffffffff
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400026d7
xor eax, eax
jmp 0x140002fcd
mov rax, qword [rsp + 0xe0]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x178]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
cmp dword [rax], 0x4550
je 0x140002710
xor eax, eax
jmp 0x140002fcd
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0xa8]
mov eax, dword [rcx + rax + 0x8c]
mov rcx, qword gs:[0x30]
mov rcx, qword [rcx + 0x60]
mov r8d, eax
mov edx, 8
mov rcx, qword [rcx + 0x30]
call fcn.140003b40
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
jne 0x140002760
xor eax, eax
jmp 0x140002fcd
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0xa8]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x178]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xe8], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0xa8]
mov eax, dword [rcx + rax + 0x8c]
mov rdi, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xe8]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0xb0], 0
lea rax, [0x14002b588]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x34], 0xffffffff
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0xc]
test rax, rax
je 0x140002865
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x30]
cmp dword [rax + 0xc], ecx
jbe 0x14000283b
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x34]
cmp dword [rax + 0xc], ecx
jae 0x140002855
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x60]
add rax, 0x14
mov qword [rsp + 0x60], rax
jmp 0x140002814
mov eax, dword [rsp + 0x30]
add eax, 0x64
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword gs:[0x30]
mov rcx, qword [rcx + 0x60]
mov r8d, eax
mov edx, 8
mov rcx, qword [rcx + 0x30]
call fcn.140003b40
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0
jne 0x1400028ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Error_getting_data_space_for_lpNames:_Status__0x_08lx_n
call fcn.140001060
xor eax, eax
jmp 0x140002fcd
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x178]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf0], rax
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
mov eax, eax
mov rdi, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xf0]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov r8d, 0x800000
mov edx, 8
mov rcx, qword [rax + 0x30]
call fcn.140003b40
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x14000294f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Error_getting_data_space_for_lpThunk:_Status__0x_08lx_n
call fcn.140001060
xor eax, eax
jmp 0x140002fcd
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0xc]
test rax, rax
je 0x140002fbd
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0xc]
add rax, qword [rsp + 0x178]
sub rax, qword [rsp + 0xf0]
add rax, qword [rsp + 0xc8]
mov qword [rsp + 0xa0], rax
mov dl, 1
mov rcx, qword [rsp + 0xa0]
call fcn.1400030d0
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x1400029be
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Error_getting_lib:_Status__0x_08lx_n
call fcn.140001060
cmp qword [rsp + 0x90], 0
je 0x140002faa
mov dword [rsp + 0x34], 0xffffffff
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x178]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x178]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
je 0x140002af6
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
cmp qword [rcx], rax
jbe 0x140002a3d
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x50]
cmp qword [rcx], rax
jae 0x140002a56
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x3c], eax
jbe 0x140002a7f
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x3c], eax
jae 0x140002a91
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x178]
mov rcx, qword [rsp + 0xd0]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x3c], eax
jbe 0x140002abd
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x3c], eax
jae 0x140002acf
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x50]
add rax, 8
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xd0]
add rax, 8
mov qword [rsp + 0xd0], rax
jmp 0x140002a15
mov eax, dword [rsp + 0x30]
add eax, 0x64
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
cmp eax, 0x800000
ja 0x140002faa
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x178]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
mov eax, eax
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x98]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x178]
add rcx, rax
mov rax, rcx
sub rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x178]
add rcx, rax
mov rax, rcx
sub rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax], 0
je 0x140002faa
mov rax, qword [rsp + 0x80]
movabs rcx, 0xffffffffffff
mov rax, qword [rax]
and rax, rcx
cmp rax, 0x1000
jb 0x140002faa
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x178]
add rcx, rax
mov rax, rcx
sub rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
add rax, 2
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x44], 0xffffffff
mov rax, qword [0x140037598]
cmp qword [rsp + 0x90], rax
jne 0x140002d5f
mov rax, qword [rsp + 0xf8]
add rax, 2
mov rcx, rax
call fcn.140003bc0
mov qword [rsp + 0x108], rax
mov dword [rsp + 0x38], 0
jmp 0x140002c9e
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp rax, qword [0x14002b580]
jae 0x140002d5f
mov eax, dword [rsp + 0x38]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x88]
mov rdx, qword [rdx]
cmp qword [rcx + rax + 8], rdx
jne 0x140002d11
mov eax, dword [rsp + 0x38]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x68]
cmp dword [rcx + rax + 0x28], 0
je 0x140002d0d
mov eax, dword [rsp + 0x38]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx + rax + 0x18]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x38]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x44], eax
jmp 0x140002d5f
mov eax, dword [rsp + 0x38]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx + rax + 0x20]
cmp qword [rsp + 0x108], rax
jne 0x140002d5a
mov eax, dword [rsp + 0x38]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx + rax + 0x18]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x38]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x44], eax
jmp 0x140002d5f
jmp 0x140002c94
cmp qword [rsp + 0x78], 0
jne 0x140002ded
mov rax, qword [0x140037598]
cmp qword [rsp + 0x90], rax
je 0x140002ded
mov rcx, qword [rsp + 0xf8]
call fcn.140003bc0
mov qword [rsp + 0x110], rax
mov dword [rsp + 0x40], 0
jmp 0x140002da5
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
cmp rax, qword [0x140031590]
jae 0x140002ded
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x30
lea rcx, [0x140031598]
mov rax, qword [rcx + rax + 0x20]
cmp qword [rsp + 0x110], rax
jne 0x140002deb
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x30
lea rcx, [0x140031598]
mov rax, qword [rcx + rax + 0x18]
mov qword [rsp + 0x78], rax
jmp 0x140002ded
jmp 0x140002d9b
cmp qword [rsp + 0x78], 0
je 0x140002f7d
mov qword [rsp + 0x120], 0
mov dword [rsp + 0x130], 0
mov qword [rsp + 0x138], 8
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x88]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
sub rax, qword [rsp + 0x178]
mov eax, eax
mov rcx, qword [rsp + 0x178]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x100], 0xffffffffffffffff
cmp qword [rsp + 0x180], 0xffffffffffffffff
je 0x140002ea4
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x100], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x138]
lea rdx, [rsp + 0x128]
mov rcx, qword [rsp + 0x100]
call fcn.140003a40
test eax, eax
jne 0x140002f7d
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x78]
mov qword [rax], rcx
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x44], 0xffffffff
je 0x140002f42
mov rax, qword [rsp + 0xb0]
add rax, 2
mov ecx, dword [rsp + 0x44]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xd8]
lea rcx, str.______Implant__s__s___s_0x_p_SSN_0x_02X_n
call fcn.140001060
jmp 0x140002f7d
mov rax, qword [rsp + 0xb0]
add rax, 2
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xd8]
lea rcx, str.______Implant__s__s___s_0x_p_n
call fcn.140001060
mov rax, qword [rsp + 0x80]
add rax, 8
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x88]
add rax, 8
mov qword [rsp + 0x88], rax
jmp 0x140002bca
mov rax, qword [rsp + 0x48]
add rax, 0x14
mov qword [rsp + 0x48], rax
jmp 0x14000294f
mov edx, dword [rsp + 0x58]
lea rcx, str.______Hooked__d_function_s__n
call fcn.140001060
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400075b0
add rsp, 0x158
pop rdi
pop rsi
ret