Function at 0x1009f190
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, dword [ebp + 0x18]
mov ebx, dword [esi + 4]
test ebx, ebx
push edi
mov edi, dword [esi]
mov dword [esp + 0x10], esi
jne 0x1009f1bc
push ebp
call dword [esi + 0xc]
test eax, eax
je 0x1009f3ba
mov edi, dword [esi]
mov ebx, dword [esi + 4]
xor eax, eax
mov ah, byte [edi]
dec ebx
inc edi
test ebx, ebx
mov dword [esp + 0x28], eax
jne 0x1009f1df
push ebp
call dword [esi + 0xc]
test eax, eax
je 0x1009f3ba
mov edi, dword [esi]
mov ebx, dword [esi + 4]
mov eax, dword [esp + 0x28]
movzx ecx, byte [edi]
add eax, ecx
dec ebx
sub eax, 2
inc edi
test eax, eax
mov dword [esp + 0x28], eax
jle 0x1009f397
test ebx, ebx
jne 0x1009f20a
push ebp
call dword [esi + 0xc]
test eax, eax
je 0x1009f3ba
mov edi, dword [esi]
mov ebx, dword [esi + 4]
movzx esi, byte [edi]
mov eax, dword [ebp]
mov ecx, esi
sar ecx, 4
mov dword [eax + 0x14], 0x51
push 1
and esi, 0xf
mov dword [eax + 0x18], esi
dec ebx
push ebp
inc edi
mov dword [esp + 0x24], ecx
mov dword [eax + 0x1c], ecx
call dword [eax + 4]
cmp esi, 4
jl 0x1009f246
mov eax, dword [ebp]
mov dword [eax + 0x14], 0x1f
push ebp
mov dword [eax + 0x18], esi
call dword [eax]
mov eax, dword [ebp + esi*4 + 0xa8]
test eax, eax
jne 0x1009f25e
push ebp
call fcn.100b6be0
mov dword [ebp + esi*4 + 0xa8], eax
mov edx, dword [ebp + esi*4 + 0xa8]
mov esi, 0x101b2478
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1009f2c1
test ebx, ebx
mov esi, dword [esp + 0x10]
jne 0x1009f293
push ebp
call dword [esi + 0xc]
test eax, eax
je 0x1009f3ba
mov edi, dword [esi]
mov ebx, dword [esi + 4]
xor eax, eax
mov ah, byte [edi]
dec ebx
inc edi
test ebx, ebx
mov dword [esp + 0x14], eax
jne 0x1009f2b2
push ebp
call dword [esi + 0xc]
test eax, eax
je 0x1009f3ba
mov edi, dword [esi]
mov ebx, dword [esi + 4]
movzx ecx, byte [edi]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
add edx, ecx
jmp 0x1009f2dd
test ebx, ebx
jne 0x1009f2da
mov ebx, dword [esp + 0x10]
push ebp
call dword [ebx + 0xc]
test eax, eax
je 0x1009f3ba
mov edi, dword [ebx]
mov ebx, dword [ebx + 4]
movzx edx, byte [edi]
mov ecx, dword [esi]
mov eax, dword [esp + 0x20]
dec ebx
add esi, 4
inc edi
cmp esi, 0x101b2578
mov dword [esp + 0x14], edx
mov word [eax + ecx*2], dx
mov dword [esp + 0x18], esi
jl 0x1009f272
mov ecx, dword [ebp]
cmp dword [ecx + 0x68], 2
jl 0x1009f369
lea esi, [eax + 4]
mov dword [esp + 0x18], 8
movzx edx, word [esi - 4]
mov eax, dword [ebp]
mov dword [eax + 0x18], edx
movzx ecx, word [esi - 2]
mov dword [eax + 0x1c], ecx
movzx edx, word [esi]
mov dword [eax + 0x20], edx
movzx ecx, word [esi + 2]
mov dword [eax + 0x24], ecx
movzx edx, word [esi + 4]
mov dword [eax + 0x28], edx
movzx ecx, word [esi + 6]
mov dword [eax + 0x2c], ecx
movzx edx, word [esi + 8]
mov dword [eax + 0x30], edx
movzx ecx, word [esi + 0xa]
push 2
mov dword [eax + 0x34], ecx
push ebp
mov dword [eax + 0x14], 0x5d
call dword [eax + 4]
mov eax, dword [esp + 0x18]
add esi, 0x10
dec eax
mov dword [esp + 0x18], eax
jne 0x1009f314
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
sub ecx, 0x41
test eax, eax
mov dword [esp + 0x28], ecx
je 0x1009f385
mov eax, ecx
sub eax, 0x40
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
test eax, eax
mov esi, dword [esp + 0x10]
jg 0x1009f1f5
test eax, eax
je 0x1009f3a6
mov eax, dword [ebp]
push ebp
mov dword [eax + 0x14], 0xb
call dword [eax]
mov dword [esi], edi
pop edi
mov dword [esi + 4], ebx
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 4