Function at 0x4a58f0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5d53a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a5cca
sub esp, 0x3c
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x4a5915
mov eax, dword [esp + 0x50]
jmp 0x4a5919
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x40]
movzx ebp, byte [ebx + 5]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a592e
mov ebp, dword [ebx + 0x14]
cmp eax, ebp
jg 0x4a5930
mov ebp, eax
mov esi, ebp
shl ebp, 1
test ebp, ebp
jle 0x4a5a3b
movzx edi, byte [ebx + 9]
xchg edi, eax
test al, al
xchg edi, eax
je 0x4a595b
movzx edi, byte [ebx + 8]
xchg edi, eax
test al, al
xchg edi, eax
je 0x4a5955
mov ebp, esi
shl ebp, 2
lea ebp, [ebp + esi - 1]
jmp 0x4a5968
movzx edi, byte [ebx + 8]
xchg edi, eax
test al, al
xchg edi, eax
je 0x4a5968
add ebp, 2
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], ebp
movzx edi, byte [ebx + 4]
xchg edi, eax
test al, al
xchg edi, eax
je 0x4a59a7
mov edi, dword [ebx + 0x10]
cmp ebp, edi
jge 0x4a59a7
movzx eax, byte [ebx + 6]
test al, al
jne 0x4a59a7
mov dword [esp], ebx
sub edi, ebp
mov dword [esp + 4], edi
call sym.fmt._fmt_.writePadding
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov edi, dword [ebx]
movzx eax, byte [ebx + 8]
mov ecx, dword [edi + 8]
mov ebp, dword [edi]
mov edi, dword [edi + 4]
test al, al
je 0x4a5a25
mov eax, edx
mov edx, dword [esp + 0x5c]
cmp edx, 0x10
jbe 0x4a5cbd
add edi, 2
mov edx, dword [esp + 0x58]
movzx edx, byte [edx + 0x10]
cmp ecx, edi
jae 0x4a5a1a
mov byte [esp + 0x23], dl
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 2
lea eax, [0x4db060]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
movzx edx, byte [esp + 0x23]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x2c]
mov byte [edi + ebp - 2], 0x30
mov byte [edi + ebp - 1], dl
jmp 0x4a5a27
mov eax, edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
jmp 0x4a5a7d
movzx eax, byte [ebx + 4]
test al, al
je 0x4a5a52
mov eax, dword [ebx + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.fmt._fmt_.writePadding
add esp, 0x3c
ret
mov ebp, dword [esp + 0x38]
mov byte [esi + ebp - 2], bl
mov byte [esi + ebp - 1], dl
mov edx, dword [esp + 0x28]
inc edx
mov ebx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x28], edx
mov edi, esi
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
cmp edx, esi
jge 0x4a5c40
movzx esi, byte [ebx + 9]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4a5b71
test edx, edx
jle 0x4a5b67
lea esi, [edi + 1]
cmp ecx, esi
jae 0x4a5ae0
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x4db060]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x40]
mov byte [esi + ebp - 1], 0x20
movzx edi, byte [ebx + 8]
xchg edi, eax
test al, al
xchg edi, eax
je 0x4a5b5f
mov edi, dword [esp + 0x5c]
cmp edi, 0x10
jbe 0x4a5cb1
add esi, 2
mov ebx, dword [esp + 0x58]
movzx ebx, byte [ebx + 0x10]
cmp ecx, esi
jb 0x4a5b0f
test eax, eax
jmp 0x4a5b54
mov byte [esp + 0x23], bl
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 2
lea eax, [0x4db060]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
test eax, eax
mov edx, dword [esp + 0x28]
movzx ebx, byte [esp + 0x23]
mov edi, dword [esp + 0x5c]
mov byte [esi + ebp - 2], 0x30
mov byte [esi + ebp - 1], bl
jmp 0x4a5b79
test eax, eax
mov edi, dword [esp + 0x5c]
jmp 0x4a5b79
test eax, eax
mov esi, edi
mov edi, dword [esp + 0x5c]
jmp 0x4a5b79
test eax, eax
mov esi, edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x38], ebp
je 0x4a5b91
mov ebx, dword [esp + 0x50]
cmp ebx, edx
jbe 0x4a5ca8
movzx ebx, byte [eax + edx]
jmp 0x4a5bac
mov ebx, dword [esp + 0x48]
cmp ebx, edx
jbe 0x4a5c9f
mov ebp, dword [esp + 0x44]
movzx ebp, byte [ebp + edx]
mov ebx, ebp
mov ebp, dword [esp + 0x38]
mov byte [esp + 0x21], bl
shr bl, 4
movzx ebx, bl
cmp edi, ebx
jbe 0x4a5c96
movzx edx, byte [esp + 0x21]
and edx, 0xf
mov ebp, dword [esp + 0x58]
movzx ebx, byte [ebp + ebx]
cmp edi, edx
jbe 0x4a5c8d
add esi, 2
movzx edx, byte [ebp + edx]
cmp ecx, esi
jae 0x4a5a56
mov byte [esp + 0x23], bl
mov byte [esp + 0x22], dl
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 2
lea eax, [0x4db060]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
movzx edx, byte [esp + 0x22]
movzx ebx, byte [esp + 0x23]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x58]
jmp 0x4a5a56
mov eax, dword [ebx]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov ecx, dword [0x5d54a0]
test ecx, ecx
je 0x4a5c5e
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebp
mov ecx, dword [eax]
mov dword [edi + 4], ecx
mov dword [eax], ebp
movzx eax, byte [ebx + 4]
test al, al
je 0x4a5c89
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jge 0x4a5c89
movzx edx, byte [ebx + 6]
test dl, dl
je 0x4a5c89
mov dword [esp], ebx
sub eax, ecx
mov dword [esp + 4], eax
call sym.fmt._fmt_.writePadding
add esp, 0x3c
ret
mov eax, edx
mov ecx, edi
call sym.runtime.panicIndex
mov eax, ebx
mov ecx, edi
call sym.runtime.panicIndex
mov eax, edx
mov ecx, ebx
call sym.runtime.panicIndex
mov eax, edx
mov ecx, ebx
call sym.runtime.panicIndex
mov eax, 0x10
mov ecx, edi
call sym.runtime.panicIndex
mov eax, 0x10
mov ecx, edx
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.fmt._fmt_.fmtSbx