Function at 0x180005820
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x18008d040]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov rsi, rcx
mov dword [rsp + 0x70], edx
test edx, edx
je 0x180005cab
mov rdi, qword [rcx + 8]
xor r14d, r14d
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
mov rdx, qword [0x180097730]
test rdx, rdx
jne 0x180005937
mov rbx, qword [0x180097700]
movsxd rcx, dword [rbx + 0x3c]
movzx eax, word [rcx + rbx + 0x14]
lea r8, [rcx + rbx]
add rax, 0x18
add r8, rax
mov dword [rbp - 0x58], 0x7865742e
mov byte [rbp - 0x54], 0x74
movzx eax, word [rcx + rbx + 6]
lea rcx, [rax + rax*4]
lea r11, [r8 + rcx*8]
cmp r8, r11
je 0x1800058f3
lea r9, [rbp - 0x58]
sub r9, r8
nop dword [rax]
mov rdx, r8
lea r10, [r8 + 5]
cmp r8, r10
je 0x1800058f3
nop dword [rax]
movsx ecx, byte [r9 + rdx]
movzx eax, byte [rdx]
cmp eax, ecx
jne 0x1800058e6
inc rdx
cmp rdx, r10
jne 0x1800058d0
jmp 0x1800058f3
add r8, 0x28
sub r9, 0x28
cmp r8, r11
jne 0x1800058c0
mov word [rsp + 0x30], 0x26ff
mov ecx, dword [r8 + 0xc]
add rcx, rbx
mov eax, dword [r8 + 8]
lea rdx, [rax + rcx]
cmp rax, 2
jb 0x180005930
lea r8, [rdx - 2]
movzx eax, word [rsp + 0x30]
cmp ax, word [rcx]
je 0x18000592d
nop dword [rax]
cmp rcx, r8
je 0x180005930
inc rcx
cmp ax, word [rcx]
jne 0x180005920
mov rdx, rcx
mov qword [0x180097730], rdx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rdi
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call fcn.18003fe70
cmp qword [rsp + 0x78], r14
je 0x180005cab
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x78]
call fcn.180002630
nop
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
mov r9, qword [rbp - 0x68]
add r9, rdx
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
cmp rdx, r9
jne 0x1800059d4
movdqa xmm0, xmmword [0x180082670]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
jmp 0x1800059e5
sub r9, rdx
mov r8, r9
lea rcx, [rsp + 0x38]
call fcn.18001cac0
nop
lea rbx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rbx, qword [rsp + 0x38]
mov rdx, qword [0x180097608]
test rdx, rdx
jne 0x180005ac7
mov rdi, qword [0x180097700]
movsxd rcx, dword [rdi + 0x3c]
movzx eax, word [rcx + rdi + 0x14]
lea r8, [rcx + rdi]
add rax, 0x18
add r8, rax
mov dword [rbp - 0x50], 0x7865742e
mov byte [rbp - 0x4c], 0x74
movzx eax, word [rcx + rdi + 6]
lea rcx, [rax + rax*4]
lea r11, [r8 + rcx*8]
cmp r8, r11
je 0x180005a83
lea r9, [rbp - 0x50]
sub r9, r8
nop word [rax + rax]
mov rax, r8
lea r10, [r8 + 5]
cmp r8, r10
je 0x180005a83
nop dword [rax]
movsx edx, byte [r9 + rax]
movzx ecx, byte [rax]
cmp ecx, edx
jne 0x180005a76
inc rax
cmp rax, r10
jne 0x180005a60
jmp 0x180005a83
add r8, 0x28
sub r9, 0x28
cmp r8, r11
jne 0x180005a50
mov word [rsp + 0x30], 0x26ff
mov ecx, dword [r8 + 0xc]
add rcx, rdi
mov eax, dword [r8 + 8]
lea rdx, [rax + rcx]
cmp rax, 2
jb 0x180005ac0
lea r8, [rdx - 2]
movzx eax, word [rsp + 0x30]
cmp ax, word [rcx]
je 0x180005abd
nop dword [rax]
cmp rcx, r8
je 0x180005ac0
inc rcx
cmp ax, word [rcx]
jne 0x180005ab0
mov rdx, rcx
mov qword [0x180097608], rdx
mov qword [rsp + 0x58], rdx
lea rax, [fcn.18006f690]
mov qword [rsp + 0x60], rax
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x400
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.18003fe70
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x180005b41
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005b3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180005cdf
call fcn.180041320
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x180005c47
mov rsi, qword [rsi + 0x10]
mov rdx, qword [0x180097580]
test rdx, rdx
jne 0x180005c17
mov rbx, qword [0x180097700]
movsxd rcx, dword [rbx + 0x3c]
movzx eax, word [rcx + rbx + 0x14]
lea r8, [rcx + rbx]
add rax, 0x18
add r8, rax
mov dword [rbp - 0x48], 0x7865742e
mov byte [rbp - 0x44], 0x74
movzx eax, word [rcx + rbx + 6]
lea rcx, [rax + rax*4]
lea r11, [r8 + rcx*8]
cmp r8, r11
je 0x180005bd3
lea r9, [rbp - 0x48]
sub r9, r8
mov rdx, r8
lea r10, [r8 + 5]
cmp r8, r10
je 0x180005bd3
nop
movsx ecx, byte [rdx + r9]
movzx eax, byte [rdx]
cmp eax, ecx
jne 0x180005bc6
inc rdx
cmp rdx, r10
jne 0x180005bb0
jmp 0x180005bd3
add r8, 0x28
sub r9, 0x28
cmp r8, r11
jne 0x180005ba2
mov word [rsp + 0x30], 0x26ff
mov ecx, dword [r8 + 0xc]
add rcx, rbx
mov eax, dword [r8 + 8]
lea rdx, [rax + rcx]
cmp rax, 2
jb 0x180005c10
lea r8, [rdx - 2]
movzx eax, word [rsp + 0x30]
cmp ax, word [rcx]
je 0x180005c0d
nop dword [rax]
cmp rcx, r8
je 0x180005c10
inc rcx
cmp ax, word [rcx]
jne 0x180005c00
mov rdx, rcx
mov qword [0x180097580], rdx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rsi
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.18003fe70
movzx eax, byte [rbp - 0x40]
test al, al
je 0x180005c6e
lea rcx, [rbp - 0x40]
cmp al, 0x5f
jne 0x180005c64
movzx eax, byte [rcx + 1]
sub al, 0x30
cmp al, 9
ja 0x180005c64
mov byte [rcx], 0
inc rcx
movzx eax, byte [rcx]
test al, al
jne 0x180005c53
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x180005ca5
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005ca0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180005cd9
call fcn.180041320
lea rax, [rbp - 0x40]
jmp 0x180005cb2
lea rax, [0x18007d280]
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.180041300
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.18004e4f0
nop
call fcn.18004e4f0
nop
int3