Function at 0x180048840
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x180089208]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov eax, dword [rcx + 0x34]
mov rbx, rcx
mov rsi, rdx
mov byte [rsp + 0x28], r9b
mov r9d, dword [rcx + 0x38]
mov edi, 0x1b8
mov edx, dword [rcx + 0x30]
lea ecx, [rax + 1]
mov byte [rsp + 0x20], r8b
lea r8d, [rdx + r9]
cmp r8d, r9d
mov byte [rsp + 0x37], r8b
cmovae ecx, eax
mov eax, ecx
mov byte [rsp + 0x33], cl
shr eax, 0x18
mov byte [rsp + 0x30], al
mov eax, ecx
shr eax, 0x10
mov byte [rsp + 0x31], al
mov eax, ecx
shr eax, 8
mov byte [rsp + 0x32], al
mov eax, r8d
shr eax, 0x18
mov byte [rsp + 0x34], al
mov eax, r8d
shr eax, 0x10
mov byte [rsp + 0x35], al
mov eax, r8d
shr eax, 8
mov byte [rsp + 0x36], al
cmp r9d, edi
jne 0x1800488eb
lea eax, [rdx - 8]
mov r8d, 8
lea rdx, [rsp + 0x20]
mov dword [rbx + 0x30], eax
mov rcx, rbx
call fcn.180048b50
mov eax, dword [rbx + 0x30]
jmp 0x180048975
jge 0x18004891a
test r9d, r9d
jne 0x1800488f9
mov dword [rbx + 0x3c], 1
lea eax, [r8 - 0x1b8]
sub edi, r9d
mov r8d, edi
mov dword [rbx + 0x30], eax
lea rdx, [0x18007b6d0]
mov rcx, rbx
call fcn.180048b50
jmp 0x18004895c
lea eax, [r8 - 0x200]
mov rcx, rbx
mov r8d, 0x200
mov dword [rbx + 0x30], eax
sub r8d, r9d
lea rdx, [0x18007b6d0]
call fcn.180048b50
add dword [rbx + 0x30], 0xfffffe48
lea rdx, [0x18007b6d1]
mov r8d, edi
mov rcx, rbx
call fcn.180048b50
mov dword [rbx + 0x3c], 1
mov r8d, 8
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.180048b50
mov eax, dword [rbx + 0x30]
sub eax, 8
add eax, 0xffffffc0
lea rdx, [rsp + 0x30]
mov r8d, 0x40
mov dword [rbx + 0x30], eax
mov rcx, rbx
call fcn.180048b50
movzx eax, byte [rbx + 3]
mov byte [rsi], al
movzx eax, byte [rbx + 2]
mov byte [rsi + 1], al
mov eax, dword [rbx]
shr eax, 8
mov byte [rsi + 2], al
movzx eax, byte [rbx]
mov byte [rsi + 3], al
movzx eax, byte [rbx + 7]
mov byte [rsi + 4], al
movzx eax, byte [rbx + 6]
mov byte [rsi + 5], al
mov eax, dword [rbx + 4]
shr eax, 8
mov byte [rsi + 6], al
movzx eax, byte [rbx + 4]
mov byte [rsi + 7], al
movzx eax, byte [rbx + 0xb]
mov byte [rsi + 8], al
movzx eax, byte [rbx + 0xa]
mov byte [rsi + 9], al
mov eax, dword [rbx + 8]
shr eax, 8
mov byte [rsi + 0xa], al
movzx eax, byte [rbx + 8]
mov byte [rsi + 0xb], al
movzx eax, byte [rbx + 0xf]
mov byte [rsi + 0xc], al
movzx eax, byte [rbx + 0xe]
mov byte [rsi + 0xd], al
mov eax, dword [rbx + 0xc]
shr eax, 8
mov byte [rsi + 0xe], al
movzx eax, byte [rbx + 0xc]
mov byte [rsi + 0xf], al
movzx eax, byte [rbx + 0x13]
mov byte [rsi + 0x10], al
movzx eax, byte [rbx + 0x12]
mov byte [rsi + 0x11], al
mov eax, dword [rbx + 0x10]
shr eax, 8
mov byte [rsi + 0x12], al
movzx eax, byte [rbx + 0x10]
mov byte [rsi + 0x13], al
movzx eax, byte [rbx + 0x17]
mov byte [rsi + 0x14], al
movzx eax, byte [rbx + 0x16]
mov byte [rsi + 0x15], al
mov eax, dword [rbx + 0x14]
shr eax, 8
mov byte [rsi + 0x16], al
movzx eax, byte [rbx + 0x14]
mov byte [rsi + 0x17], al
movzx eax, byte [rbx + 0x1b]
mov byte [rsi + 0x18], al
movzx eax, byte [rbx + 0x1a]
mov byte [rsi + 0x19], al
mov eax, dword [rbx + 0x18]
shr eax, 8
mov byte [rsi + 0x1a], al
movzx eax, byte [rbx + 0x18]
mov byte [rsi + 0x1b], al
movzx eax, byte [rbx + 0x1f]
mov byte [rsi + 0x1c], al
movzx eax, byte [rbx + 0x1e]
mov byte [rsi + 0x1d], al
mov eax, dword [rbx + 0x1c]
shr eax, 8
mov byte [rsi + 0x1e], al
movzx eax, byte [rbx + 0x1c]
mov byte [rsi + 0x1f], al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800507a0
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret