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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x8b8
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov qword [rbp + 0x80], 0
cmp qword [rsp + 0x8d0], 0
je 0x1400123a5
cmp qword [rsp + 0x8d8], 0
je 0x1400123a5
cmp qword [rsp + 0x8e0], 0
jne 0x1400125cc
call fcn.140010140
nop
mov rax, qword [0x14004f090]
mov qword [rbp + 0x98], rax
lea rax, [rbp + 0x360]
mov qword [rbp + 0x88], rax
lea rax, [rbp]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 1]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9b, byte [rbp]
mov r8b, byte [rbp + 1]
mov dl, byte [rbp + 0x30]
lea rcx, [rbp + 0x5e0]
call fcn.140002e1c
mov rcx, rax
call fcn.1400019d4
mov rdx, rax
lea rcx, [rbp + 0x2c0]
call fcn.14001af88
mov qword [rbp + 0x90], rax
lea rax, [rbp + 2]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 3]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9b, byte [rbp + 2]
mov r8b, byte [rbp + 3]
mov dl, byte [rbp + 0x31]
lea rcx, [rbp + 0x2b0]
call fcn.140002ecc
mov rcx, rax
call fcn.140001064
mov rdx, rax
lea rcx, [rbp + 0x1c8]
call fcn.14001af88
lea r8, [rbp + 0x1c8]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x90]
call fcn.14000101c
mov rcx, rax
call qword [rbp + 0x98]
lea rcx, [rbp + 0x1c8]
call fcn.14001af2c
lea rcx, [rbp + 0x2c0]
call fcn.14001af2c
nop
lea rax, [rbp + 0x380]
mov qword [rbp + 0xa0], rax
lea rax, [rbp + 4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 5]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9b, byte [rbp + 4]
mov r8b, byte [rbp + 5]
mov dl, byte [rbp + 0x32]
lea rcx, [rbp + 0x3a0]
call fcn.140001f4c
mov rcx, rax
call fcn.14000119c
mov rdx, rax
mov rcx, qword [rbp + 0xa0]
call fcn.14001af88
mov qword [rbp + 0xb0], rax
lea rax, [rbp + 0x3c0]
mov qword [rbp + 0xa8], rax
lea rax, [rbp + 6]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 7]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9b, byte [rbp + 6]
mov r8b, byte [rbp + 7]
mov dl, byte [rbp + 0x33]
lea rcx, [rbp + 0x620]
call fcn.140001e6c
mov rcx, rax
call fcn.14000137c
mov rdx, rax
mov rcx, qword [rbp + 0xa8]
call fcn.14001ac34
xor edx, edx
mov rcx, rax
call fcn.140018038
mov qword [rbp + 0xb8], rax
mov rdx, qword [rbp + 0xb0]
mov rcx, qword [rbp + 0xb8]
call fcn.140018b54
mov qword [rbp + 0xc0], rax
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [rbp + 0xc0]
nop
mov qword [rbp + 0x48], 0
jmp 0x1400125b5
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xffffffffffffffff
jae 0x1400125c5
mov rax, qword [rbp + 0x48]
mov byte [rax], 0
jmp 0x1400125aa
xor eax, eax
jmp 0x140012f7e
mov rdx, qword [rsp + 0x8d8]
mov rcx, qword [rsp + 0x8d0]
call fcn.140014db8
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140012817
call fcn.140010140
nop
mov rax, qword [0x14004f090]
mov qword [rbp + 0xd8], rax
lea rax, [rbp + 0x3e0]
mov qword [rbp + 0xc8], rax
lea rax, [rbp + 8]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 9]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9b, byte [rbp + 8]
mov r8b, byte [rbp + 9]
mov dl, byte [rbp + 0x34]
lea rcx, [rbp + 0x660]
call fcn.140002e1c
mov rcx, rax
call fcn.1400019d4
mov rdx, rax
lea rcx, [rbp + 0x2e0]
call fcn.14001af88
mov qword [rbp + 0xd0], rax
lea rax, [rbp + 0xa]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xb]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9b, byte [rbp + 0xa]
mov r8b, byte [rbp + 0xb]
mov dl, byte [rbp + 0x35]
lea rcx, [rbp + 0x270]
call fcn.140002f1c
mov rcx, rax
call fcn.140001064
mov rdx, rax
lea rcx, [rbp + 0x1e8]
call fcn.14001af88
lea r8, [rbp + 0x1e8]
mov rdx, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0xd0]
call fcn.14000101c
mov rcx, rax
call qword [rbp + pe_nt_image_headers64]
lea rcx, [rbp + 0x1e8]
call fcn.14001af2c
lea rcx, [rbp + 0x2e0]
call fcn.14001af2c
nop
lea rax, [rbp + 0x400]
mov qword [rbp + 0xe0], rax
lea rax, [rbp + 0xc]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xd]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9b, byte [rbp + 0xc]
mov r8b, byte [rbp + 0xd]
mov dl, byte [rbp + 0x36]
lea rcx, [rbp + 0x420]
call fcn.140001f4c
mov rcx, rax
call fcn.14000119c
mov rdx, rax
mov rcx, qword [rbp + 0xe0]
call fcn.14001af88
mov qword [rbp + 0xf0], rax
lea rax, [rbp + 0x440]
mov qword [rbp + 0xe8], rax
lea rax, [rbp + 0xe]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xf]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9b, byte [rbp + 0xe]
mov r8b, byte [rbp + 0xf]
mov dl, byte [rbp + 0x37]
lea rcx, [rbp + 0x6a0]
call fcn.140001e6c
mov rcx, rax
call fcn.14000137c
mov rdx, rax
mov rcx, qword [rbp + 0xe8]
call fcn.14001ac34
xor edx, edx
mov rcx, rax
call fcn.140018038
mov qword [rbp + 0xf8], rax
mov rdx, qword [rbp + 0xf0]
mov rcx, qword [rbp + 0xf8]
call fcn.140018b54
mov qword [rbp + 0x100], rax
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [rbp + 0x100]
nop
mov qword [rbp + 0x50], 0
jmp 0x140012800
mov rax, qword [rbp + 0x50]
inc rax
mov qword [rbp + 0x50], rax
cmp qword [rbp + 0x50], 0xffffffffffffffff
jae 0x140012810
mov rax, qword [rbp + 0x50]
mov byte [rax], 0
jmp 0x1400127f5
xor eax, eax
jmp 0x140012f7e
mov qword [rbp + 0x28], 0
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, qword [rbp + 0x68]
lea rdx, [rbp + 0x28]
mov rcx, 0xffffffffffffffff
call fcn.1400349e4
test eax, eax
jne 0x140012850
cmp qword [rbp + 0x28], 0
jne 0x140012a77
call fcn.140010140
nop
mov rax, qword [0x14004f090]
mov qword [rbp + 0x118], rax
lea rax, [rbp + 0x460]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x11]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9b, byte [rbp + 0x10]
mov r8b, byte [rbp + 0x11]
mov dl, byte [rbp + 0x38]
lea rcx, [rbp + 0x6e0]
call fcn.140002e1c
mov rcx, rax
call fcn.1400019d4
mov rdx, rax
lea rcx, [rbp + 0x300]
call fcn.14001af88
mov qword [rbp + 0x110], rax
lea rax, [rbp + 0x12]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x13]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9b, byte [rbp + 0x12]
mov r8b, byte [rbp + 0x13]
mov dl, byte [rbp + 0x39]
lea rcx, [rbp + 0x280]
call fcn.140002f6c
mov rcx, rax
call fcn.140001064
mov rdx, rax
lea rcx, [rbp + 0x208]
call fcn.14001af88
lea r8, [rbp + 0x208]
mov rdx, qword [rbp + 0x108]
mov rcx, qword [rbp + 0x110]
call fcn.14000101c
mov rcx, rax
call qword [rbp + 0x118]
lea rcx, [rbp + 0x208]
call fcn.14001af2c
lea rcx, [rbp + 0x300]
call fcn.14001af2c
nop
lea rax, [rbp + 0x480]
mov qword [rbp + 0x120], rax
lea rax, [rbp + 0x14]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x15]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9b, byte [rbp + 0x14]
mov r8b, byte [rbp + 0x15]
mov dl, byte [rbp + 0x3a]
lea rcx, [rbp + 0x4a0]
call fcn.140001f4c
mov rcx, rax
call fcn.14000119c
mov rdx, rax
mov rcx, qword [rbp + 0x120]
call fcn.14001af88
mov qword [rbp + 0x130], rax
lea rax, [rbp + 0x4c0]
mov qword [rbp + 0x128], rax
lea rax, [rbp + 0x16]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x17]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9b, byte [rbp + 0x16]
mov r8b, byte [rbp + 0x17]
mov dl, byte [rbp + 0x3b]
lea rcx, [rbp + 0x720]
call fcn.140001e6c
mov rcx, rax
call fcn.14000137c
mov rdx, rax
mov rcx, qword [rbp + 0x128]
call fcn.14001ac34
xor edx, edx
mov rcx, rax
call fcn.140018038
mov qword [rbp + 0x138], rax
mov rdx, qword [rbp + 0x130]
mov rcx, qword [rbp + 0x138]
call fcn.140018b54
mov qword [rbp + 0x140], rax
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [rbp + 0x140]
nop
mov qword [rbp + 0x58], 0
jmp 0x140012a60
mov rax, qword [rbp + 0x58]
inc rax
mov qword [rbp + 0x58], rax
cmp qword [rbp + 0x58], 0xffffffffffffffff
jae 0x140012a70
mov rax, qword [rbp + 0x58]
mov byte [rax], 0
jmp 0x140012a55
xor eax, eax
jmp 0x140012f7e
mov r9, qword [rbp + 0x68]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rsp + 0x8d8]
mov rcx, qword [rsp + 0x8d0]
call fcn.140033868
test eax, eax
je 0x140012cc3
call fcn.140010140
nop
mov rax, qword [0x14004f090]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x4e0]
mov qword [rbp + 0x148], rax
lea rax, [rbp + 0x18]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x19]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9b, byte [rbp + 0x18]
mov r8b, byte [rbp + 0x19]
mov dl, byte [rbp + 0x43]
lea rcx, [rbp + 0x760]
call fcn.140002e1c
mov rcx, rax
call fcn.1400019d4
mov rdx, rax
lea rcx, [rbp + 0x320]
call fcn.14001af88
mov qword [rbp + 0x150], rax
lea rax, [rbp + 0x1a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x1b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9b, byte [rbp + 0x1a]
mov r8b, byte [rbp + 0x1b]
mov dl, byte [rbp + 0x3c]
lea rcx, [rbp + 0x290]
call fcn.140002fbc
mov rcx, rax
call fcn.140001064
mov rdx, rax
lea rcx, [rbp + 0x228]
call fcn.14001af88
lea r8, [rbp + 0x228]
mov rdx, qword [rbp + 0x148]
mov rcx, qword [rbp + 0x150]
call fcn.14000101c
mov rcx, rax
call qword [rbp + 0x158]
lea rcx, [rbp + 0x228]
call fcn.14001af2c
lea rcx, [rbp + 0x320]
call fcn.14001af2c
nop
lea rax, [rbp + 0x500]
mov qword [rbp + 0x160], rax
lea rax, [rbp + 0x1c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x1d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9b, byte [rbp + 0x1c]
mov r8b, byte [rbp + 0x1d]
mov dl, byte [rbp + 0x3d]
lea rcx, [rbp + 0x520]
call fcn.140001f4c
mov rcx, rax
call fcn.14000119c
mov rdx, rax
mov rcx, qword [rbp + 0x160]
call fcn.14001af88
mov qword [rbp + 0x170], rax
lea rax, [rbp + 0x540]
mov qword [rbp + 0x168], rax
lea rax, [rbp + 0x1e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x1f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9b, byte [rbp + 0x1e]
mov r8b, byte [rbp + 0x1f]
mov dl, byte [rbp + 0x3e]
lea rcx, [rbp + 0x7a0]
call fcn.140001e6c
mov rcx, rax
call fcn.14000137c
mov rdx, rax
mov rcx, qword [rbp + 0x168]
call fcn.14001ac34
xor edx, edx
mov rcx, rax
call fcn.140018038
mov qword [rbp + 0x178], rax
mov rdx, qword [rbp + 0x170]
mov rcx, qword [rbp + 0x178]
call fcn.140018b54
mov qword [rbp + 0x180], rax
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [rbp + 0x180]
nop
mov qword [rbp + 0x60], 0
jmp 0x140012cac
mov rax, qword [rbp + 0x60]
inc rax
mov qword [rbp + 0x60], rax
cmp qword [rbp + 0x60], 0xffffffffffffffff
jae 0x140012cbc
mov rax, qword [rbp + 0x60]
mov byte [rax], 0
jmp 0x140012ca1
xor eax, eax
jmp 0x140012f7e
mov rax, qword [rbp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0
mov eax, dword [rax + rcx + 0x88]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x78]
mov ecx, dword [rcx + 0x10]
mov rdx, qword [rsp + 0x8e0]
sub rdx, rcx
mov rcx, rdx
mov eax, dword [rax + rcx*4]
mov rcx, qword [rsp + 0x8d8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x80], rax
mov r9d, 0x8000
mov r8, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x28]
mov rcx, 0xffffffffffffffff
call fcn.140035cb0
test eax, eax
je 0x140012f77
call fcn.140010140
nop
mov rax, qword [0x14004f090]
mov qword [rbp + 0x198], rax
lea rax, [rbp + 0x560]
mov qword [rbp + 0x188], rax
lea rax, [rbp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9b, byte [rbp + 0x20]
mov r8b, byte [rbp + 0x21]
mov dl, byte [rbp + 0x3f]
lea rcx, [rbp + 0x7e0]
call fcn.140002e1c
mov rcx, rax
call fcn.1400019d4
mov rdx, rax
lea rcx, [rbp + 0x340]
call fcn.14001af88
mov qword [rbp + 0x190], rax
lea rax, [rbp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x23]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9b, byte [rbp + 0x22]
mov r8b, byte [rbp + 0x23]
mov dl, byte [rbp + 0x40]
lea rcx, [rbp + 0x2a0]
call fcn.14000300c
mov rcx, rax
call fcn.140001064
mov rdx, rax
lea rcx, [rbp + 0x248]
call fcn.14001af88
lea r8, [rbp + 0x248]
mov rdx, qword [rbp + 0x188]
mov rcx, qword [rbp + 0x190]
call fcn.14000101c
mov rcx, rax
call qword [rbp + 0x198]
lea rcx, [rbp + 0x248]
call fcn.14001af2c
lea rcx, [rbp + 0x340]
call fcn.14001af2c
nop
lea rax, [rbp + 0x580]
mov qword [rbp + 0x1a0], rax
lea rax, [rbp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x25]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9b, byte [rbp + 0x24]
mov r8b, byte [rbp + 0x25]
mov dl, byte [rbp + 0x41]
lea rcx, [rbp + 0x5a0]
call fcn.140001f4c
mov rcx, rax
call fcn.14000119c
mov rdx, rax
mov rcx, qword [rbp + 0x1a0]
call fcn.14001af88
mov qword [rbp + 0x1b0], rax
lea rax, [rbp + 0x5c0]
mov qword [rbp + 0x1a8], rax
lea rax, [rbp + 0x26]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x27]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9b, byte [rbp + 0x26]
mov r8b, byte [rbp + 0x27]
mov dl, byte [rbp + 0x42]
lea rcx, [rbp + 0x820]
call fcn.140001e6c
mov rcx, rax
call fcn.14000137c
mov rdx, rax
mov rcx, qword [rbp + 0x1a8]
call fcn.14001ac34
xor edx, edx
mov rcx, rax
call fcn.140018038
mov qword [rbp + 0x1b8], rax
mov rdx, qword [rbp + 0x1b0]
mov rcx, qword [rbp + 0x1b8]
call fcn.140018b54
mov qword [rbp + 0x1c0], rax
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [rbp + 0x1c0]
nop
mov qword [rbp + 0x70], 0
jmp 0x140012f63
mov rax, qword [rbp + 0x70]
inc rax
mov qword [rbp + 0x70], rax
cmp qword [rbp + 0x70], 0xffffffffffffffff
jae 0x140012f73
mov rax, qword [rbp + 0x70]
mov byte [rax], 0
jmp 0x140012f58
xor eax, eax
jmp 0x140012f7e
mov rax, qword [rbp + 0x80]
add rsp, 0x8b8
pop rdi
pop rbp
ret