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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r12
push r13
push r15
sub rsp, 0x20
cmp byte [0x14002ecc8], 0
mov r15, rdx
mov ebp, ecx
jne 0x140002729
mov ecx, 0xf87b6f6b
call fcn.140001fd0
mov qword [0x14002ecc0], rax
mov r8, rax
test rax, rax
je 0x140002937
movsxd rax, dword [rax + 0x3c]
cmp dword [rax + r8], 0x4550
jne 0x140002937
mov ecx, dword [rax + r8 + 0x88]
add rcx, r8
mov edx, dword [rcx + 0x18]
mov dword [0x14002ecb8], edx
mov r10d, dword [rcx + 0x20]
add r10, r8
mov qword [0x14002eca8], r10
mov r9d, dword [rcx + 0x1c]
add r9, r8
mov qword [0x14002eca0], r9
mov ecx, dword [rcx + 0x24]
add rcx, r8
mov qword [0x14002ecb0], rcx
test edx, edx
je 0x140002937
test r10, r10
je 0x140002937
test r9, r9
je 0x140002937
test rcx, rcx
je 0x140002937
mov byte [0x14002ecc8], 1
xor r12d, r12d
mov dword [r15 + 4], ebp
mov edi, dword [0x14002ecb8]
mov r10d, r12d
lea r13d, [r12 + 1]
test edi, edi
je 0x140002932
mov r11, qword [0x14002eca8]
mov rbx, qword [0x14002ecb0]
mov qword [rsp + 0x50], rsi
mov rsi, qword [0x14002ecc0]
mov qword [rsp + 0x58], r14
mov r14, qword [0x14002eca0]
nop dword [rax]
movzx eax, word [rbx]
mov ecx, dword [r11]
add rcx, rsi
mov r9d, dword [r14 + rax*4]
add r9, rsi
call fcn.140002560
cmp eax, ebp
je 0x14000279e
inc r10d
add rbx, 2
add r11, 4
cmp r10d, edi
jb 0x140002770
jmp 0x140002928
movzx eax, byte [r9]
mov r10d, 0xff
cmp al, 0x4c
jne 0x1400027f3
cmp byte [r9 + 1], 0x8b
jne 0x140002888
cmp byte [r9 + 2], 0xd1
jne 0x140002888
cmp byte [r9 + 3], 0xb8
jne 0x140002888
cmp byte [r9 + 6], r12b
jne 0x140002888
cmp byte [r9 + 7], r12b
jne 0x140002888
movzx ecx, byte [r9 + 5]
movzx eax, byte [r9 + 4]
shl ecx, 8
jmp 0x140002923
cmp al, 0xe9
jne 0x140002888
movzx ecx, r13w
nop
movzx r8d, cx
mov edx, r8d
shl edx, 5
add rdx, r9
cmp byte [rdx], 0x4c
jne 0x140002830
cmp byte [rdx + 1], 0x8b
jne 0x140002830
cmp byte [rdx + 2], 0xd1
jne 0x140002830
cmp byte [rdx + 3], 0xb8
jne 0x140002830
cmp byte [rdx + 6], r12b
jne 0x140002830
cmp byte [rdx + 7], r12b
je 0x14000286c
mov eax, r8d
neg eax
shl eax, 5
movsxd rdx, eax
add rdx, r9
cmp byte [rdx], 0x4c
jne 0x140002861
cmp byte [rdx + 1], 0x8b
jne 0x140002861
cmp byte [rdx + 2], 0xd1
jne 0x140002861
cmp byte [rdx + 3], 0xb8
jne 0x140002861
cmp byte [rdx + 6], r12b
jne 0x140002861
cmp byte [rdx + 7], r12b
je 0x140002875
inc cx
cmp cx, r10w
jbe 0x140002800
jmp 0x140002888
movzx eax, byte [rdx + 4]
sub eax, r8d
jmp 0x14000287c
movzx eax, byte [rdx + 4]
add eax, r8d
movzx ecx, byte [rdx + 5]
shl ecx, 8
or ecx, eax
mov dword [r15], ecx
cmp byte [r9 + 3], 0xe9
jne 0x140002928
movzx ecx, r13w
nop word [rax + rax]
movzx r8d, cx
mov edx, r8d
shl edx, 5
add rdx, r9
cmp byte [rdx], 0x4c
jne 0x1400028d0
cmp byte [rdx + 1], 0x8b
jne 0x1400028d0
cmp byte [rdx + 2], 0xd1
jne 0x1400028d0
cmp byte [rdx + 3], 0xb8
jne 0x1400028d0
cmp byte [rdx + 6], r12b
jne 0x1400028d0
cmp byte [rdx + 7], r12b
je 0x14000290c
mov eax, r8d
neg eax
shl eax, 5
movsxd rdx, eax
add rdx, r9
cmp byte [rdx], 0x4c
jne 0x140002901
cmp byte [rdx + 1], 0x8b
jne 0x140002901
cmp byte [rdx + 2], 0xd1
jne 0x140002901
cmp byte [rdx + 3], 0xb8
jne 0x140002901
cmp byte [rdx + 6], r12b
jne 0x140002901
cmp byte [rdx + 7], r12b
je 0x140002915
inc cx
cmp cx, r10w
jbe 0x1400028a0
jmp 0x140002928
movzx ecx, byte [rdx + 4]
sub ecx, r8d
jmp 0x14000291c
movzx ecx, byte [rdx + 4]
add ecx, r8d
movzx eax, byte [rdx + 5]
shl eax, 8
or ecx, eax
mov dword [r15], ecx
mov rsi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
cmp dword [r15], r12d
jne 0x14000294b
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
mov ecx, dword [0x14002da44]
mov ebx, r12d
shl ecx, 0xd
xor ecx, dword [0x14002da44]
mov eax, ecx
shr eax, 0x11
xor eax, ecx
mov edi, eax
shl edi, 5
xor edi, eax
mov dword [0x14002da44], edi
and edi, 0xf
cmp byte [0x14002ec98], bl
jne 0x140002a19
mov ecx, 0xd0af56f
call fcn.140001fd0
mov qword [0x14002ec90], rax
mov rdx, rax
test rax, rax
je 0x140002aa8
movsxd rax, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x140002aa8
mov ecx, dword [rax + rdx + 0x88]
add rcx, rdx
mov r9d, dword [rcx + 0x18]
mov dword [0x14002ec88], r9d
mov r8d, dword [rcx + 0x20]
add r8, rdx
mov qword [0x14002ec78], r8
mov r10d, dword [rcx + 0x1c]
add r10, rdx
mov qword [0x14002ec70], r10
mov ecx, dword [rcx + 0x24]
add rcx, rdx
mov qword [0x14002ec80], rcx
test r9d, r9d
je 0x140002aa8
test r8, r8
je 0x140002aa8
test r10, r10
je 0x140002aa8
test rcx, rcx
je 0x140002aa8
mov byte [0x14002ec98], r13b
jmp 0x140002a20
mov r9d, dword [0x14002ec88]
mov r8d, r12d
test r9d, r9d
je 0x140002aa8
nop dword [rax]
mov rax, qword [0x14002ec80]
mov ecx, r8d
movzx edx, word [rax + rcx*2]
mov rax, qword [0x14002ec70]
mov r9d, dword [rax + rdx*4]
mov edx, r12d
add r9, qword [0x14002ec90]
mov rax, r9
nop word [rax + rax]
movzx ecx, word [0x14002da40]
xor cx, 0x5f
cmp word [rax], cx
jne 0x140002a7c
cmp byte [rax + 2], 0xc3
jne 0x140002a7c
cmp ebx, edi
je 0x140002a88
inc ebx
inc edx
inc rax
cmp edx, 0x20
jb 0x140002a60
jmp 0x140002a91
mov eax, edx
add rax, r9
mov qword [r15 + 8], rax
cmp qword [r15 + 8], r12
jne 0x140002aa5
inc r8d
cmp r8d, dword [0x14002ec88]
jb 0x140002a30
jmp 0x140002aa8
mov r12d, r13d
mov rbx, qword [rsp + 0x60]
mov eax, r12d
add rsp, 0x20
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret