Function at 0x1801b12e0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb8
mov rbp, r9
mov rdi, r8
mov r15, rdx
mov rbx, rcx
mov r8d, dword [rcx + 0x130]
mov rcx, qword [rcx + 0x10]
call fcn.180167070
mov eax, dword [rdi + 0x3c]
test eax, eax
jne 0x1801b1327
lea rcx, str.unexpected_value_in_the_PE_header
call fcn.180164ae0
cmp dword [rbx + 0x2c], 0x200
jae 0x1801b133c
lea rcx, str.Too_small
call fcn.180164ae0
movzx eax, word [rdi + 6]
mov dword [rsp + 0x100], eax
dec eax
lea rax, [rax + rax*4]
lea rcx, [rax*8]
mov rax, qword [rbx + 0x1f8]
mov edx, dword [rax + rcx + 0x14]
mov rax, qword [rbx + 0x1f8]
mov r8d, dword [rax + rcx + 0x10]
dec edx
mov ecx, dword [rdi + 0x3c]
add r8d, edx
add r8d, ecx
xor edx, edx
mov eax, r8d
div ecx
sub r8d, edx
mov ecx, dword [rbx + 0x18]
sub ecx, r8d
mov dword [rsp + 0x3c], ecx
mov rax, qword [rbx]
mov edx, ecx
mov rcx, rbx
mov rax, qword [rax + 0x180]
call qword [case.0x1800a0c66.0]
mov edx, dword [rbx + 0x30]
lea rcx, [rbx + 0xf0]
call fcn.180162800
xor r8d, r8d
mov edx, dword [rbx + 0x2c]
lea rcx, [rbx + 0x100]
call fcn.180162940
mov r14, qword [rbx + 0x10]
mov rax, qword [r14]
mov rsi, qword [rax + 0x48]
mov rdx, qword [rbx + 0x1f8]
mov edi, dword [rdx + 0x3c]
lea rcx, [rbx + 0x1c]
call fcn.1801a51b0
mov edx, dword [rbx + 0x58]
add edx, 0xffffffc0
add edx, edi
add edx, eax
xor r8d, r8d
mov rcx, r14
mov rax, rsi
call qword [case.0x1800a0c66.0]
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
mov r8d, dword [rbx + 0x30]
lea rdx, [rbx + 0xf0]
mov rax, qword [rax + 0x78]
call qword [case.0x1800a0c66.0]
mov rax, qword [rbx]
xor r14d, r14d
mov qword [rsp + 0x20], r14
mov r9b, 1
mov r8, qword [rbx + 0x100]
mov rdx, qword [rbx + 0xf0]
mov rcx, rbx
mov rax, qword [rax + 0xb0]
call qword [case.0x1800a0c66.0]
mov ecx, dword [rbx + 0x2c]
mov rax, qword [rbx + 0x100]
mov esi, dword [rcx + rax - 4]
mov r9d, 0xf8
mov r8d, esi
lea rdx, str.bad_extrainfo_offset__x
lea rcx, [rbx + 0x100]
call fcn.180162c00
mov rdi, rax
mov ecx, dword [rbx + 0x108]
sub ecx, 0xfc
cmp ecx, esi
jae 0x1801b1489
lea rcx, str.Invalid_extrainfo
call fcn.180164ae0
movups xmm0, xmmword [rdi]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rbp + 0x50], xmm1
movups xmm0, xmmword [rdi + 0x60]
movups xmmword [rbp + 0x60], xmm0
lea rcx, [rbp + 0x80]
movups xmm0, xmmword [rdi + 0x70]
movups xmmword [rcx - 0x10], xmm0
sub rdi, 0xffffffffffffff80
movups xmm1, xmmword [rdi]
movups xmmword [rcx], xmm1
movups xmm0, xmmword [rdi + 0x10]
movups xmmword [rcx + 0x10], xmm0
movups xmm1, xmmword [rdi + 0x20]
movups xmmword [rcx + 0x20], xmm1
movups xmm0, xmmword [rdi + 0x30]
movups xmmword [rcx + 0x30], xmm0
movups xmm1, xmmword [rdi + 0x40]
movups xmmword [rcx + 0x40], xmm1
movups xmm0, xmmword [rdi + 0x50]
movups xmmword [rcx + 0x50], xmm0
movups xmm1, xmmword [rdi + 0x60]
movups xmmword [rcx + 0x60], xmm1
mov rax, qword [rdi + 0x70]
mov qword [rcx + 0x70], rax
add esi, 0xf8
movzx eax, word [rbp + 6]
mov r13d, eax
test eax, eax
je 0x1801b154f
mov rax, qword [rbx + 0x1f8]
mov eax, dword [rax + 0x60]
test eax, eax
je 0x1801b154f
mov r12d, r13d
mov edx, dword [rbx + 0x108]
sub edx, esi
lea rax, [r13*4]
add rax, r13
shl rax, 3
cmp rdx, rax
jae 0x1801b155e
lea rcx, str.unexpected_value_in_the_PE_header
call fcn.180164ae0
mov r12, r13
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
lea ecx, [r9 + 0x28]
call fcn.180163dd0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.180162740
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea edi, [r13*4]
add edi, r13d
shl edi, 3
mov dword [rsp + 0x108], edi
mov r9d, edi
mov r8d, esi
lea rdx, str.bad_extra_section_size_at__x
lea rcx, [rbx + 0x100]
call fcn.180162c00
lea rsi, [rdi + rax]
mov r8d, edi
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.180280e70
mov qword [rsp + 0x40], rsi
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
mov dword [rbx + 0x1d8], eax
lea rsi, [rbx + 0xf0]
mov rcx, rsi
call fcn.180162a20
mov rax, qword [rbx + 0x1f8]
mov edx, dword [rax + 0x60]
mov rcx, rsi
call fcn.180162800
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
mov rdx, qword [rbx + 0x1f8]
mov edx, dword [rdx + 0x64]
xor r8d, r8d
mov rax, qword [rax + 0x48]
call qword [case.0x1800a0c66.0]
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
mov rdx, qword [rbx + 0x1f8]
mov r8d, dword [rdx + 0x60]
mov rdx, rsi
mov rax, qword [rax + 0x78]
call qword [case.0x1800a0c66.0]
cmp dword [rbx + 0x40], 0
je 0x1801b16f3
mov eax, dword [rbx + 0x28]
mov dword [rsp + 0xa0], eax
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.1801a57b0
mov r8d, dword [rbp + 0x2c]
sub r8d, dword [rbx + 0x1d8]
mov edx, dword [rbx + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1801a57b0
movzx eax, byte [rbx + 0x44]
mov byte [rsp + 0x80], al
mov r9d, dword [rbx + 0x108]
mov r8, qword [rbx + 0x100]
mov r10d, dword [rbp + 0x1c]
mov eax, dword [rbx + 0x1d8]
mov rcx, qword [rbx + 0x100]
sub rcx, rax
mov edx, dword [rbp + 0x2c]
add rdx, rcx
cmp rdx, r8
jb 0x1801b16c0
lea rcx, [r9 + r8]
cmp rdx, rcx
ja 0x1801b16c0
lea rax, [rdx + r10]
cmp rax, rcx
jbe 0x1801b16cc
lea rcx, str.pointer_out_of_range__take_care_
call fcn.180164ae0
mov r8d, dword [rbp + 0x1c]
mov eax, dword [rbx + 0x1d8]
mov rcx, qword [rbx + 0x100]
sub rcx, rax
mov edx, dword [rbp + 0x2c]
add rdx, rcx
xor r9d, r9d
lea rcx, [rsp + 0x60]
call fcn.1801a5860
movzx r9d, byte [rsp + 0x128]
mov r8d, dword [rsp + 0x120]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1801b0140
mov eax, dword [rbp + 0x34]
movzx r9d, word [rbp + 0x16]
mov qword [rsp + 0x20], rax
mov r8d, 0x20
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1801b7580
mov rcx, rbx
call fcn.1801b7390
cmp dword [rsp + 0x100], 4
jne 0x1801b17a3
mov rcx, rsi
call fcn.180162a20
mov rax, qword [rbx + 0x1f8]
mov edx, dword [rax + 0x88]
mov rcx, rsi
call fcn.180162800
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
mov rdx, qword [rbx + 0x1f8]
mov edx, dword [rdx + 0x8c]
xor r8d, r8d
mov rax, qword [rax + 0x48]
call qword [case.0x1800a0c66.0]
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
mov rdx, qword [rbx + 0x1f8]
mov r8d, dword [rdx + 0x88]
mov rdx, rsi
mov rax, qword [rax + 0x78]
call qword [case.0x1800a0c66.0]
mov rdx, qword [rbx + 0x1f8]
mov rdi, qword [rsp + 0x110]
movzx ecx, word [rdi + 6]
dec ecx
lea rcx, [rcx + rcx*4]
mov r8d, dword [rdx + rcx*8 + 0xc]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1801b7a20
mov rax, qword [rbx + 0x1f0]
mov dword [rax + 0x30], r14d
mov rax, qword [rbx + 0x1f0]
mov dword [rax + 0x34], r14d
mov rax, qword [rbx + 0x1f0]
mov dword [rax + 0x60], r14d
mov rax, qword [rbx + 0x1f0]
mov dword [rax + 0x64], r14d
mov rax, qword [rbx + 0x1f0]
mov dword [rax + 0x58], r14d
mov rax, qword [rbx + 0x1f0]
mov dword [rax + 0x5c], r14d
mov eax, dword [rbx + 0x1d8]
mov dword [rbp + 0x54], eax
mov dword [rbp + 0x58], r14d
movzx eax, word [rdi + 0x5e]
test al, 0x40
je 0x1801b1833
mov rax, qword [0x180dcd1c8]
mov dword [rax + 0x130], r14d
movzx eax, word [rdi + 0x16]
test al, 1
je 0x1801b185d
movzx eax, word [rbp + 0x16]
or ax, 1
mov word [rbp + 0x16], ax
mov rax, qword [rbx + 0x1f0]
mov dword [rax + 0x28], r14d
mov rax, qword [rbx + 0x1f0]
mov dword [rax + 0x2c], r14d
test r15, r15
je 0x1801b19d4
test r13d, r13d
je 0x1801b1886
mov rcx, qword [rsp + 0x30]
add rcx, 0x14
mov eax, dword [rcx]
test eax, eax
jne 0x1801b1886
inc r14d
add rcx, 0x28
cmp r14d, r13d
jb 0x1801b1874
mov rcx, rsi
call fcn.180162a20
mov eax, r14d
lea rcx, [rax + rax*4]
mov r14, qword [rsp + 0x30]
lea rdi, [r14 + rcx*8]
mov edx, dword [rdi + 0x14]
mov rcx, rsi
call fcn.180162800
xor r9d, r9d
mov r8d, dword [rsi + 8]
xor edx, edx
mov rcx, rsi
call fcn.180162ac0
lea rcx, str._Writing_uncompressed_file_
call fcn.180154540
mov rax, qword [r15]
mov r8d, 0xf8
mov rdx, rbp
mov rcx, r15
mov rax, qword [rax + 0x40]
call qword [case.0x1800a0c66.0]
mov rax, qword [r15]
mov r8d, dword [rsp + 0x108]
mov rdx, r14
mov rcx, r15
mov rax, qword [rax + 0x40]
call qword [case.0x1800a0c66.0]
mov rax, qword [r15]
mov r8d, dword [rdi + 0x14]
sub r8d, dword [r15 + 0x58]
mov rdx, rsi
mov rcx, r15
mov rax, qword [rax + 0x70]
call qword [case.0x1800a0c66.0]
test r13d, r13d
je 0x1801b19aa
lea rdi, [r14 + 0x10]
lea r14, [rbx + 0x100]
nop dword [rax]
mov eax, dword [rdi + 4]
test eax, eax
je 0x1801b1997
mov ecx, dword [rdi]
mov eax, dword [rbp + 0x3c]
mov r8d, dword [rbp + 0x3c]
dec eax
add eax, ecx
xor edx, edx
div r8d
mov ecx, dword [rbp + 0x3c]
imul eax, ecx
mov dword [rsp + 0x118], eax
mov dword [rsp + 0x38], eax
mov esi, dword [rsp + 0x38]
cmp esi, dword [rbx + 0x108]
jbe 0x1801b1972
lea rcx, str.corrupted_size
call fcn.180164be0
mov rax, qword [r15]
mov ecx, dword [rbx + 0x1d8]
mov r9, qword [r14]
sub r9, rcx
mov edx, dword [rdi - 4]
add rdx, r9
mov r8d, esi
mov rcx, r15
mov rax, qword [rax + 0x40]
call qword [case.0x1800a0c66.0]
add rdi, 0x28
sub r12, 1
jne 0x1801b1930
lea rsi, [rbx + 0xf0]
jmp 0x1801b19b1
lea r14, [rbx + 0x100]
mov rax, qword [rbx]
mov byte [rsp + 0x20], 1
mov r9, r14
mov r8d, dword [rsp + 0x3c]
mov rdx, r15
mov rcx, rbx
mov rax, qword [rax + 0x188]
call qword [case.0x1800a0c66.0]
mov rcx, rsi
call fcn.180162a20
nop
lea rcx, [rsp + 0x48]
call fcn.180162760
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret