Function at 0x1001f810
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
cmp dword [eax], 0
jg 0x1001fa51
push ebx
push edi
lea ebx, [esi + 0x20]
mov edi, 1
push ebx
call fcn.10100856
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
cmp dword [eax], 0
jg 0x1001fa07
test di, di
je 0x1001fa07
movzx eax, di
lea edi, [eax*8 + 0x10165758]
mov cl, byte [edi + 4]
cmp cl, 0x7f
jae 0x1001f869
cmp byte [esi + 0x24], 0
jne 0x1001f869
movzx eax, cl
cmp eax, dword [ebx]
je 0x1001f881
cmp cl, 0xff
je 0x1001f881
cmp cl, 0xfe
jne 0x1001f935
cmp byte [esi + 0x24], 0
je 0x1001f95e
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x1001f899
push str.scan
push eax
call fcn.10109820
add esp, 8
push dword [edi]
mov ecx, esi
call fcn.10100856
test al, al
je 0x1001fa07
cmp byte [edi + 6], 0
je 0x1001f918
inc dword [esi + 0x134]
mov ecx, dword [esi + 0x134]
cmp ecx, 0x64
jl 0x1001f90f
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
cmp dword [eax], 0
jg 0x1001f903
mov dword [eax], 0x10200
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x1001f903
mov eax, dword [esi + 0x14]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x18]
mov dword [ecx + 4], eax
xor ecx, ecx
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
mov word [eax + 8], cx
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
mov word [eax + 0x28], cx
dec dword [esi + 0x134]
mov ecx, dword [esi + 0x134]
movzx eax, byte [edi + 6]
mov word [esi + ecx*2 + 0x6c], ax
cmp byte [edi + 7], 0
je 0x1001f926
push ebx
mov ecx, esi
call fcn.10100856
mov al, byte [edi + 5]
cmp al, 0xff
je 0x1001f99a
movzx edi, al
jmp 0x1001f9f8
cmp cl, 0xfd
jne 0x1001f950
cmp byte [esi + 0x24], 0
je 0x1001f95e
mov eax, dword [ebx]
cmp eax, 0x50
je 0x1001f881
cmp eax, 0x70
jmp 0x1001f958
cmp cl, 0xfc
jne 0x1001f95e
cmp dword [ebx], 0xffffffff
je 0x1001f881
mov al, cl
add al, 0x80
cmp al, 0x6f
ja 0x1001f992
cmp byte [esi + 0x24], 0
jne 0x1001f992
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x1001f992
push eax
movzx eax, cl
lea ecx, [esi - 0x4928]
imul eax, eax, 0x98
add ecx, eax
call fcn.10100856
test al, al
jne 0x1001f881
add edi, 8
jmp 0x1001f854
mov eax, dword [esi + 0x134]
movzx edi, word [esi + eax*2 + 0x6c]
add eax, 0xffffffff
mov dword [esi + 0x134], eax
jns 0x1001f9f8
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
cmp dword [eax], 0
jg 0x1001f9f2
mov dword [eax], 0x10200
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x1001f9f2
mov eax, dword [esi + 0x14]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x18]
mov dword [ecx + 4], eax
xor ecx, ecx
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
mov word [eax + 8], cx
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
mov word [eax + 0x28], cx
inc dword [esi + 0x134]
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
cmp dword [eax], 0
jle 0x1001f841
mov eax, dword [esi + 4]
pop edi
pop ebx
mov ecx, dword [eax + 8]
cmp dword [ecx], 0
jg 0x1001fa51
cmp dword [eax + 0x58], 0
jne 0x1001fa51
mov dword [ecx], 0x10203
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x1001fa51
mov eax, dword [esi + 0x14]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x18]
mov dword [ecx + 4], eax
xor ecx, ecx
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
mov word [eax + 8], cx
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
mov word [eax + 0x28], cx
pop esi
ret