Function at 0x1800c1a2c
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 0x1800c1a76
mov eax, dword [rbx + 0x3c]
cdqe
xor r14d, r14d
cmp word [rdi + rax + 0x18], 0x20b
sete r14b
jmp 0x1800c1a79
xor r14d, r14d
call fcn.1800011fe
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 0x1800c1aa4
mov eax, dword [rbx + 0x3c]
movsxd r12, eax
add r12, rdi
jmp 0x1800c1aad
mov eax, dword [rbx + 0x3c]
movsxd r14, eax
add r14, rdi
test ecx, ecx
jne 0x1800c1ab6
mov ecx, dword [r14]
jmp 0x1800c1aba
mov ecx, dword [r12]
cmp ecx, 0x4550
je 0x1800c1ad6
lea rcx, [0x18014c660]
call fcn.1800c2488
mov rcx, rax
call fcn.1800c78ec
call fcn.1800da4dc
cmp eax, 8
je 0x1800c1ae7
mov ecx, 0x40
jmp 0x1800c1aec
mov ecx, 0x60
call fcn.1800c240c
mov rdi, rax
call fcn.1800da4dc
cmp eax, 8
je 0x1800c1b05
mov ecx, 0x10
jmp 0x1800c1b0a
mov ecx, 0x18
movsxd rcx, ecx
call fcn.1800b63b0
mov qword [rbp - 0x40], rax
xor ebx, ebx
mov qword [rbp + 0x10], rsi
mov rcx, qword [rsi + 8]
call fcn.1800b6158
mov r13, rax
lea rcx, [0x18013f008]
call fcn.1800b6158
mov qword [rbp - 0x98], rax
xor ecx, ecx
call fcn.1800b6158
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.1800c1fe8
test eax, eax
jne 0x1800c1b94
lea rcx, [0x180148ba8]
call fcn.1800c2488
mov rcx, rax
call fcn.1800c78ec
test rdi, 0xffffffffffff0000
je 0x1800c1bcb
mov rcx, rdi
mov qword [rbp - 0xb0], rcx
lea rcx, [rbp - 0xd8]
call fcn.180002e30
mov rcx, qword [rbp - 0xb0]
call sub.KERNEL32.dll_LocalFree
lea rcx, [rbp - 0xd8]
call fcn.180002e80
mov r15, qword [rbp - 0xa8]
cmp byte [r15], 0
jne 0x1800c1be1
mov eax, dword [r14 + 0x34]
mov r13d, eax
jmp 0x1800c1be6
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.1800da4dc
cmp eax, 8
je 0x1800c1c10
mov rcx, qword [rbp - 0x90]
mov edx, 4
jmp 0x1800c1c1c
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.1800c20bc
cmp qword [rbp - 0x48], 0
je 0x1800c1c41
cmp qword [rbp - 0x50], 0
jne 0x1800c1c55
lea rcx, [0x180148c18]
call fcn.1800c2488
mov rcx, rax
call fcn.1800c78ec
movzx edx, byte [r15]
test edx, edx
jne 0x1800c1c63
mov r8d, dword [r14 + 0x50]
jmp 0x1800c1c68
mov r8d, dword [r12 + 0x50]
test edx, edx
jne 0x1800c1c72
mov r10d, dword [r14 + 0x54]
jmp 0x1800c1c77
mov r10d, dword [r12 + 0x54]
mov dword [rbp - 0x54], r10d
test edx, edx
jne 0x1800c1c86
movzx r9d, word [r14 + 6]
jmp 0x1800c1c8c
movzx r9d, word [r12 + 6]
movzx r11d, r9w
mov dword [rbp - 0x58], r11d
test edx, edx
jne 0x1800c1c9e
mov r9d, dword [r14 + 0x28]
jmp 0x1800c1ca3
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.1800c2128
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.1800c2378
cmp byte [r15], 0
jne 0x1800c1cf1
lea rax, [r14 + 0xf8]
jmp 0x1800c1cf9
lea rax, [r12 + 0x108]
xor r10d, r10d
mov dword [rbp - 0x84], r10d
cmp dword [rbp - 0x58], 0
jle 0x1800c1d6e
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.1800c2378
test eax, eax
je 0x1800c1d4a
lea rcx, [0x180148dc0]
call fcn.1800c2488
mov rcx, rax
call fcn.1800c78ec
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 0x1800c1d09
cmp byte [r15], 0
jne 0x1800c1d7b
mov ecx, 0x2cc
jmp 0x1800c1d80
mov ecx, 0x4d0
movsxd rcx, ecx
call fcn.1800b63b0
mov qword [rbp - 0x70], rax
cmp byte [r15], 0
je 0x1800c1d9b
mov dword [rax + 0x30], 0x10001b
jmp 0x1800c1da1
mov dword [rax], 0x10002
cmp byte [r15], 0
jne 0x1800c1dcd
mov rcx, qword [rbp - 0x50]
mov rdx, rax
call fcn.1800c21bc
test eax, eax
jne 0x1800c1df1
lea rcx, [0x180148a60]
call fcn.1800c2488
mov rcx, rax
call fcn.1800c78ec
jmp 0x1800c1df1
mov rcx, qword [rbp - 0x50]
mov rdx, rax
call fcn.1800c2304
test eax, eax
jne 0x1800c1df1
lea rcx, [0x180148b10]
call fcn.1800c2488
mov rcx, rax
call fcn.1800c78ec
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.18007f434
mov rcx, qword [rbp - 0x48]
cmp byte [r15], 0
jne 0x1800c1e26
mov edx, dword [rbp - 0x74]
add edx, 8
movsxd rdx, edx
jmp 0x1800c1e2e
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 0x1800c1e56
xor r8d, r8d
jmp 0x1800c1e6f
mov r8, qword [rbp - 0xa0]
cmp dword [r8 + 8], 0
jbe 0x1800c1ebb
mov r8, qword [rbp - 0xa0]
add r8, 0x10
xor eax, eax
mov dword [rsp + 0x20], eax
call fcn.1800c2378
xor ecx, ecx
test eax, eax
sete cl
xor eax, eax
mov qword [rbp - 0xa0], rax
test ecx, ecx
jne 0x1800c1ea2
lea rcx, [0x180148d10]
call fcn.1800c2488
mov rcx, rax
call fcn.1800c78ec
cmp byte [r15], 0
je 0x1800c1ec0
mov ecx, dword [rbp - 0x5c]
add rcx, r13
mov r13, qword [rbp - 0x70]
mov qword [r13 + 0x80], rcx
jmp 0x1800c1ed1
call fcn.18008afd4
mov ecx, dword [rbp - 0x5c]
add rcx, r13
mov r13, qword [rbp - 0x70]
mov qword [r13 + 0xb0], rcx
cmp byte [r15], 0
jne 0x1800c1efd
mov rcx, qword [rbp - 0x50]
mov rdx, r13
call fcn.1800c21bc
test eax, eax
jne 0x1800c1f21
lea rcx, [0x180148ca0]
call fcn.1800c2488
mov rcx, rax
call fcn.1800c78ec
jmp 0x1800c1f21
mov rcx, qword [rbp - 0x50]
mov rdx, r13
call fcn.1800c2230
test eax, eax
jne 0x1800c1f21
lea rcx, [0x180148ca0]
call fcn.1800c2488
mov rcx, rax
call fcn.1800c78ec
mov rcx, qword [rbp - 0x50]
call fcn.1800c22a4
inc ebx
cmp ebx, 5
jl 0x1800c1b18
jmp 0x1800c1f38
mov rax, qword [rbp - 0x40]
test rax, 0xffffffffffff0000
je 0x1800c1f4c
mov rcx, rax
call fcn.1800bb8b4
xor eax, eax
add rsp, 0xf8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret