Function at 0x46c450
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
cmp byte [edx + 0x1c], 2
mov ebx, ecx
mov cl, 4
jne 0x46c6a6
mov eax, dword [edx]
mov edi, edx
test eax, eax
je 0x46c6a6
mov esi, dword [ebp + 8]
cmp eax, 1
jne 0x46c5be
cmp byte [esi + 5], 0
lea eax, [edi + 4]
mov dword [esp + 4], eax
je 0x46c4b0
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
sub eax, edx
cmp eax, 3
jbe 0x46c6b0
mov eax, dword [edi + 4]
mov dword [eax + edx], 0x6d305b1b
add edx, 4
mov dword [edi + 0xc], edx
cmp byte [esi], 0
je 0x46c4d6
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
sub eax, edx
cmp eax, 3
jbe 0x46c6c8
mov eax, dword [edi + 4]
mov dword [eax + edx], 0x6d315b1b
add edx, 4
mov dword [edi + 0xc], edx
cmp byte [esi + 3], 0
je 0x46c4fd
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
sub eax, edx
cmp eax, 3
jbe 0x46c6e0
mov eax, dword [edi + 4]
mov dword [eax + edx], 0x6d325b1b
add edx, 4
mov dword [edi + 0xc], edx
cmp byte [esi + 4], 0
je 0x46c524
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
sub eax, edx
cmp eax, 3
jbe 0x46c6f8
mov eax, dword [edi + 4]
mov dword [eax + edx], 0x6d335b1b
add edx, 4
mov dword [edi + 0xc], edx
cmp byte [esi + 2], 0
je 0x46c54b
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
sub eax, edx
cmp eax, 3
jbe 0x46c710
mov eax, dword [edi + 4]
mov dword [eax + edx], 0x6d345b1b
add edx, 4
mov dword [edi + 0xc], edx
cmp byte [esi + 6], 0xb
je 0x46c577
movzx edi, byte [esi + 1]
mov edx, dword [esp + 4]
lea eax, [esi + 6]
lea ecx, [esp + 0xc]
push edi
push eax
push 1
call sym.termcolor::Ansi_LT_W_GT_::write_color::hd4d50aaeff657dba
add esp, 0xc
movzx eax, byte [esp + 0xc]
cmp al, 4
jne 0x46c5a9
mov cl, 4
cmp byte [esi + 0xa], 0xb
je 0x46c6a6
movzx eax, byte [esi + 1]
mov edx, dword [esp + 4]
add esi, 0xa
lea ecx, [esp + 0xc]
push eax
push esi
push 0
call sym.termcolor::Ansi_LT_W_GT_::write_color::hd4d50aaeff657dba
add esp, 0xc
movzx eax, byte [esp + 0xc]
cmp al, 4
je 0x46c6a4
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xd]
mov dword [ebx + 4], edx
mov dword [ebx + 1], ecx
mov ecx, eax
jmp 0x46c6a6
movzx ecx, byte [esi + 6]
mov dword [esp + 4], ebx
cmp cl, 0xb
je 0x46c5dc
movzx eax, byte [esi + 9]
movzx edx, word [esi + 7]
mov byte [esp + 0x1e], al
mov word [esp + 0x1c], dx
mov ch, byte [esi + 0xa]
cmp ch, 0xb
je 0x46c5f5
movzx eax, byte [esi + 0xd]
movzx edx, word [esi + 0xb]
mov byte [esp + 0xe], al
mov word [esp + 0xc], dx
movzx edx, byte [esp + 0xe]
movzx eax, byte [esp + 0x1e]
movss xmm0, dword [esi]
movzx ebx, byte [esi + 4]
mov bh, byte [esi + 5]
movzx esi, word [esp + 0xc]
mov byte [esp + 0xb], ch
mov byte [esp + 0xa], cl
mov byte [esp + 0x16], dl
mov edx, dword [edi + 0x18]
mov byte [esp + 0x1a], al
movzx eax, word [esp + 0x1c]
mov word [esp + 0x14], si
mov esi, dword [edi + 0xc]
cmp edx, dword [edi + 0x14]
mov word [esp + 0x18], ax
jne 0x46c64e
lea ecx, [edi + 0x10]
movaps xmmword [esp + 0x20], xmm0
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::reserve_for_push::h0d476aab5143c94a
movaps xmm0, xmmword [esp + 0x20]
mov edx, dword [edi + 0x18]
mov eax, dword [edi + 0x10]
lea ecx, [edx + edx*4]
inc edx
mov dword [eax + ecx*4], esi
movss dword [eax + ecx*4 + 4], xmm0
mov byte [eax + ecx*4 + 8], bl
mov bl, byte [esp + 0xa]
mov byte [eax + ecx*4 + 9], bh
mov byte [eax + ecx*4 + 0xa], bl
movzx esi, word [esp + 0x18]
mov word [eax + ecx*4 + 0xb], si
movzx ebx, byte [esp + 0x1a]
mov byte [eax + ecx*4 + 0xd], bl
movzx ebx, byte [esp + 0xb]
mov byte [eax + ecx*4 + 0xe], bl
movzx esi, word [esp + 0x14]
mov word [eax + ecx*4 + 0xf], si
movzx ebx, byte [esp + 0x16]
mov byte [eax + ecx*4 + 0x11], bl
mov ebx, dword [esp + 4]
mov dword [edi + 0x18], edx
mov cl, 4
mov byte [ebx], cl
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 4]
push 4
call dbg.do_reserve_and_handle<u8, alloc::alloc::Global>
mov cl, 4
add esp, 4
mov edx, dword [edi + 0xc]
jmp 0x46c4a0
mov ecx, dword [esp + 4]
push 4
call dbg.do_reserve_and_handle<u8, alloc::alloc::Global>
mov cl, 4
add esp, 4
mov edx, dword [edi + 0xc]
jmp 0x46c4c6
mov ecx, dword [esp + 4]
push 4
call dbg.do_reserve_and_handle<u8, alloc::alloc::Global>
mov cl, 4
add esp, 4
mov edx, dword [edi + 0xc]
jmp 0x46c4ed
mov ecx, dword [esp + 4]
push 4
call dbg.do_reserve_and_handle<u8, alloc::alloc::Global>
mov cl, 4
add esp, 4
mov edx, dword [edi + 0xc]
jmp 0x46c514
mov ecx, dword [esp + 4]
push 4
call dbg.do_reserve_and_handle<u8, alloc::alloc::Global>
mov cl, 4
add esp, 4
mov edx, dword [edi + 0xc]
jmp 0x46c53b