Function at 0x19fe345
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x19fe44e
cmp dword [ebx], 0x5c
jb 0x19fe44e
call fcn.019fc084
movzx ecx, word [ebx + 0x36]
mov esi, eax
or esi, 0x8000
and esi, ecx
mov dword [edi + 0xa0], esi
call fcn.019fc084
test esi, eax
jne 0x19fe53e
test dword [ebx + 0x58], 0x1000
je 0x19fe552
or dword [edi + 0x34], 0x8000
test dword [ebx + 0x58], 0x2000
je 0x19fe552
mov ecx, dword [edi + 0x18]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
mov dl, 1
push eax
push 0xd
call fcn.019fa4d2
test eax, eax
js 0x19fe537
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 4]
test ecx, ecx
je 0x19fe439
movzx eax, word [esi + 0x14]
lea edx, [esi + 0x18]
and dword [ebp - 4], 0
add edx, eax
movzx eax, word [esi + 6]
test eax, eax
je 0x19fe439
mov eax, dword [ecx + 0xc]
movzx ecx, word [esi + 6]
mov dword [ebp - 0x14], eax
sub eax, dword [edx + 0xc]
cmp eax, dword [edx + 8]
jb 0x19fe410
mov eax, dword [ebp - 4]
add edx, 0x28
inc eax
mov dword [ebp - 4], eax
cmp eax, ecx
mov eax, dword [ebp - 0x14]
jb 0x19fe3f5
jmp 0x19fe439
mov ecx, dword [edx + 0xc]
add ecx, dword [edi + 0x18]
mov dword [ebp - 0xc], ecx
mov edx, dword [edx + 8]
mov dword [ebp - 8], edx
call fcn.01a159b9
lea eax, [ebp - 0x10]
push eax
push 2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
call fcn.01a22e60
call fcn.019fe5aa
push 0xe
pop ecx
test eax, eax
jne 0x19fe459
call fcn.019fe5aa
test eax, eax
jne 0x19fe480
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ax, word [esi + 0x5e]
bt ax, cx
setb cl
test dword [ebx + 0x58], 0x100
setne al
test al, cl
jne 0x19fe47b
mov edx, esi
mov ecx, edi
call fcn.01a5cfdf
push 0xe
pop ecx
jmp 0x19fe445
mov ax, word [esi + 0x5e]
bt ax, cx
setb cl
test dword [ebx + 0x58], 0x100
setne al
test al, cl
je 0x19fe44e
mov esi, dword [ebx + 0x48]
test esi, esi
je 0x19fe55a
mov ecx, dword [edi + 0x18]
cmp esi, ecx
jb 0x19fe55a
mov eax, dword [edi + 0x20]
add eax, 0xfffffffc
add eax, ecx
cmp esi, eax
jae 0x19fe55a
cmp dword [esi], 0
je 0x19fe55a
push 4
pop ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], esi
push eax
push ecx
lea eax, [ebp - 8]
mov dword [ebp - 8], ecx
push eax
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
call fcn.01a22e60
test eax, eax
js 0x19fe450
call fcn.019fe55e
test eax, eax
jne 0x1a4a55d
mov dword [esi], 0x1a36010
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
call fcn.01a22e60
test eax, eax
js 0x19fe450
test esi, esi
je 0x1a4a581
cmp dword [esi], 0x1a36010
je 0x19fe44e
jmp 0x1a4a575
xor ecx, ecx
jmp 0x19fe3cf
mov ecx, edi
call fcn.01a17ba3
test al, al
je 0x19fe38f
jmp 0x1a4a53c
mov esi, dword [ebp - 4]
jmp 0x19fe439
xor esi, esi
jmp 0x19fe51e
cmp edi, dword [0x1ac79a4]
jne 0x1a4a54c
or esi, 0x200
jmp 0x1a4a552
or esi, 0x100
mov dword [edi + 0xa0], esi
jmp 0x19fe38f
test dword [ebx + 0x58], 0x4000
je 0x19fe4fa
mov dword [esi], 0x1a360a0
jmp 0x19fe500
cmp dword [esi], 0x1a360a0
je 0x19fe44e
mov eax, 0xc000003e
jmp 0x19fe450