Function at 0x100049a0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x2740
call fcn.100156f0
mov eax, ecx
mov dword [esp + 0x20], vtable.Packet.0
push ebx
push ebp
push esi
mov ebx, dword [eax + 0x13]
mov ebp, 0x15
mov edx, dword [eax + 7]
mov ecx, 0x14
mov esi, dword [eax + 0xb]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0xd0
mov dword [esp + 0x3d], edx
mov dword [esp + 0x41], esi
mov dword [esp + 0x49], ebx
mov dword [esp + 0x30], ebp
push edi
mov edi, dword [eax + 0xf]
mov eax, dword [eax + 3]
mov dword [esp + 0x3d], eax
mov dword [esp + 0x49], edi
test ebx, ebx
jle 0x10004e07
nop word [eax + eax]
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 0xc]
mov edx, dword [ecx + ebx + 3]
mov esi, dword [ecx + ebx + 7]
mov edi, dword [ecx + ebx + 0xb]
mov cl, byte [eax + ebx + 3]
movzx ebx, word [eax + ebx + 4]
mov dword [esp + ebp + 0x3c], edx
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
movzx ebx, word [eax + ebx + 6]
mov dword [esp + 0x18], ebx
lea ebx, [eax + 5]
mov eax, dword [esp + 0x34]
add eax, 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0x34], eax
mov byte [esp + eax + 0x3c], cl
xor ecx, ecx
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov dword [esp + eax + 0x3c], esi
mov eax, dword [esp + 0x34]
add eax, 4
mov dword [esp + 0x34], eax
mov dword [esp + eax + 0x3c], edi
mov eax, dword [esp + 0x34]
add eax, 4
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
add eax, 2
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], dx
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
xor eax, eax
mov ebp, dword [esp + 0x34]
add ebp, 2
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x34], ebp
cmp ax, dx
jge 0x10004caf
movsx eax, dx
mov dword [esp + 0x20], eax
test eax, eax
jle 0x10004caf
nop word [eax + eax]
mov ebp, dword [esp + 0x14]
lea eax, [ebx + 8]
mov edi, dword [eax + ebp + 3]
movzx ecx, word [ebx + ebp + 3]
mov edx, dword [ebx + ebp + 5]
movzx esi, word [ebx + ebp + 9]
movzx ebx, word [eax + ebp + 7]
mov ebp, dword [eax + ebp + 9]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x14]
mov ebp, dword [eax + ebp + 0xd]
add eax, 0xe
mov dword [esp + 0x10], eax
movsx eax, cx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + ecx + 0x3c], eax
mov eax, dword [esp + 0x34]
add eax, 4
mov dword [esp + 0x34], eax
mov dword [esp + eax + 0x3c], edx
mov eax, edi
mov ecx, dword [esp + 0x34]
cdq
add ecx, 4
mov dword [esp + 0x34], ecx
mov word [esp + ecx + 0x3c], si
mov ecx, dword [esp + 0x34]
add ecx, 2
mov dword [esp + 0x34], ecx
mov dword [esp + ecx + 0x3c], eax
mov dword [esp + ecx + 0x40], edx
mov eax, dword [esp + 0x34]
add eax, 8
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], bx
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov dword [esp + eax + 0x3c], ebp
mov eax, dword [esp + 0x34]
add eax, 4
mov dword [esp + 0x34], eax
mov dword [esp + eax + 0x3c], ecx
xor ecx, ecx
mov eax, dword [esp + 0x34]
add eax, 4
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov ebp, dword [esp + 0x34]
add ebp, 2
sub dword [esp + 0x20], 1
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x34], ebp
jne 0x10004b60
mov eax, dword [esp + 0x18]
xor ecx, ecx
cmp cx, ax
jge 0x10004df8
cwde
mov dword [esp + 0x18], eax
test eax, eax
jle 0x10004df8
jmp 0x10004cd4
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
lea eax, [ebx + 8]
movzx edi, word [eax + ebp + 3]
movzx ecx, word [ebx + ebp + 3]
movzx edx, word [ebx + ebp + 5]
mov esi, dword [ebx + ebp + 7]
mov ebx, dword [eax + ebp + 5]
mov ebp, dword [eax + ebp + 9]
add eax, 0xa
mov dword [esp + 0x10], eax
movsx eax, cx
mov ecx, dword [esp + 0x1c]
mov dword [esp + ecx + 0x3c], eax
mov eax, esi
mov ecx, dword [esp + 0x34]
add ecx, 4
mov dword [esp + 0x34], ecx
mov word [esp + ecx + 0x3c], dx
mov ecx, dword [esp + 0x34]
cdq
add ecx, 2
mov dword [esp + 0x34], ecx
mov dword [esp + ecx + 0x3c], eax
mov dword [esp + ecx + 0x40], edx
xor ecx, ecx
mov eax, dword [esp + 0x34]
add eax, 8
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], di
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov dword [esp + eax + 0x3c], ebx
mov eax, dword [esp + 0x34]
add eax, 4
mov dword [esp + 0x34], eax
mov dword [esp + eax + 0x3c], ebp
mov eax, dword [esp + 0x34]
add eax, 4
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov word [esp + eax + 0x3c], cx
mov ebp, dword [esp + 0x34]
add ebp, 2
sub dword [esp + 0x18], 1
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x34], ebp
jne 0x10004cd0
sub dword [esp + 0x24], 1
mov ecx, dword [esp + 0x10]
jne 0x10004a10
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x3c]
push ebp
push eax
lea eax, [ebx + 2]
push eax
call fcn.10015bf0
add esp, 0xc
lea eax, [ebp + 2]
mov byte [ebx], al
shr eax, 8
mov byte [ebx + 1], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2740
ret