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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xf8
lea rbp, [rsp + 0x130]
xor eax, eax
mov qword [rbp - 0xa0], rax
mov rsi, rcx
mov rdi, qword [rsi + 0x10]
mov rbx, rdi
cmp word [rbx], 0x5a4d
jne 0x180077d26
mov eax, dword [rbx + 0x3c]
cdqe
xor r14d, r14d
cmp word [rdi + rax + 0x18], 0x20b
sete r14b
jmp 0x180077d29
xor r14d, r14d
call fcn.180001042
mov r15, rax
mov qword [rbp - 0xa8], r15
mov byte [r15], r14b
xor r14d, r14d
xor r12d, r12d
movzx ecx, byte [r15]
test ecx, ecx
je 0x180077d54
mov eax, dword [rbx + 0x3c]
movsxd r12, eax
add r12, rdi
jmp 0x180077d5d
mov eax, dword [rbx + 0x3c]
movsxd r14, eax
add r14, rdi
test ecx, ecx
jne 0x180077d66
mov ecx, dword [r14]
jmp 0x180077d6a
mov ecx, dword [r12]
cmp ecx, 0x4550
je 0x180077d86
lea rcx, [0x18013b798]
call fcn.180078738
mov rcx, rax
call fcn.1800c29f0
call fcn.1800d3a58
cmp eax, 8
je 0x180077d97
mov ecx, 0x40
jmp 0x180077d9c
mov ecx, 0x60
call fcn.1800786bc
mov rdi, rax
call fcn.1800d3a58
cmp eax, 8
je 0x180077db5
mov ecx, 0x10
jmp 0x180077dba
mov ecx, 0x18
movsxd rcx, ecx
call fcn.1800b79fc
mov qword [rbp - 0x40], rax
xor ebx, ebx
mov qword [rbp + 0x10], rsi
mov rcx, qword [rsi + 8]
call fcn.1800b77a4
mov r13, rax
lea rcx, [0x180135008]
call fcn.1800b77a4
mov qword [rbp - 0x98], rax
xor ecx, ecx
call fcn.1800b77a4
xor ecx, ecx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rdi
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x48], rax
mov rcx, r13
mov rdx, qword [rbp - 0x98]
xor r8d, r8d
xor r9d, r9d
call fcn.180078298
test eax, eax
jne 0x180077e44
lea rcx, [0x18013bc00]
call fcn.180078738
mov rcx, rax
call fcn.1800c29f0
test rdi, 0xffffffffffff0000
je 0x180077e7b
mov rcx, rdi
mov qword [rbp - 0xb0], rcx
lea rcx, [rbp - 0xd8]
call fcn.180002d70
mov rcx, qword [rbp - 0xb0]
call sub.KERNEL32.dll_LocalFree
lea rcx, [rbp - 0xd8]
call fcn.180002dc0
mov r15, qword [rbp - 0xa8]
cmp byte [r15], 0
jne 0x180077e91
mov eax, dword [r14 + 0x34]
mov r13d, eax
jmp 0x180077e96
mov r13, qword [r12 + 0x30]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rax]
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x90], rax
call fcn.1800d3a58
cmp eax, 8
je 0x180077ec0
mov rcx, qword [rbp - 0x90]
mov edx, 4
jmp 0x180077ecc
mov rcx, qword [rbp - 0x90]
mov edx, 8
movsxd rdx, edx
mov rax, qword [rcx + rdx]
mov qword [rbp - 0x50], rax
mov rcx, qword [rbp - 0x48]
mov rdx, r13
call fcn.18007836c
cmp qword [rbp - 0x48], 0
je 0x180077ef1
cmp qword [rbp - 0x50], 0
jne 0x180077f05
lea rcx, [0x18013ba50]
call fcn.180078738
mov rcx, rax
call fcn.1800c29f0
movzx edx, byte [r15]
test edx, edx
jne 0x180077f13
mov r8d, dword [r14 + 0x50]
jmp 0x180077f18
mov r8d, dword [r12 + 0x50]
test edx, edx
jne 0x180077f22
mov r10d, dword [r14 + 0x54]
jmp 0x180077f27
mov r10d, dword [r12 + 0x54]
mov dword [rbp - 0x54], r10d
test edx, edx
jne 0x180077f36
movzx r9d, word [r14 + 6]
jmp 0x180077f3c
movzx r9d, word [r12 + 6]
movzx r11d, r9w
mov dword [rbp - 0x58], r11d
test edx, edx
jne 0x180077f4e
mov r9d, dword [r14 + 0x28]
jmp 0x180077f53
mov r9d, dword [r12 + 0x28]
mov dword [rbp - 0x5c], r9d
mov dword [rsp + 0x20], 0x40
mov rcx, qword [rbp - 0x48]
mov rdx, r13
mov r9d, 0x3000
call fcn.1800783d8
mov r13, rax
mov rsi, qword [rbp + 0x10]
mov r8, qword [rsi + 0x10]
xor ecx, ecx
mov dword [rsp + 0x20], ecx
mov rcx, qword [rbp - 0x48]
mov rdx, r13
mov r9d, dword [rbp - 0x54]
call fcn.180078628
cmp byte [r15], 0
jne 0x180077fa1
lea rax, [r14 + 0xf8]
jmp 0x180077fa9
lea rax, [r12 + 0x108]
xor r10d, r10d
mov dword [rbp - 0x84], r10d
cmp dword [rbp - 0x58], 0
jle 0x18007801e
mov ecx, dword [rax + 0xc]
mov edx, ecx
add rdx, r13
mov r8, qword [rsi + 0x10]
mov ecx, dword [rax + 0x14]
add r8, rcx
mov qword [rbp - 0x68], rax
mov r9d, dword [rax + 0x10]
xor ecx, ecx
mov dword [rsp + 0x20], ecx
mov rcx, qword [rbp - 0x48]
call fcn.180078628
test eax, eax
je 0x180077ffa
lea rcx, [0x18013b960]
call fcn.180078738
mov rcx, rax
call fcn.1800c29f0
mov rax, qword [rbp - 0x68]
add rax, 0x28
mov r10d, dword [rbp - 0x84]
inc r10d
mov ecx, dword [rbp - 0x58]
cmp r10d, ecx
mov dword [rbp - 0x84], r10d
mov dword [rbp - 0x58], ecx
jl 0x180077fb9
cmp byte [r15], 0
jne 0x18007802b
mov ecx, 0x2cc
jmp 0x180078030
mov ecx, 0x4d0
movsxd rcx, ecx
call fcn.1800b79fc
mov qword [rbp - 0x70], rax
cmp byte [r15], 0
je 0x18007804b
mov dword [rax + 0x30], 0x10001b
jmp 0x180078051
mov dword [rax], 0x10002
cmp byte [r15], 0
jne 0x18007807d
mov rcx, qword [rbp - 0x50]
mov rdx, rax
call fcn.18007846c
test eax, eax
jne 0x1800780a1
lea rcx, [0x18013bad0]
call fcn.180078738
mov rcx, rax
call fcn.1800c29f0
jmp 0x1800780a1
mov rcx, qword [rbp - 0x50]
mov rdx, rax
call fcn.1800785b4
test eax, eax
jne 0x1800780a1
lea rcx, [0x18013bb70]
call fcn.180078738
mov rcx, rax
call fcn.1800c29f0
mov rax, qword [rbp - 0x70]
mov edx, dword [rax + 0xa4]
mov dword [rbp - 0x74], edx
mov r8, qword [rax + 0x88]
mov qword [rbp - 0x80], r8
mov rcx, r13
call fcn.180080df0
mov rcx, qword [rbp - 0x48]
cmp byte [r15], 0
jne 0x1800780d6
mov edx, dword [rbp - 0x74]
add edx, 8
movsxd rdx, edx
jmp 0x1800780de
mov rdx, qword [rbp - 0x80]
add rdx, 0x10
mov r9d, dword [rax + 8]
xor r8d, r8d
mov qword [rbp - 0xa0], r8
mov qword [rbp - 0xa0], rax
mov r8, qword [rbp - 0xa0]
cmp dword [r8 + 8], 0
jne 0x180078106
xor r8d, r8d
jmp 0x18007811f
mov r8, qword [rbp - 0xa0]
cmp dword [r8 + 8], 0
jbe 0x18007816b
mov r8, qword [rbp - 0xa0]
add r8, 0x10
xor eax, eax
mov dword [rsp + 0x20], eax
call fcn.180078628
xor ecx, ecx
test eax, eax
sete cl
xor eax, eax
mov qword [rbp - 0xa0], rax
test ecx, ecx
jne 0x180078152
lea rcx, [0x18013b8b0]
call fcn.180078738
mov rcx, rax
call fcn.1800c29f0
cmp byte [r15], 0
je 0x180078170
mov ecx, dword [rbp - 0x5c]
add rcx, r13
mov r13, qword [rbp - 0x70]
mov qword [r13 + 0x80], rcx
jmp 0x180078181
call fcn.18008c880
mov ecx, dword [rbp - 0x5c]
add rcx, r13
mov r13, qword [rbp - 0x70]
mov qword [r13 + 0xb0], rcx
cmp byte [r15], 0
jne 0x1800781ad
mov rcx, qword [rbp - 0x50]
mov rdx, r13
call fcn.18007846c
test eax, eax
jne 0x1800781d1
lea rcx, [0x18013b9e8]
call fcn.180078738
mov rcx, rax
call fcn.1800c29f0
jmp 0x1800781d1
mov rcx, qword [rbp - 0x50]
mov rdx, r13
call fcn.1800784e0
test eax, eax
jne 0x1800781d1
lea rcx, [0x18013b9e8]
call fcn.180078738
mov rcx, rax
call fcn.1800c29f0
mov rcx, qword [rbp - 0x50]
call fcn.180078554
inc ebx
cmp ebx, 5
jl 0x180077dc8
jmp 0x1800781e8
mov rax, qword [rbp - 0x40]
test rax, 0xffffffffffff0000
je 0x1800781fc
mov rcx, rax
call fcn.1800bcf00
xor eax, eax
add rsp, 0xf8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret