Function at 0x180055f30
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x1800a1030]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, qword [rsp + 0xe8]
xor ebp, ebp
mov r13, qword [rsp + 0xe0]
xor edi, edi
mov r12, qword [rsp + 0xf8]
mov rax, r8
mov qword [rsp + 0x40], rax
mov r15, r9
mov qword [rsp + 0x48], rdx
mov r14, rcx
mov qword [rsp + 0x38], rsi
test rdx, rdx
je 0x18005657d
test rax, rax
je 0x18005657d
test r9, r9
je 0x18005657d
test rsi, rsi
je 0x18005657d
cmp dword [rsp + 0xf0], edi
je 0x18005657d
mov r11, rsi
nop dword [rax + rax]
mov r10, r11
mov r8, qword [r10 + 0x30]
mov rcx, r8
test r8, r8
jne 0x180055fd3
xor eax, eax
jmp 0x180055ff4
mov eax, dword [rcx]
add rcx, 4
test eax, eax
jne 0x180055fd3
cmp rcx, r8
je 0x180055ff4
sub rcx, r8
sar rcx, 2
mov rax, rcx
cqo
sub rax, rdx
sar rax, 1
xor edx, edx
movsxd r9, eax
xor ecx, ecx
test eax, eax
jle 0x180056015
nop
mov eax, dword [r8 + rcx*8 + 4]
inc edx
sub eax, dword [r8 + rcx*8]
inc rcx
add edx, eax
cmp rcx, r9
jl 0x180056000
mov r10, qword [r10 + 0x48]
add ebp, edx
cmp r10, r11
jne 0x180055fc3
mov r11, qword [r11]
test r11, r11
jne 0x180055fc0
nop dword [rax + rax]
mov rbx, rsi
mov rdx, qword [rbx + 8]
movsxd rax, edi
inc edi
lea rcx, [rax + rax*8]
mov rax, qword [r14 + 0x48]
lea rcx, [rax + rcx*8]
call fcn.180051d40
test eax, eax
je 0x18005657d
mov rbx, qword [rbx + 0x48]
cmp rbx, rsi
jne 0x180056033
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180056030
mov rax, qword [rsp + 0x40]
mov ecx, 0x400
mov dword [r15], esi
cmp ebp, 0x3e8
mov ebx, 0x200
cmovg ebx, ecx
xor edx, edx
mov dword [rax], ebx
mov rax, qword [r12 + 8]
mov rcx, qword [r12]
lea r8d, [rdx + 0x48]
lea esi, [rbx - 1]
call rax
mov r9, qword [r12 + 8]
mov r8d, ebx
mov rcx, qword [r12]
xor edx, edx
shl r8, 4
mov rdi, rax
sub r8, 0x10
call r9
mov r9, rax
test rdi, rdi
je 0x18005610d
test rax, rax
je 0x180056108
mov edx, esi
mov dword [r14 + 0x20], ebx
mov rcx, rdi
mov dword [r14 + 0x24], 0x8000
mov qword [r14 + 0x38], 0
mov qword [r14 + 0x18], rdi
mov qword [r14 + 0x40], rax
mov dword [r14 + 0x2c], 1
mov dword [r14 + 0x28], ebx
mov dword [r14 + 0x30], 1
mov dword [r14 + 0x34], 1
mov dword [rsp + 0x20], esi
call fcn.1800514b0
jmp 0x18005611e
mov rdx, rdi
jmp 0x180056115
test r9, r9
je 0x18005611e
mov rdx, r9
mov rcx, qword [r12]
call qword [r12 + 0x10]
xor r12d, r12d
xor r8d, r8d
xor ebp, ebp
mov dword [rsp + 0x34], r12d
test r13, r13
je 0x1800561fe
lea rdx, [rsp + 0x50]
lea r8d, [r12 + 0x10]
lea rcx, [rsp + 0x50]
and edx, 3
je 0x18005615f
mov eax, 4
sub rax, rdx
sub r8, rax
mov byte [rcx], bpl
inc rcx
sub rax, 1
jne 0x180056153
mov rax, r8
shr rax, 2
nop word [rax + rax]
mov dword [rcx], ebp
add rcx, 4
sub rax, 1
jne 0x180056170
and r8d, 3
test r8, r8
je 0x18005618c
xor edx, edx
call sub.VCRUNTIME140.dll_memset
movzx eax, word [r13 + 4]
lea rdx, [rsp + 0x50]
mov word [rsp + 0x54], ax
mov r8d, 1
movzx eax, word [r13 + 6]
mov dword [r14 + 0x30], 1
mov dword [r14 + 0x34], 1
mov rcx, qword [r14 + 0x18]
mov word [rsp + 0x56], ax
call fcn.180051b60
movzx r8d, word [rsp + 0x56]
movzx edx, word [rsp + 0x5a]
movzx eax, word [rsp + 0x58]
lea ecx, [r8 + rdx]
cmp dword [r15], ecx
cmovge ecx, dword [r15]
mov dword [r15], ecx
mov word [r13], ax
movzx eax, word [rsp + 0x54]
mov word [r13 + 6], r8w
mov r8d, ebp
mov word [r13 + 4], ax
mov word [r13 + 2], dx
movsxd rax, dword [rsp + 0xf0]
test rax, rax
jle 0x180056533
mov rax, qword [rsp + 0x38]
xor ecx, ecx
test rax, rax
je 0x180056533
lea r13, [rcx + rcx*8]
mov rsi, rax
shl r13, 3
nop word [rax + rax]
mov rdi, qword [r14 + 0x48]
inc rcx
add rdi, r13
mov qword [rsp + 0x50], rcx
mov rcx, qword [rsi + 0x30]
add r13, 0x48
xor r11d, r11d
xor r9d, r9d
mov edx, dword [rcx]
test edx, edx
je 0x18005626f
mov eax, dword [rcx + 4]
test eax, eax
je 0x18005626f
sub eax, edx
add rcx, 8
inc r11d
inc r9d
add r11d, eax
mov edx, dword [rcx]
test edx, edx
jne 0x180056253
movsxd rax, r8d
add r8d, r9d
mov dword [rsp + 0x30], r8d
xor r8d, r8d
movsxd rbx, r9d
lea rcx, [rax + rax*4]
mov rax, qword [r14 + 0x60]
mov dword [rdi + 0x40], r9d
lea r10, [rax + rcx*8]
mov qword [rdi + 0x38], r10
cmp rbx, 4
jl 0x180056406
lea r12, [rbx - 3]
xor r9d, r9d
nop word [rax + rax]
mov rdx, qword [rsi + 0x30]
lea r9, [r9 + 0xa0]
mov eax, dword [rsi + 0x20]
mov dword [r10 + r9 - 0xa0], eax
mov rcx, qword [rdi + 0x38]
mov eax, dword [rdx + r8*8]
mov dword [r9 + rcx - 0x9c], eax
mov ecx, dword [rdx + r8*8 + 4]
sub ecx, dword [rdx + r8*8]
mov rax, qword [rdi + 0x38]
inc ecx
mov dword [r9 + rax - 0x90], ecx
movsxd rax, ebp
imul rcx, rax, 0x1c
mov rax, qword [rdi + 0x38]
add rcx, qword [r14 + 0x50]
mov qword [r9 + rax - 0x88], rcx
mov rdx, qword [rsi + 0x30]
mov rcx, qword [rdi + 0x38]
mov eax, dword [rsi + 0x20]
add ebp, dword [r9 + rcx - 0x90]
mov dword [r9 + rcx - 0x78], eax
mov eax, dword [rdx + r8*8 + 8]
mov rcx, qword [rdi + 0x38]
mov dword [r9 + rcx - 0x74], eax
mov ecx, dword [rdx + r8*8 + 0xc]
sub ecx, dword [rdx + r8*8 + 8]
mov rax, qword [rdi + 0x38]
inc ecx
mov dword [r9 + rax - 0x68], ecx
movsxd rax, ebp
imul rcx, rax, 0x1c
mov rax, qword [rdi + 0x38]
add rcx, qword [r14 + 0x50]
mov qword [r9 + rax - 0x60], rcx
mov rdx, qword [rsi + 0x30]
mov rcx, qword [rdi + 0x38]
mov eax, dword [rsi + 0x20]
add ebp, dword [rcx + r9 - 0x68]
mov dword [rcx + r9 - 0x50], eax
mov eax, dword [rdx + r8*8 + 0x10]
mov rcx, qword [rdi + 0x38]
mov dword [r9 + rcx - 0x4c], eax
mov ecx, dword [rdx + r8*8 + 0x14]
sub ecx, dword [rdx + r8*8 + 0x10]
mov rax, qword [rdi + 0x38]
inc ecx
mov dword [r9 + rax - 0x40], ecx
movsxd rax, ebp
imul rcx, rax, 0x1c
mov rax, qword [rdi + 0x38]
add rcx, qword [r14 + 0x50]
mov qword [r9 + rax - 0x38], rcx
mov rdx, qword [rsi + 0x30]
mov rcx, qword [rdi + 0x38]
mov eax, dword [rsi + 0x20]
add ebp, dword [rcx + r9 - 0x40]
mov dword [rcx + r9 - 0x28], eax
mov rcx, qword [rdi + 0x38]
mov eax, dword [rdx + r8*8 + 0x18]
mov dword [r9 + rcx - 0x24], eax
mov ecx, dword [rdx + r8*8 + 0x1c]
sub ecx, dword [rdx + r8*8 + 0x18]
add r8, 4
mov rax, qword [rdi + 0x38]
inc ecx
mov dword [r9 + rax - 0x18], ecx
movsxd rax, ebp
imul rcx, rax, 0x1c
mov rax, qword [rdi + 0x38]
add rcx, qword [r14 + 0x50]
mov qword [r9 + rax - 0x10], rcx
mov r10, qword [rdi + 0x38]
add ebp, dword [r10 + r9 - 0x18]
cmp r8, r12
jl 0x1800562b0
mov r12d, dword [rsp + 0x34]
cmp r8, rbx
jge 0x180056469
lea r9, [r8 + r8*4]
shl r9, 3
mov rdx, qword [rsi + 0x30]
lea r9, [r9 + 0x28]
mov eax, dword [rsi + 0x20]
mov dword [r10 + r9 - 0x28], eax
mov rcx, qword [rdi + 0x38]
mov eax, dword [rdx + r8*8]
mov dword [r9 + rcx - 0x24], eax
mov ecx, dword [rdx + r8*8 + 4]
sub ecx, dword [rdx + r8*8]
inc r8
mov rax, qword [rdi + 0x38]
inc ecx
mov dword [r9 + rax - 0x18], ecx
movsxd rax, ebp
imul rcx, rax, 0x1c
mov rax, qword [rdi + 0x38]
add rcx, qword [r14 + 0x50]
mov qword [r9 + rax - 0x10], rcx
mov r10, qword [rdi + 0x38]
add ebp, dword [r10 + r9 - 0x18]
cmp r8, rbx
jl 0x180056413
movsxd rax, r12d
add r12d, r11d
shl rax, 4
add rax, qword [r14 + 0x58]
mov qword [rdi + 0x30], rax
movzx ecx, byte [rsi + 0x1c]
movzx eax, byte [rsi + 0x1b]
mov dword [rsp + 0x34], r12d
cmp ecx, 8
ja 0x180056491
mov dword [r14 + 0x30], ecx
cmp eax, 8
ja 0x18005649a
mov dword [r14 + 0x34], eax
mov rax, qword [rdi + 0x30]
lea rcx, [r14 + 0x18]
mov r9d, dword [rdi + 0x40]
mov rdx, rdi
mov r8, qword [rdi + 0x38]
mov qword [rsp + 0x20], rax
call fcn.180055650
mov rdx, qword [rdi + 0x30]
mov rcx, qword [r14 + 0x18]
movsxd rbx, eax
mov r8d, ebx
call fcn.180051b60
mov r8, rbx
test ebx, ebx
jle 0x1800564fe
xor edx, edx
mov rax, qword [rdi + 0x30]
cmp dword [rax + rdx + 0xc], 0
je 0x1800564f4
movzx ecx, word [rax + rdx + 0xa]
movzx eax, word [rax + rdx + 6]
add ecx, eax
cmp dword [r15], ecx
cmovge ecx, dword [r15]
mov dword [r15], ecx
add rdx, 0x10
sub r8, 1
jne 0x1800564d3
mov rsi, qword [rsi + 0x48]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x30]
cmp rsi, rax
jne 0x180056230
movsxd rdx, dword [rsp + 0xf0]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
cmp rcx, rdx
jl 0x180056216
mov edx, dword [r15]
dec edx
mov eax, edx
shr eax, 1
or edx, eax
mov eax, edx
shr eax, 2
or edx, eax
mov rax, qword [rsp + 0x40]
mov ecx, edx
shr ecx, 4
or edx, ecx
mov ecx, edx
shr ecx, 8
or edx, ecx
mov ecx, edx
shr ecx, 0x10
or ecx, edx
inc ecx
mov dword [r15], ecx
movsxd rdx, dword [rax]
mov eax, 1
movsxd rcx, ecx
imul rdx, rcx
mov rcx, qword [rsp + 0x48]
mov qword [rcx], rdx
jmp 0x18005657f
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180069970
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret