Function at 0x309769160
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
lea r12, [rsp - 0xb0]
cmp r12, qword [r14 + 0x10]
jbe 0x309769ada
push rbp
mov rbp, rsp
sub rsp, 0x128
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x140], rbx
lea rax, [0x3097dd9e0]
call fcn.3096ce980
mov qword [rsp + 0xc8], rax
nop
lea rax, [0x3097db2e0]
call fcn.3096ce980
mov rcx, qword [rsp + 0x138]
mov qword [rax], rcx
cmp dword [0x3099b5590], 0
jne 0x3097691cc
mov rdx, qword [rsp + 0x140]
jmp 0x3097691dc
call fcn.309727420
mov rdx, qword [rsp + 0x140]
mov qword [r11], rdx
mov qword [rsp + 0xb8], rax
mov qword [rax + 8], rdx
movups xmmword [rax + 0x10], xmm15
movabs rcx, 0x7fffffffffffffff
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rcx
lea rax, [0x3097c5c00]
call fcn.3096ce980
mov qword [rsp + 0x118], rax
mov rcx, qword [rsp + 0x138]
mov rdx, qword [rcx + 0x18]
mov rbx, rax
mov edi, 0x60
xor esi, esi
mov rax, qword [rsp + 0x140]
mov rcx, rdi
call rdx
test rbx, rbx
jne 0x30976969f
mov rdx, qword [rsp + 0x118]
cmp byte [rdx], 0x4d
jne 0x30976932e
cmp byte [rdx + 1], 0x5a
jne 0x30976932e
mov ecx, dword [rdx + 0x3c]
mov qword [rsp + 0xb0], rcx
nop
lea rax, [0x3097c5720]
call fcn.3096ce980
mov qword [rsp + 0x120], rax
mov rcx, qword [rsp + 0x138]
mov rdx, qword [rcx + 0x18]
mov rbx, rax
mov edi, 4
mov rsi, qword [rsp + 0xb0]
mov rax, qword [rsp + 0x140]
mov rcx, rdi
call rdx
mov rbx, qword [rsp + 0x120]
cmp byte [rbx], 0x50
jne 0x3097692d0
cmp byte [rbx + 1], 0x45
jne 0x3097692d0
cmp byte [rbx + 2], 0
jne 0x3097692d0
cmp byte [rbx + 3], 0
jne 0x3097692d0
mov rdx, qword [rsp + 0xb0]
add rdx, 4
jmp 0x309769330
movups xmmword [rsp + 0x108], xmm15
lea rax, [0x3097c5720]
call fcn.3096cb880
lea rcx, [0x3097c5720]
mov qword [rsp + 0x108], rcx
mov qword [rsp + 0x110], rax
lea rax, [0x3097eef11]
mov ebx, 0x1e
lea rcx, [rsp + 0x108]
mov edi, 1
mov rsi, rdi
call fcn.309757820
mov rcx, rbx
mov rbx, rax
xor eax, eax
add rsp, 0x128
pop rbp
ret
xor edx, edx
mov qword [rsp + 0x70], rdx
mov rbx, qword [rsp + 0xb8]
mov r9, qword [rbx + 0x10]
lea r10, [rdx + r9]
cmp r9, r10
jg 0x30976934e
mov qword [rbx + 0x18], r10
lea rax, [0x3098624a0]
lea rcx, [0x309863150]
lea rdi, [0x3099b52e0]
lea rsi, [0x3097c00e0]
mov r8, qword [rsp + 0xc8]
call fcn.3097620c0
nop word [rax + rax]
test rax, rax
jne 0x30976968e
mov rax, qword [rsp + 0xc8]
movzx edx, word [rax]
cmp dx, 0x5032
ja 0x3097693cc
nop dword [rax + rax]
cmp dx, 0x14c
ja 0x3097693b8
test dx, dx
je 0x3097693fe
cmp dx, 0x14c
je 0x3097693fe
jmp 0x309769634
cmp dx, 0x1c4
je 0x3097693fe
nop
cmp dx, 0x5032
je 0x3097693fe
jmp 0x309769634
cmp dx, 0x5128
ja 0x3097693ec
cmp dx, 0x5064
je 0x3097693fe
nop word [rax + rax]
cmp dx, 0x5128
je 0x3097693fe
jmp 0x309769634
cmp dx, 0x8664
je 0x3097693fe
cmp dx, 0xaa64
jne 0x309769634
lea rbx, [0x309862920]
mov rcx, qword [rsp + 0xb8]
call fcn.30976d2e0
mov rdx, qword [rsp + 0xc8]
mov qword [rdx + 0x78], rbx
mov qword [rdx + 0x80], rcx
cmp dword [0x3099b5590], 0
je 0x30976943e
call fcn.309727440
mov qword [r11], rax
mov r8, qword [rdx + 0x70]
mov qword [r11 + 8], r8
mov qword [rdx + 0x70], rax
test rdi, rdi
jne 0x309769623
mov rax, rdx
lea rbx, [0x309862920]
mov rcx, qword [rsp + 0xb8]
nop dword [rax]
call fcn.30976d6a0
mov rdx, qword [rsp + 0xc8]
mov qword [rdx + 0x60], rbx
mov qword [rdx + 0x68], rcx
cmp dword [0x3099b5590], 0
je 0x309769490
nop
call fcn.309727440
mov qword [r11], rax
mov r9, qword [rdx + 0x58]
mov qword [r11 + 8], r9
mov qword [rdx + 0x58], rax
test rdi, rdi
jne 0x309769612
mov rdi, qword [rdx + 0x70]
mov rsi, qword [rdx + 0x78]
mov r8, qword [rdx + 0x80]
call fcn.30976dc40
mov rdx, qword [rsp + 0xc8]
mov qword [rdx + 0x48], rbx
mov qword [rdx + 0x50], rcx
cmp dword [0x3099b5590], 0
je 0x3097694da
call fcn.309727440
mov qword [r11], rax
mov r8, qword [rdx + 0x40]
mov qword [r11 + 8], r8
mov qword [rdx + 0x40], rax
nop
test rdi, rdi
jne 0x309769601
mov rcx, qword [rdx]
mov qword [rsp + 0x58], rcx
movups xmm0, xmmword [rdx + 4]
movups xmmword [rsp + 0x5c], xmm0
lea rax, [0x3097dd8c0]
lea rbx, [rsp + 0x58]
call fcn.309764520
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rbx, qword [rsp + 0xb8]
mov rdx, qword [rbx + 0x10]
add rcx, rdx
cmp rdx, rcx
jle 0x309769537
mov rdx, qword [0x3097a7010]
mov rsi, qword [0x3097a7018]
jmp 0x309769540
mov qword [rbx + 0x18], rcx
xor edx, edx
xor esi, esi
nop
test rdx, rdx
jne 0x3097695ef
mov rdx, qword [rsp + 0xc8]
movzx ecx, word [rdx + 0x10]
lea rax, [0x309862920]
nop dword [rax]
call fcn.309769b60
mov rdx, qword [rsp + 0xc8]
mov qword [rdx + 0x18], rax
cmp dword [0x3099b5590], 0
je 0x30976958a
call fcn.309727440
mov qword [r11], rbx
mov rsi, qword [rdx + 0x20]
mov qword [r11 + 8], rsi
mov qword [rdx + 0x20], rbx
test rcx, rcx
jne 0x3097695de
movzx ecx, word [rdx + 2]
lea rax, [0x3097cd780]
mov rbx, rcx
call fcn.30970c440
mov rdx, qword [rsp + 0xc8]
movzx esi, word [rdx + 2]
mov qword [rdx + 0x30], rsi
mov qword [rdx + 0x38], rsi
cmp dword [0x3099b5590], 0
je 0x3097695d3
call fcn.309727440
mov qword [r11], rax
mov r9, qword [rdx + 0x28]
mov qword [r11 + 8], r9
mov qword [rdx + 0x28], rax
xor eax, eax
jmp 0x3097696b8
xor eax, eax
mov rbx, rcx
mov rcx, rdi
add rsp, 0x128
pop rbp
ret
xor eax, eax
mov rbx, rdx
mov rcx, rsi
add rsp, 0x128
pop rbp
nop
ret
xor eax, eax
mov rbx, rdi
mov rcx, rsi
add rsp, 0x128
pop rbp
ret
xor eax, eax
mov rbx, rdi
mov rcx, rsi
add rsp, 0x128
pop rbp
ret
xor eax, eax
mov rbx, rdi
mov rcx, rsi
add rsp, 0x128
pop rbp
ret
movups xmmword [rsp + 0x108], xmm15
movzx eax, word [rax]
call fcn.3096cb900
lea rcx, [0x3097c44a0]
mov qword [rsp + 0x108], rcx
mov qword [rsp + 0x110], rax
lea rax, [0x3097ee379]
mov ebx, 0x1c
lea rcx, [rsp + 0x108]
mov edi, 1
mov rsi, rdi
call fcn.309757820
mov rcx, rbx
mov rbx, rax
xor eax, eax
add rsp, 0x128
pop rbp
ret
mov rcx, rbx
mov rbx, rax
xor eax, eax
add rsp, 0x128
pop rbp
ret
xor eax, eax
add rsp, 0x128
pop rbp
ret
mov qword [r12 + r11*8], r9
lea r9, [r11 + 1]
mov rdx, rax
mov rax, r9
movzx r9d, word [rdx + 2]
nop dword [rax]
cmp rax, r9
jge 0x3097699e7
mov qword [rsp + 0x88], rax
movups xmmword [rsp + 0x30], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rax, [0x3098624a0]
mov rbx, qword [rsp + 0xb8]
lea rcx, [0x309863150]
lea rdi, [0x3099b52e0]
lea rsi, [0x3097c8e20]
lea r8, [rsp + 0x30]
call fcn.3097620c0
test rax, rax
jne 0x3097699d6
mov rdx, qword [rsp + 0xc8]
mov rbx, qword [rdx + 0x70]
mov rcx, qword [rdx + 0x78]
mov rdi, qword [rdx + 0x80]
lea rax, [rsp + 0x30]
call fcn.30976cea0
nop dword [rax + rax]
test rcx, rcx
jne 0x3097699c5
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0xc0], rax
lea rax, [0x3097da860]
nop dword [rax]
call fcn.3096ce980
mov qword [rsp + 0xd0], rax
movups xmmword [rsp + 0xd8], xmm15
movups xmmword [rsp + 0xe8], xmm15
movups xmmword [rsp + 0xf8], xmm15
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0xd8], rcx
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0xe0], rcx
mov ecx, dword [rsp + 0x38]
mov dword [rsp + 0xe8], ecx
mov ecx, dword [rsp + 0x3c]
mov dword [rsp + 0xec], ecx
mov ecx, dword [rsp + 0x40]
mov dword [rsp + 0xf0], ecx
mov ecx, dword [rsp + 0x44]
mov dword [rsp + 0xf4], ecx
mov ecx, dword [rsp + 0x48]
mov dword [rsp + 0xf8], ecx
mov ecx, dword [rsp + 0x4c]
mov dword [rsp + 0xfc], ecx
movzx ecx, word [rsp + 0x50]
mov word [rsp + 0x100], cx
movzx ecx, word [rsp + 0x52]
mov word [rsp + 0x102], cx
mov ecx, dword [rsp + 0x54]
mov dword [rsp + 0x104], ecx
cmp dword [0x3099b5590], 0
je 0x309769834
mov rbx, rax
lea rcx, [rsp + 0xd8]
lea rax, [0x3097df200]
call fcn.3096d3c00
mov rax, qword [rsp + 0xd0]
movups xmm0, xmmword [rsp + 0xd8]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rsp + 0xe8]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [rsp + 0xf8]
movups xmmword [rax + 0x20], xmm0
mov ecx, dword [rax + 0x1c]
mov qword [rsp + 0xb0], rcx
mov edx, dword [rax + 0x18]
mov qword [rsp + 0xa8], rdx
movabs rbx, 0x7fffffffffffffff
sub rbx, rdx
mov qword [rsp + 0xa0], rbx
lea rsi, [rcx + rdx]
mov qword [rsp + 0x90], rsi
mov edi, dword [rsp + 0x44]
mov dword [rsp + 0x6c], edi
test edi, edi
lea rax, [0x3097db2e0]
nop
call fcn.3096ce980
mov ecx, dword [rsp + 0x6c]
test ecx, ecx
mov rcx, qword [rsp + 0x138]
lea rdx, [0x3098624c0]
mov rbx, rcx
cmove rcx, rdx
mov qword [rax], rcx
mov rcx, qword [rsp + 0x140]
lea rsi, [0x3099b52e0]
mov rdi, rcx
cmove rcx, rsi
mov rsi, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xa0]
cmp rsi, r8
movabs r8, 0x7fffffffffffffff
mov r9, qword [rsp + 0x90]
cmovle r8, r9
cmp dword [0x3099b5590], 0
je 0x309769914
call fcn.309727420
mov qword [r11], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], r8
mov r9, qword [rsp + 0xa8]
mov qword [rax + 0x28], r9
cmp dword [0x3099b5590], 0
jne 0x309769943
mov r9, qword [rsp + 0xd0]
jmp 0x309769963
call fcn.309727460
mov qword [r11], rax
mov r9, qword [rsp + 0xd0]
mov r10, qword [r9 + 0x58]
mov qword [r11 + 8], r10
mov r10, qword [r9 + 0x50]
mov qword [r11 + 0x10], r10
mov qword [r9 + 0x58], rax
lea r10, [0x3098624e0]
mov qword [r9 + 0x48], r10
mov qword [r9 + 0x50], rax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax + 0x30]
mov r11, qword [rsp + 0x88]
cmp r11, rcx
jae 0x309769ad1
mov r12, qword [rax + 0x28]
cmp dword [0x3099b5590], 0
nop
je 0x3097696aa
mov rcx, r11
call fcn.309727440
mov qword [r11], r9
mov r13, qword [r12 + rcx*8]
mov qword [r11 + 8], r13
mov r11, rcx
nop dword [rax]
jmp 0x3097696aa
xor eax, eax
mov rbx, rcx
mov rcx, rdi
add rsp, 0x128
pop rbp
ret
mov rcx, rbx
mov rbx, rax
xor eax, eax
add rsp, 0x128
pop rbp
ret
mov rsi, qword [rdx + 0x30]
mov qword [rsp + 0x98], rsi
mov rcx, qword [rsp + 0xb8]
xor eax, eax
jmp 0x309769a13
lea rax, [r9 + 1]
mov rsi, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xb8]
cmp rax, rsi
jge 0x309769aae
mov rdi, qword [rdx + 0x30]
cmp rax, rdi
jae 0x309769ac9
mov qword [rsp + 0x80], rax
mov rsi, qword [rdx + 0x28]
mov rsi, qword [rsi + rax*8]
test byte [rsi], al
lea rbx, [0x309862920]
mov rax, rsi
call fcn.30976cf80
mov rdx, qword [rsp + 0xc8]
mov r8, qword [rdx + 0x30]
mov r9, qword [rsp + 0x80]
nop
cmp r9, r8
jae 0x309769abe
mov r8, qword [rdx + 0x28]
mov r8, qword [r8 + r9*8]
mov qword [r8 + 0x38], rbx
mov qword [r8 + 0x40], rcx
cmp dword [0x3099b5590], 0
je 0x309769a90
nop
call fcn.309727440
mov qword [r11], rax
mov r10, qword [r8 + 0x30]
mov qword [r11 + 8], r10
mov qword [r8 + 0x30], rax
test rdi, rdi
je 0x3097699ff
xor eax, eax
mov rbx, rdi
mov rcx, rsi
add rsp, 0x128
pop rbp
ret
mov rax, rdx
xor ebx, ebx
xor ecx, ecx
add rsp, 0x128
pop rbp
ret
mov rax, r9
mov rcx, r8
call fcn.3097277e0
mov rcx, rdi
call fcn.3097277e0
mov rax, r11
call fcn.3097277e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.3097254e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.309769160