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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x58]
sub rsp, 0x158
mov rax, qword [0x140209040]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r15, r9
mov rbx, r8
mov qword [rsp + 0x68], rbx
mov r12, rdx
mov rsi, rcx
mov r8d, dword [rcx + 0x130]
mov rcx, qword [rcx + 0x10]
call fcn.140020ec0
mov eax, dword [rbx + 0x3c]
test eax, eax
je 0x14002f97f
movzx eax, word [rbx + 6]
mov dword [rsp + 0x4c], eax
dec eax
lea rax, [rax + rax*4]
lea rcx, [rax*8]
mov rax, qword [rsi + 0x1f8]
mov edx, dword [rax + rcx + 0x14]
mov rax, qword [rsi + 0x1f8]
mov r8d, dword [rcx + rax + 0x10]
dec edx
mov ecx, dword [rbx + 0x3c]
add r8d, edx
add r8d, ecx
xor edx, edx
mov eax, r8d
div ecx
sub r8d, edx
mov ecx, dword [rsi + 0x18]
sub ecx, r8d
mov dword [rsp + 0x60], ecx
mov rax, qword [rsi]
mov edx, ecx
mov rcx, rsi
call qword [rax + 0x180]
lea rdi, [rsi + 0xf0]
mov qword [rsp + 0x70], rdi
mov edx, dword [rsi + 0x30]
mov rcx, rdi
call fcn.14001ef30
mov eax, dword [rsi + 0x2c]
cmp eax, 0x30000000
ja 0x14002f98c
lea rbx, [rsi + 0x100]
mov edx, eax
mov rcx, rbx
call fcn.14001ef30
mov rax, qword [rsi + 0x1f8]
mov r8d, dword [rax + 0x3c]
mov ecx, dword [rsi + 0x20]
test ecx, ecx
js 0x14002f972
mov eax, dword [rsi + 0x1c]
test eax, eax
js 0x14002f972
mov r9d, 0x20
cmp eax, 3
jg 0x14002f365
lea edx, [r9 - 8]
jmp 0x14002f3ad
cmp eax, 9
lea eax, [rcx - 1]
jg 0x14002f390
cmp eax, 1
jbe 0x14002f389
lea eax, [rcx - 3]
test eax, 0xfffffffb
mov edx, 0x19
mov eax, 0x1c
cmovne edx, eax
jmp 0x14002f3ad
mov edx, 0x14
jmp 0x14002f3ad
cmp eax, 1
jbe 0x14002f3a8
lea eax, [rcx - 3]
test eax, 0xfffffffb
mov edx, 0x1b
cmovne edx, r9d
jmp 0x14002f3ad
mov edx, 0x16
mov rcx, qword [rsi + 0x10]
mov r9, qword [rcx]
add edx, dword [rsi + 0x58]
add r8d, 0xffffffc0
add edx, r8d
xor r8d, r8d
call qword [r9 + 0x48]
mov rcx, qword [rsi + 0x10]
mov rax, qword [rcx]
mov r8d, dword [rsi + 0x30]
mov rdx, rdi
call qword [rax + 0x78]
mov rax, qword [rsi]
xor r14d, r14d
mov qword [rsp + 0x20], r14
mov r9b, 1
mov r8, qword [rbx]
mov rdx, qword [rdi]
mov rcx, rsi
call qword [rax + 0xb0]
mov ecx, dword [rsi + 0x2c]
mov rax, qword [rbx]
mov ecx, dword [rcx + rax - 4]
mov dword [rsp + 0x48], ecx
lea eax, [rcx + 0xf8]
cmp eax, 0xf8
jb 0x14002f9f1
cmp eax, dword [rbx + 8]
ja 0x14002f9f1
mov rax, qword [rbx]
add rax, rcx
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15 + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [r15 + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [r15 + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [r15 + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [r15 + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [r15 + 0x60], xmm0
lea rdx, [r15 + 0x80]
movups xmm0, xmmword [rax + 0x70]
movups xmmword [rdx - 0x10], xmm0
sub rax, 0xffffffffffffff80
movups xmm1, xmmword [rax]
movups xmmword [rdx], xmm1
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm1
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm0
movups xmm1, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm1
movups xmm0, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm0
movups xmm1, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm1
mov rax, qword [rax + 0x70]
mov qword [rdx + 0x70], rax
movzx eax, word [r15 + 6]
mov edi, eax
mov dword [rsp + 0x50], edi
test eax, eax
je 0x14002f97f
mov rax, qword [rsi + 0x1f8]
mov eax, dword [rax + 0x60]
test eax, eax
je 0x14002f97f
mov r13d, edi
lea rdx, [rdi*4]
add rdx, rdi
shl rdx, 3
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x40], r14d
lea rcx, [rsp + 0x38]
call fcn.14001ef30
nop
lea r8d, [rdi + rdi*4]
shl r8d, 3
mov dword [rsp + 0x54], r8d
mov r9d, dword [rsp + 0x48]
add r9d, 0xf8
lea ecx, [r8 + r9]
cmp ecx, r8d
jb 0x14002f9cd
cmp ecx, dword [rbx + 8]
ja 0x14002f9cd
mov edx, r9d
add rdx, qword [rbx]
mov qword [rsp + 0x30], rdx
mov ebx, r8d
mov rdi, qword [rsp + 0x38]
mov rcx, rdi
call fcn.1400c7540
add qword [rsp + 0x30], rbx
mov eax, dword [rdi + 0xc]
mov dword [rsi + 0x1d8], eax
lea rbx, [rsi + 0xf0]
mov rcx, rbx
call fcn.14001ecc0
mov rax, qword [rsi + 0x1f8]
mov edx, dword [rax + 0x60]
mov rcx, rbx
call fcn.14001ef30
mov rcx, qword [rsi + 0x1f8]
mov rax, qword [rsi + 0x10]
mov r9, qword [rax]
mov edx, dword [rcx + 0x64]
xor r8d, r8d
mov rcx, qword [rsi + 0x10]
call qword [r9 + 0x48]
mov r8, qword [rsi + 0x1f8]
mov rax, qword [rsi + 0x10]
mov r9, qword [rax]
mov r8d, dword [r8 + 0x60]
mov rdx, rbx
mov rcx, qword [rsi + 0x10]
call qword [r9 + 0x78]
cmp dword [rsi + 0x40], r14d
je 0x14002f69a
mov eax, dword [rsi + 0x28]
mov dword [rbp - 0x40], eax
mov ecx, dword [r15 + 0x2c]
sub ecx, dword [rsi + 0x1d8]
mov eax, dword [rsi + 0x40]
mov dword [rbp - 0x44], eax
mov dword [rbp - 0x70], ecx
mov qword [rbp - 0x68], r14
mov dword [rbp - 0x48], r14d
movzx eax, byte [rsi + 0x44]
mov byte [rbp - 0x60], al
mov r11d, dword [r15 + 0x1c]
mov r10d, dword [rsi + 0x108]
mov r9, qword [rsi + 0x100]
mov eax, dword [rsi + 0x1d8]
mov rcx, r9
sub rcx, rax
mov r8d, dword [r15 + 0x2c]
add r8, rcx
cmp r8, r9
jb 0x14002f9c0
lea rcx, [r10 + r9]
cmp r8, rcx
ja 0x14002f9c0
lea rax, [r8 + r11]
cmp rax, rcx
ja 0x14002f9c0
mov r8d, dword [r15 + 0x1c]
mov eax, dword [rsi + 0x1d8]
mov rdx, qword [rsi + 0x100]
sub rdx, rax
mov ecx, dword [r15 + 0x2c]
add rcx, rdx
mov qword [rbp - 0x80], rcx
mov dword [rbp - 0x78], r8d
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x58], r14
mov dword [rbp - 0x5c], r14d
mov ecx, dword [rbp - 0x44]
call fcn.14000ea50
test rax, rax
je 0x14002f999
cmp dword [rax], r14d
je 0x14002f69a
mov edx, dword [rbp - 0x78]
cmp edx, dword [rax + 4]
jb 0x14002f69a
mov ecx, dword [rax + 8]
test ecx, ecx
je 0x14002f67f
cmp edx, ecx
ja 0x14002f69a
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x14002f9a6
lea rcx, [rbp - 0x80]
call rdx
test eax, eax
jne 0x14002f9b3
movzx r9d, byte [rbp + 0xc8]
mov r8d, 0x80000000
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140035380
movzx r9d, word [r15 + 0x16]
mov eax, dword [r15 + 0x34]
mov qword [rsp + 0x20], rax
mov r8d, 0x20
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14002c7e0
mov rcx, rsi
call fcn.14002cd60
cmp dword [rsp + 0x4c], 4
jne 0x14002f741
mov rcx, rbx
call fcn.14001ecc0
mov rax, qword [rsi + 0x1f8]
mov edx, dword [rax + 0x88]
mov rcx, rbx
call fcn.14001ef30
mov rcx, qword [rsi + 0x1f8]
mov rax, qword [rsi + 0x10]
mov r9, qword [rax]
mov edx, dword [rcx + 0x8c]
xor r8d, r8d
mov rcx, qword [rsi + 0x10]
call qword [r9 + 0x48]
mov r8, qword [rsi + 0x1f8]
mov rax, qword [rsi + 0x10]
mov r9, qword [rax]
mov r8d, dword [r8 + 0x88]
mov rdx, rbx
mov rcx, qword [rsi + 0x10]
call qword [r9 + 0x78]
mov rdi, qword [rsp + 0x68]
movzx ecx, word [rdi + 6]
dec ecx
lea r8, [rcx + rcx*4]
mov rax, qword [rsi + 0x1f8]
mov r8d, dword [rax + r8*8 + 0xc]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14002cf60
mov rax, qword [rsi + 0x1f0]
mov dword [rax + 0x30], r14d
mov rax, qword [rsi + 0x1f0]
mov dword [rax + 0x34], r14d
mov rax, qword [rsi + 0x1f0]
mov dword [rax + 0x60], r14d
mov rax, qword [rsi + 0x1f0]
mov dword [rax + 0x64], r14d
mov rax, qword [rsi + 0x1f0]
mov dword [rax + 0x58], r14d
mov rax, qword [rsi + 0x1f0]
mov dword [rax + 0x5c], r14d
mov eax, dword [rsi + 0x1d8]
mov dword [r15 + 0x54], eax
mov dword [r15 + 0x58], r14d
movzx eax, word [rdi + 0x5e]
mov rcx, qword [0x140209d58]
test al, 0x40
je 0x14002f7cf
mov dword [rcx + 0x130], r14d
cmp dword [rcx + 0x130], 0
je 0x14002f7e1
cmp byte [rsi + 0x200], 0
je 0x14002f7e9
movzx eax, word [rdi + 0x16]
test al, 1
je 0x14002f80d
movzx eax, word [r15 + 0x16]
or ax, 1
mov word [r15 + 0x16], ax
mov rax, qword [rsi + 0x1f0]
mov dword [rax + 0x28], r14d
mov rax, qword [rsi + 0x1f0]
mov dword [rax + 0x2c], r14d
test r12, r12
je 0x14002f93e
mov rcx, qword [rsp + 0x38]
add rcx, 0x14
mov edx, dword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
jne 0x14002f835
inc r14d
add rcx, 0x28
cmp r14d, edx
jb 0x14002f823
mov rcx, rbx
call fcn.14001ecc0
mov eax, r14d
lea rcx, [rax + rax*4]
lea rdi, [rcx*8]
mov rax, qword [rsp + 0x38]
mov edx, dword [rdi + rax + 0x14]
mov rcx, rbx
call fcn.14001ef30
mov rcx, rbx
call fcn.1400271c0
lea rcx, str._Writing_uncompressed_file_
call fcn.14001f9c0
mov rax, qword [r12]
mov r8d, 0xf8
mov rdx, r15
mov rcx, r12
call qword [rax + 0x40]
mov rax, qword [r12]
mov r8d, dword [rsp + 0x54]
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
mov rcx, r12
call qword [rax + 0x40]
mov rax, qword [r12]
mov r8d, dword [rdi + rbx + 0x14]
sub r8d, dword [r12 + 0x58]
lea rdx, [rsi + 0xf0]
mov rcx, r12
call qword [rax + 0x70]
mov rbx, qword [rsp + 0x38]
add rbx, 0x10
nop
mov eax, dword [rbx + 4]
test eax, eax
je 0x14002f90f
mov ecx, dword [rbx]
mov eax, dword [r15 + 0x3c]
mov r8d, dword [r15 + 0x3c]
dec eax
add eax, ecx
xor edx, edx
div r8d
mov ecx, dword [r15 + 0x3c]
imul eax, ecx
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], eax
mov r8d, dword [rsp + 0x5c]
mov r10, qword [r12]
mov eax, dword [rsi + 0x1d8]
mov rcx, qword [rsi + 0x100]
sub rcx, rax
mov edx, dword [rbx - 4]
add rdx, rcx
mov rcx, r12
call qword [r10 + 0x40]
add rbx, 0x28
sub r13, 1
jne 0x14002f8c0
mov rax, qword [rsi]
mov byte [rsp + 0x20], 1
lea r9, [rsi + 0x100]
mov r8d, dword [rsp + 0x60]
mov rdx, r12
mov rcx, rsi
call qword [rax + 0x188]
mov rbx, qword [rsp + 0x70]
mov rcx, rbx
call fcn.14001ecc0
nop
lea rcx, [rsp + 0x38]
call fcn.14001ecc0
nop
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14008b4b0
add rsp, 0x158
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, str.getPackHeaderSize
call fcn.14000d730
int3
lea rcx, str.unexpected_value_in_the_PE_header
call fcn.14000d660
int3
lea rcx, str.mem_size_2__take_care
call fcn.14000d3a0
nop
lea rcx, str.unfilter_1
call fcn.14000d730
int3
lea rcx, str.unfilter_2
call fcn.14000d730
int3
lea rcx, str.unfilter_3
call fcn.14000d730
int3
lea rcx, str.pointer_out_of_range__take_care_
call fcn.14000d660
int3
mov dword [rsp + 0x20], r8d
lea r8, str.bad_extra_section_size_at__x
mov edx, 0x64
lea rcx, [rbp - 0x30]
call fcn.14001ec50
lea rcx, [rbp - 0x30]
call fcn.14000d3a0
nop
mov dword [rsp + 0x20], 0xf8
mov r9d, ecx
lea r8, str.bad_extrainfo_offset__x
mov edx, 0x64
lea rcx, [rbp - 0x30]
call fcn.14001ec50
lea rcx, [rbp - 0x30]
call fcn.14000d3a0
int3