Function at 0x4c0400
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c082f
sub esp, 0x34
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4c0826
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
movzx ebx, byte [edx + 5]
test bl, bl
je 0x4c081f
mov ebx, dword [edx + 0x14]
cmp ebx, ecx
jge 0x4c081f
mov dword [esp + 0x28], ebx
mov ecx, ebx
shl ebx, 1
test ebx, ebx
jle 0x4c0802
movzx ebp, byte [edx + 9]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4c07ea
movzx ebp, byte [edx + 8]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4c07df
mov ebx, ecx
shl ecx, 2
lea ecx, [ecx + ebx - 1]
mov dword [esp + 0x24], ecx
movzx ebp, byte [edx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4c049c
mov ebp, dword [edx + 0x10]
cmp ebp, ecx
jle 0x4c049c
movzx esi, byte [edx + 6]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4c07bc
mov ebp, dword [edx]
mov esi, dword [ebp + 4]
mov dword [esp + 0x30], esi
mov edi, dword [ebp]
mov ebp, dword [ebp + 8]
movzx ecx, byte [edx + 8]
test cl, cl
je 0x4c07b5
mov ecx, dword [esp + 0x54]
cmp ecx, 0x10
jbe 0x4c07ae
mov ecx, dword [esp + 0x50]
movzx ecx, byte [ecx + 0x10]
mov byte [esp + 0x23], cl
lea eax, [esi + 2]
cmp eax, ebp
jg 0x4c076b
mov byte [edi + esi], 0x30
mov byte [edi + esi + 1], cl
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
cmp ecx, ebx
jge 0x4c05e7
movzx esi, byte [edx + 9]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4c075a
test ecx, ecx
jle 0x4c0749
lea esi, [eax + 1]
cmp esi, ebp
jg 0x4c0707
mov dword [esp + 0x30], esi
mov byte [edi + eax], 0x20
movzx eax, byte [edx + 8]
test al, al
je 0x4c06fa
mov eax, dword [esp + 0x54]
cmp eax, 0x10
jbe 0x4c06f3
mov edx, dword [esp + 0x50]
movzx ebx, byte [edx + 0x10]
mov byte [esp + 0x23], bl
lea edx, [esi + 2]
cmp edx, ebp
jg 0x4c06ae
mov eax, dword [esp + 0x44]
test eax, eax
mov byte [edi + esi], 0x30
mov byte [edi + esi + 1], bl
mov dword [esp + 0x30], edx
je 0x4c068e
mov ebx, dword [esp + 0x48]
cmp ecx, ebx
jae 0x4c0687
movzx esi, byte [eax + ecx]
xchg esi, eax
mov byte [esp + 0x21], al
xchg esi, eax
xchg esi, eax
shr al, 4
xchg esi, eax
xchg esi, eax
movzx eax, al
xchg esi, eax
mov ebx, dword [esp + 0x54]
cmp esi, ebx
jae 0x4c0680
mov eax, dword [esp + 0x50]
movzx esi, byte [eax + esi]
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
movzx ecx, byte [esp + 0x21]
and ecx, 0xf
cmp ecx, ebx
jae 0x4c0680
movzx ecx, byte [eax + ecx]
mov byte [esp + 0x22], cl
lea eax, [edx + 2]
cmp eax, ebp
jg 0x4c063c
xchg esi, eax
mov byte [edi + edx], al
xchg esi, eax
mov byte [edi + edx + 1], cl
mov esi, dword [esp + 0x2c]
lea ecx, [esi + 1]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
cmp ecx, ebx
jl 0x4c04f5
mov ecx, dword [edx]
mov dword [ecx + 4], eax
mov dword [ecx + 8], ebp
mov eax, dword [0xc93940]
test eax, eax
jne 0x4c062a
mov dword [ecx], edi
movzx eax, byte [edx + 4]
test al, al
je 0x4c0616
mov eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jle 0x4c0616
movzx ebx, byte [edx + 6]
test bl, bl
jne 0x4c061a
add esp, 0x34
ret
sub eax, ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call dbg.fmt.(*fmt).writePadding
jmp 0x4c0616
mov dword [esp], ecx
mov dword [esp + 4], edi
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x38]
jmp 0x4c05fb
lea ebx, [0x8e94a0]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call dbg.runtime.growslice
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
add eax, 2
movzx ecx, byte [esp + 0x22]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x54]
movzx esi, byte [esp + 0x23]
jmp 0x4c05bf
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicindex
ud2
mov ebx, dword [esp + 0x40]
cmp ecx, ebx
jae 0x4c06a7
mov esi, dword [esp + 0x3c]
movzx esi, byte [esi + ecx]
mov ebx, dword [esp + 0x48]
jmp 0x4c0576
call dbg.runtime.panicindex
ud2
lea eax, [0x8e94a0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call dbg.runtime.growslice
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 2]
mov eax, dword [esp + 0x44]
test eax, eax
mov ecx, dword [esp + 0x2c]
movzx ebx, byte [esp + 0x23]
mov esi, dword [esp + 0x30]
jmp 0x4c0554
call dbg.runtime.panicindex
ud2
mov eax, dword [esp + 0x44]
test eax, eax
mov edx, esi
jmp 0x4c055c
lea ebx, [0x8e94a0]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call dbg.runtime.growslice
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
jmp 0x4c0516
mov esi, dword [esp + 0x44]
test esi, esi
mov eax, esi
mov edx, dword [esp + 0x30]
jmp 0x4c055c
mov esi, dword [esp + 0x44]
test esi, esi
mov eax, esi
mov edx, dword [esp + 0x30]
jmp 0x4c055c
lea edx, [0x8e94a0]
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call dbg.runtime.growslice
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
add eax, 2
movzx ecx, byte [esp + 0x23]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
jmp 0x4c04db
call dbg.runtime.panicindex
ud2
mov eax, esi
jmp 0x4c04e3
sub ebp, ecx
mov dword [esp + 4], ebp
mov dword [esp], edx
call dbg.fmt.(*fmt).writePadding
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
jmp 0x4c049c
mov ecx, ebx
mov ebx, dword [esp + 0x28]
jmp 0x4c0475
movzx ebp, byte [edx + 8]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4c07f7
add ebx, 2
mov ecx, ebx
mov ebx, dword [esp + 0x28]
jmp 0x4c0479
movzx eax, byte [edx + 4]
test al, al
jne 0x4c080e
add esp, 0x34
ret
mov eax, dword [edx + 0x10]
mov dword [esp + 4], eax
mov dword [esp], edx
call dbg.fmt.(*fmt).writePadding
jmp 0x4c080a
mov ebx, ecx
jmp 0x4c0444
mov ecx, dword [esp + 0x40]
jmp 0x4c0429
call dbg.runtime.morestack_noctxt
jmp dbg.fmt.(*fmt).fmt_sbx