Function at 0x19ef880
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
shr edi, 1
cmp byte [0x1ac6d39], 0
jne 0x1a44d49
mov eax, dword [ebp + 0x18]
cmp edi, eax
jb 0x19ef8a4
mov edi, eax
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x19ef8b0
lea eax, [edi + edi]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov ebx, edi
mov esi, dword [0x1ac6d28]
and ebx, 0x1f
mov ecx, edi
sub ecx, ebx
lea edx, [eax + ecx*2]
mov eax, dword [ebp + 0x14]
add eax, ecx
lea ebx, [ebx]
cmp ebx, 0x1f
ja 0x19ef8dc
jmp dword [ebx*4 + 0x19eee7c]
movzx ecx, byte [eax + 0x1f]
mov cx, word [esi + ecx*2]
mov word [edx + 0x3e], cx
movzx ecx, byte [eax + 0x1e]
mov cx, word [esi + ecx*2]
mov word [edx + 0x3c], cx
movzx ecx, byte [eax + 0x1d]
mov cx, word [esi + ecx*2]
mov word [edx + 0x3a], cx
movzx ecx, byte [eax + 0x1c]
mov cx, word [esi + ecx*2]
mov word [edx + 0x38], cx
movzx ecx, byte [eax + 0x1b]
mov cx, word [esi + ecx*2]
mov word [edx + 0x36], cx
movzx ecx, byte [eax + 0x1a]
mov cx, word [esi + ecx*2]
mov word [edx + 0x34], cx
movzx ecx, byte [eax + 0x19]
mov cx, word [esi + ecx*2]
mov word [edx + 0x32], cx
movzx ecx, byte [eax + 0x18]
mov cx, word [esi + ecx*2]
mov word [edx + 0x30], cx
movzx ecx, byte [eax + 0x17]
mov cx, word [esi + ecx*2]
mov word [edx + 0x2e], cx
movzx ecx, byte [eax + 0x16]
mov cx, word [esi + ecx*2]
mov word [edx + 0x2c], cx
movzx ecx, byte [eax + 0x15]
mov cx, word [esi + ecx*2]
mov word [edx + 0x2a], cx
movzx ecx, byte [eax + 0x14]
mov cx, word [esi + ecx*2]
mov word [edx + 0x28], cx
movzx ecx, byte [eax + 0x13]
mov cx, word [esi + ecx*2]
mov word [edx + 0x26], cx
movzx ecx, byte [eax + 0x12]
mov cx, word [esi + ecx*2]
mov word [edx + 0x24], cx
movzx ecx, byte [eax + 0x11]
mov cx, word [esi + ecx*2]
mov word [edx + 0x22], cx
movzx ecx, byte [eax + 0x10]
mov cx, word [esi + ecx*2]
mov word [edx + 0x20], cx
movzx ecx, byte [eax + 0xf]
mov cx, word [esi + ecx*2]
mov word [edx + 0x1e], cx
movzx ecx, byte [eax + 0xe]
mov cx, word [esi + ecx*2]
mov word [edx + 0x1c], cx
movzx ecx, byte [eax + 0xd]
mov cx, word [esi + ecx*2]
mov word [edx + 0x1a], cx
movzx ecx, byte [eax + 0xc]
mov cx, word [esi + ecx*2]
mov word [edx + 0x18], cx
movzx ecx, byte [eax + 0xb]
mov cx, word [esi + ecx*2]
mov word [edx + 0x16], cx
movzx ecx, byte [eax + 0xa]
mov cx, word [esi + ecx*2]
mov word [edx + 0x14], cx
movzx ecx, byte [eax + 9]
mov cx, word [esi + ecx*2]
mov word [edx + 0x12], cx
movzx ecx, byte [eax + 8]
mov cx, word [esi + ecx*2]
mov word [edx + 0x10], cx
movzx ecx, byte [eax + 7]
mov cx, word [esi + ecx*2]
mov word [edx + 0xe], cx
movzx ecx, byte [eax + 6]
mov cx, word [esi + ecx*2]
mov word [edx + 0xc], cx
movzx ecx, byte [eax + 5]
mov cx, word [esi + ecx*2]
mov word [edx + 0xa], cx
movzx ecx, byte [eax + 4]
mov cx, word [esi + ecx*2]
mov word [edx + 8], cx
movzx ecx, byte [eax + 3]
mov cx, word [esi + ecx*2]
mov word [edx + 6], cx
movzx ecx, byte [eax + 2]
mov cx, word [esi + ecx*2]
mov word [edx + 4], cx
movzx ecx, byte [eax + 1]
mov cx, word [esi + ecx*2]
mov word [edx + 2], cx
movzx ecx, byte [eax]
mov cx, word [esi + ecx*2]
mov word [edx], cx
cmp edi, 0x20
jae 0x19efa6a
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ebx, 0x20
sub edx, 0x40
sub edi, ebx
sub eax, ebx
jmp 0x19ef8d0
mov edx, dword [ebp + 8]
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
je 0x1a44dab
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
test esi, esi
je 0x1a44da8
movzx eax, byte [ebx]
dec edi
dec esi
movzx ecx, word [eax*2 + 0x1ac6900]
test cx, cx
je 0x1a44d89
test esi, esi
je 0x1a44da0
inc ebx
mov eax, ecx
movzx ecx, byte [ebx]
add ecx, eax
mov eax, dword [0x1ac6b10]
dec esi
mov ax, word [eax + ecx*2]
jmp 0x1a44d93
mov ecx, dword [0x1ac6d28]
mov ax, word [ecx + eax*2]
mov word [edx], ax
inc ebx
add edx, 2
test edi, edi
jne 0x1a44d5b
jmp 0x1a44da8
xor eax, eax
mov word [edx], ax
add edx, 2
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x19efa5f
sub edx, ecx
mov dword [eax], edx
jmp 0x19efa5f