Function at 0x402eea
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 0x4031d9
mov qword [rsp + 0x28], rdx
mov rax, qword [0x00414a30]
add rax, rcx
add rax, 0x10
mov qword [0x00414a30], rax
inc qword [0x00414a28]
mov qword [rsp + 0x30], rcx
lea r12, [rcx + 0x2f]
shr r12, 5
mov rax, qword [0x00414a60]
xor edi, edi
lea r13, [0x00411ba8]
mov ebp, 3
mov r15, rax
xor ebx, ebx
cmp r15, rax
jne 0x40311c
test bl, bl
je 0x4030f0
movzx eax, bl
cmp eax, 1
jne 0x4030f4
call fcn.0040aa61
cmp qword [0x004149a8], 0
je 0x402f92
mov rcx, qword [0x004149b0]
test rcx, rcx
jne 0x402f86
mov rcx, rsp
mov rdx, qword [0x00414a80]
call dbg.runtime.markRoots
mov rax, qword [0x00414a58]
test rax, rax
jne 0x402fc1
mov ecx, 2
xor edx, edx
lea r8, [0x00414a58]
call sym.GetModuleHandleExA
mov rax, qword [0x00414a58]
test rax, rax
je 0x4031f4
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 0x40305e
test rbx, rbx
je 0x4031f4
cmp dword [rbx + 0x24], 0
jns 0x403006
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 0xc]
add rcx, qword [0x00414a58]
add rdx, rcx
call dbg.runtime.markRoots
add rbx, 0x28
inc r14
jmp 0x402fd9
mov byte [0x00414a79], 0
mov rax, qword [0x00414a18]
xor esi, esi
xor r14d, r14d
cmp r14, rax
jae 0x40305e
mov rcx, qword [0x00414a50]
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 0x403055
mov rcx, r14
call dbg.runtime.startMark
mov rax, qword [0x00414a18]
inc r14
add sil, 2
jmp 0x403022
cmp byte [0x00414a79], 0
jne 0x40300f
xor ebx, ebx
xor esi, esi
xor edx, edx
xor r14d, r14d
mov rax, qword [0x00414a50]
cmp r14, qword [0x00414a18]
jae case.default.0x4030aa
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 0x4030e8
test dl, 1
je 0x4030e6
mov rcx, r14
call dbg.(runtime.gcBlock).markFree
jmp 0x4030d1
mov rcx, r14
call dbg.(runtime.gcBlock).markFree
inc qword [0x00414a20]
add rsi, 0x20
mov dl, 1
jmp 0x4030e8
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 0x403070
mov bl, 1
jmp 0x40311c
mov bl, 2
call dbg.runtime.growHeap
test al, 1
jne 0x40311c
jmp 0x4031f9
sub rax, qword [0x00414a48]
xor edx, edx
div rbp
mov bl, 2
cmp rsi, rax
jae 0x40311c
call dbg.runtime.growHeap
cmp r15, qword [0x00414a18]
jne 0x403129
xor edx, edx
jmp 0x40314e
mov rax, qword [0x00414a50]
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 0x40315f
inc r15
mov rdx, r15
xor edi, edi
mov rax, qword [0x00414a60]
mov r15, rdx
jmp 0x402f4b
inc rdi
lea rdx, [r15 + 1]
cmp rdi, r12
jne 0x403150
mov qword [0x00414a60], 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 0x40318b
mov rax, qword [0x00414a48]
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 0x4031e0
lea rbx, [0x00414a88]
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, [0x0040b5bc]
mov r8d, 0xd
call dbg.runtime.runtimePanicAt
int3
mov rcx, rdi
mov rdx, r12
mov r8d, r13d
call dbg.(reflect.Value).Uint
jmp 0x403d75
cmp r14, rax
sete r15b
mov eax, r15d
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x50]
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
invalid