Function at 0x7bc338
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0xd8]
mov dword [esp + 0x14], eax
mov edi, eax
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], 1
test edi, edi
je 0x7bc588
mov esi, dword [edi]
cmp dword [edi + 4], esi
jbe 0x7bc57d
mov ebx, 1
jmp 0x7bc37a
add esi, 4
cmp dword [edi + 4], esi
jbe 0x7bc57d
mov ecx, esi
sub ecx, dword [edi]
sar ecx, 2
mov edx, ecx
shr edx, 5
mov eax, dword [edi + 0xc]
and ecx, 0x1f
mov ebp, ebx
shl ebp, cl
test dword [eax + edx*4], ebp
je 0x7bc377
cmp dword [edi + 4], esi
jbe 0x7bc57d
lea ecx, [esi + 4]
sub ecx, dword [edi]
sar ecx, 2
mov ebx, ecx
shr ebx, 5
mov edx, eax
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [edx + ebx*4], eax
jne 0x7bc3e1
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [eax + 4], edx
mov ebx, dword [eax + 8]
mov dword [esp + 0x14], ebx
mov ebp, dword [ebx]
mov dword [esp + 0x18], ebp
inc dword [esp + 0xc]
mov eax, esi
and eax, 0xfffffffc
mov eax, dword [eax]
mov edx, eax
and edx, 3
cmp edx, 1
je 0x7bc3fe
cmp edx, 1
jb 0x7bc414
cmp edx, 2
je 0x7bc403
jmp 0x7bc408
mov eax, dword [eax - 1]
jmp 0x7bc414
mov eax, dword [eax - 2]
jmp 0x7bc3e8
mov dword [esp], str.get_threaded_info
call fcn.007a5da0
mov ebp, esi
and eax, 3
mov edx, dword [esp + 0x18]
lea ebx, [eax + edx]
mov ecx, dword [esi]
mov edx, ecx
and edx, 3
cmp edx, 1
je 0x7bc438
cmp edx, 1
jb 0x7bc45c
cmp edx, 2
je 0x7bc446
jmp 0x7bc450
mov eax, dword [ecx - 1]
mov dword [ecx - 1], ebx
and eax, 0xfffffffc
mov dword [ebp], eax
jmp 0x7bc45c
mov eax, dword [ecx - 2]
mov dword [ecx - 2], ebx
mov ecx, eax
jmp 0x7bc422
mov dword [esp], str.unthread
call fcn.007a5da0
mov ebx, dword [esi]
sub ebx, 8
mov dword [esp + 0x10], ebx
mov ecx, ebx
movzx edx, word [ebx + 4]
cmp edx, 0x44
ja case.0x7bc474.8
jmp dword [edx*4 + 0x89e92c]
mov eax, 3
jmp 0x7bc52b
mov eax, 2
jmp 0x7bc52b
mov eax, 4
jmp 0x7bc52b
mov eax, 3
jmp 0x7bc52b
movzx edx, word [ebx]
movzx eax, word [ebx + 2]
lea eax, [edx + eax + 2]
jmp 0x7bc52b
mov eax, 3
jmp 0x7bc52b
mov eax, dword [esi + 8]
add eax, 4
jmp 0x7bc52b
movzx eax, word [esi + 0xa]
add eax, 4
jmp 0x7bc52b
movzx eax, word [esi + 6]
add eax, 3
jmp 0x7bc52b
mov eax, 2
jmp 0x7bc52b
mov eax, dword [esi + 4]
add eax, 2
jmp 0x7bc52b
mov eax, dword [esi + 4]
add eax, 2
jmp 0x7bc52b
mov eax, dword [esi + 0x34]
add eax, 0x10
jmp 0x7bc52b
movzx eax, word [esi + 0x12]
jmp 0x7bc52b
mov eax, 4
jmp 0x7bc52b
mov eax, 4
jmp 0x7bc52b
mov eax, 0x43
jmp 0x7bc52b
mov eax, 5
jmp 0x7bc52b
mov eax, 4
jmp 0x7bc52b
mov eax, 4
jmp 0x7bc52b
movzx edx, word [ecx]
movzx eax, word [ecx + 2]
lea eax, [edx + eax + 1]
mov ebp, eax
cmp dword [esp + 0x18], esi
je 0x7bc54c
mov ebx, dword [esp + 0x18]
mov ecx, esi
mov edx, eax
test eax, eax
je 0x7bc54c
mov eax, dword [ecx]
add ecx, 4
mov dword [ebx], eax
add ebx, 4
dec edx
jne 0x7bc53f
mov eax, dword [esp + 0x10]
cmp word [eax + 4], 0x38
jne 0x7bc567
mov edx, dword [esp + 0x18]
mov dword [esp + 4], edx
mov dword [esp], esi
call fcn.00798b5b
lea eax, [ebp*4]
add dword [esp + 0x18], eax
add esi, eax
cmp dword [edi + 4], esi
ja 0x7bc370
mov edi, dword [edi + 8]
test edi, edi
jne 0x7bc365
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov dword [ebx + 4], ebp
cmp dword [ebx + 8], 0
je 0x7bc5ab
mov eax, dword [ebx + 8]
mov dword [esp], eax
call fcn.007adb4a
mov dword [ebx + 8], 0
mov eax, dword [esp + 0xc]
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret