Function at 0x404884
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
test rcx, rcx
je 0x404b6d
mov qword [rsp + 0x28], rdx
mov rax, qword [0x0041a408]
add rax, rcx
add rax, 0x10
mov qword [0x0041a408], rax
inc qword [0x0041a400]
mov qword [rsp + 0x30], rcx
lea r12, [rcx + 0x2f]
shr r12, 5
mov rax, qword [0x0041a438]
xor edi, edi
lea r13, [0x00404ba8]
mov ebp, 3
mov r15, rax
xor ebx, ebx
cmp r15, rax
jne 0x404ab0
test bl, bl
je 0x404a86
movzx eax, bl
cmp eax, 1
jne 0x404a8a
call fcn.0040e0ad
cmp qword [0x0041a058], 0
je 0x40492c
mov rcx, qword [0x0041a060]
test rcx, rcx
jne 0x404920
mov rcx, rsp
mov rdx, qword [0x0041a458]
call dbg.runtime.markRoots
mov rax, qword [0x0041a430]
test rax, rax
jne 0x40495b
mov ecx, 2
xor edx, edx
lea r8, [0x0041a430]
call sym.GetModuleHandleExA
mov rax, qword [0x0041a430]
test rax, rax
je 0x404b88
movsxd rcx, dword [rax + 0x3c]
lea rsi, [rax + rcx]
movzx eax, word [rax + rcx + 0x14]
lea rbx, [rax + rsi]
add rbx, 0x18
xor r14d, r14d
movzx eax, word [rsi + 6]
cmp r14, rax
jae 0x4049f8
test rbx, rbx
je 0x404b88
cmp dword [rbx + 0x24], 0
jns 0x4049a0
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 0xc]
add rcx, qword [0x0041a430]
add rdx, rcx
call dbg.runtime.markRoots
add rbx, 0x28
inc r14
jmp 0x404973
mov byte [0x0041a451], 0
mov rax, qword [0x0041a3f0]
xor esi, esi
xor r14d, r14d
cmp r14, rax
jae 0x4049f8
mov rcx, qword [0x0041a428]
mov rdx, r14
shr rdx, 2
mov dl, byte [rcx + rdx]
mov ecx, esi
and cl, 6
shr dl, cl
not dl
test dl, 3
jne 0x4049ef
mov rcx, r14
call dbg.runtime.startMark
mov rax, qword [0x0041a3f0]
inc r14
add sil, 2
jmp 0x4049bc
cmp byte [0x0041a451], 0
jne 0x4049a9
xor ebx, ebx
xor esi, esi
xor edx, edx
xor r14d, r14d
mov rax, qword [0x0041a428]
cmp r14, qword [0x0041a3f0]
jae case.default.0x404a40
mov r8, r14
shr r8, 2
mov r9b, byte [rax + r8]
mov ecx, ebx
and cl, 6
mov r10d, r9d
shr r10b, cl
and r10b, 3
movzx r10d, r10b
movsxd r10, dword [r13 + r10*4]
add r10, r13
jmp r10
add rsi, 0x20
jmp 0x404a7e
test dl, 1
je 0x404a7c
mov rcx, r14
call dbg.(runtime.gcBlock).markFree
jmp 0x404a67
mov rcx, r14
call dbg.(runtime.gcBlock).markFree
inc qword [0x0041a3f8]
add rsi, 0x20
mov dl, 1
jmp 0x404a7e
mov dl, 2
shl dl, cl
not dl
and r9b, dl
mov byte [rax + r8], r9b
xor edx, edx
inc r14
add bl, 2
jmp 0x404a0a
mov bl, 1
jmp 0x404ab0
call dbg.runtime.growHeap
test al, 1
jne 0x404ab0
jmp 0x404b8d
sub rax, qword [0x0041a420]
xor edx, edx
div rbp
mov bl, 2
cmp rsi, rax
jae 0x404ab0
call dbg.runtime.growHeap
cmp r15, qword [0x0041a3f0]
jne 0x404abd
xor edx, edx
jmp 0x404ae2
mov rax, qword [0x0041a428]
mov rcx, r15
shr rcx, 2
mov dl, byte [rax + rcx]
lea ecx, [r15 + r15]
and cl, 6
shr dl, cl
test dl, 3
je 0x404af3
inc r15
mov rdx, r15
xor edi, edi
mov rax, qword [0x0041a438]
mov r15, rdx
jmp 0x4048e5
inc rdi
lea rdx, [r15 + 1]
cmp rdi, r12
jne 0x404ae4
mov qword [0x0041a438], rdx
mov r8, rdx
sub r8, r12
mov r9, r12
neg r9
sub r15b, r12b
add r15b, r15b
add r15b, 2
mov r10b, 1
lea r11, [rdx + r9]
mov ecx, r15d
and cl, 6
shl r10b, cl
shr r11, 2
or byte [rax + r11], r10b
add r15b, 2
mov r10b, 2
inc r9
jne 0x404b1f
mov rax, qword [0x0041a420]
shl r8, 5
lea rbx, [rax + r8]
add rbx, 0x10
mov rax, qword [rsp + 0x28]
mov qword [rbx - 0x10], rax
mov rcx, rbx
xor edx, edx
mov r8, qword [rsp + 0x30]
call sym.memset
jmp 0x404b74
lea rbx, [0x0041a460]
mov rax, rbx
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call dbg.runtime.nilPanic
mov rcx, qword [rsp + 0x78]
lea rdx, [0x0040f71c]
mov r8d, 0xd
call dbg.runtime.runtimePanicAt
int3