Function at 0x7bbe10
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [0xbcbae0]
mov esi, ecx
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
xor eax, esp
mov dword [esp + 0x24], eax
lea eax, [ecx + ecx]
mov dword [esp + 0xc], edx
add eax, dword [esi + 0x40]
mov ebx, dword [esi + 0x38]
movzx edi, word [esi + 0x18]
mov dword [esp + 4], eax
mov eax, edx
mov dword [esp], edi
mov dword [esp + 0x10], ebx
sub eax, ebp
mov dword [esp + 8], eax
movzx eax, byte [esi + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 0xc]
jge 0x7bbeaa
mov dword [esp + 0x18], eax
mov eax, ebp
mov ecx, esi
sub eax, edx
push dword [esp + 0x44]
push eax
call fcn.007bc0b0
add esp, 8
cmp eax, edi
jg 0x7bc06c
mov ebx, eax
mov eax, dword [esi + 0x40]
lea edx, [edi + edi]
lea ecx, [eax + ebx*2]
push edx
push ecx
push eax
call fcn.00981230
add esp, 0xc
mov eax, edi
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0xc]
sub eax, ebx
mov ebx, dword [esp + 0x10]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
add edi, edx
lea edx, [ecx + ebp]
add edi, eax
sub edi, edx
jle 0x7bbec7
mov ecx, esi
push dword [esp + 0x44]
push edi
call fcn.007bc0b0
add esp, 8
sub dword [esp], eax
mov ecx, dword [esp + 0x14]
movzx eax, byte [ebx + ecx + 5]
movzx ecx, byte [ebx + ecx + 6]
shl eax, 8
lea eax, [eax + ecx - 1]
movzx eax, ax
lea eax, [ebx + eax + 1]
cmp eax, dword [esp + 4]
mov dword [esp + 0x20], eax
jb 0x7bc02e
cmp ebp, dword [esp + 0xc]
jge 0x7bbf48
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 8]
mov ecx, dword [esp]
mov edi, dword [esi + 0x40]
cmp ebx, eax
lea ecx, [ecx + ecx]
cmovg ebx, eax
lea eax, [edi + ebx*2]
push ecx
push edi
push eax
call fcn.00981230
add esp, 0xc
mov edx, dword [esp + 4]
lea eax, [esp + 0x20]
mov ecx, esi
push dword [esp + 0x44]
mov dword [esp + 0xc], ebx
push ebx
push ebp
push edi
push eax
call fcn.007bc190
add esp, 0x14
test eax, eax
jne 0x7bc02e
mov eax, dword [esp + 8]
add dword [esp], eax
mov al, byte [esi + 0xc]
mov edx, dword [esp + 0x40]
test al, al
je 0x7bbfd0
xor edi, edi
mov dword [esp + 0x1c], esi
movzx ebx, word [esi + edi*2 + 0x1c]
add ebx, dword [esp + 0xc]
mov ecx, ebx
sub ecx, ebp
js 0x7bbfc8
cmp ecx, edx
jge 0x7bbfc8
lea ebp, [ecx + ecx]
mov eax, dword [esp]
add ebp, dword [esi + 0x40]
sub eax, ecx
jle 0x7bbf89
add eax, eax
lea ecx, [ebp + 2]
push eax
push ebp
push ecx
call fcn.00981230
add esp, 0xc
mov esi, dword [esp + 0x44]
mov edx, ebx
mov ecx, esi
call fcn.007bbde0
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 4]
mov ecx, esi
push dword [esp + 0x44]
push 1
push ebx
push ebp
lea eax, [esp + 0x30]
push eax
call fcn.007bc190
add esp, 0x14
mov ebp, dword [esp + 0x3c]
test eax, eax
jne 0x7bc02e
movzx eax, byte [esi + 0xc]
mov edx, dword [esp + 0x40]
inc dword [esp]
inc edi
movzx ecx, al
cmp edi, ecx
jb 0x7bbf59
mov ebx, dword [esp]
mov eax, edx
mov edx, dword [esp + 4]
mov ecx, esi
lea edi, [ebx + ebx]
sub eax, ebx
add ebx, ebp
add edi, dword [esi + 0x40]
push dword [esp + 0x44]
push eax
push ebx
push edi
lea eax, [esp + 0x30]
push eax
call fcn.007bc190
add esp, 0x14
test eax, eax
jne 0x7bc02e
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov word [esi + 0x18], ax
mov byte [esi + 0xc], 0
mov byte [ecx + edx + 3], ah
mov al, byte [esi + 0x18]
xor esi, esi
mov byte [ecx + edx + 4], al
mov eax, dword [esp + 0x20]
sub eax, ecx
mov byte [ecx + edx + 5], ah
mov byte [ecx + edx + 6], al
jmp 0x7bc057
mov ebx, esi
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov edx, ebp
mov ecx, esi
mov edi, eax
push eax
call fcn.007bc2d0
add esp, 4
mov ecx, esi
mov edx, ebp
push ebx
push edi
call fcn.007bbc40
add esp, 8
mov esi, eax
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00980459
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x1bfa
call fcn.00799c70
mov esi, 0xb
jmp 0x7bc057