Function at 0xbf90fb
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
lea ebp, [esp - 0x5d0]
sub esp, 0x650
mov eax, dword [0xbf5650]
xor eax, ebp
mov dword [ebp + 0x5cc], eax
mov eax, dword [ebp + 0x5dc]
push ebx
push esi
mov esi, dword [ebp + 0x5d8]
mov ebx, dword [esi + 0x138]
push edi
add ebx, 6
imul ebx, ebx, 0x38
push 4
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x5e0]
push 0x3000
push dword [esi + 0x13c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x5e4]
push 0
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x80], eax
add ebx, esi
call dword [0xbf5018]
push dword [ebx + 0x28]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x2c]
add eax, esi
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00bf9075
mov edi, dword [ebx + 0x30]
mov eax, dword [ebp - 0x70]
and dword [ebp - 0x64], 0
add esi, 0x38
push 0x3e
add edi, eax
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [ebx + 0x30]
movzx ecx, word [ebx + eax + 0x14]
add ecx, ebx
mov ebx, dword [ebp - 0x6c]
mov esi, dword [ebx + 0x138]
inc esi
lea edx, [ecx + eax + 0x18]
lea ecx, [ebx + 0x150]
je 0xbf91f3
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x68], ecx
movzx ecx, word [ebx + 0x132]
cmp dword [ebp - 0x64], ecx
mov edi, dword [ebp - 0x60]
push 0xa
pop ecx
jne 0xbf91d7
sub dword [ebp - 0x68], 0x38
lea esi, [ebx + 0x10]
jmp 0xbf91da
mov esi, dword [ebp - 0x68]
inc dword [ebp - 0x64]
add dword [ebp - 0x60], 0x28
add dword [ebp - 0x68], 0x38
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x138]
inc ecx
cmp dword [ebp - 0x64], ecx
jb 0xbf91bc
mov ecx, dword [ebx + 0x138]
mov esi, dword [eax + 0x3c]
imul ecx, ecx, 0x28
and dword [ebp - 0x60], 0
add ecx, edx
mov edi, dword [ecx + 0x14]
add edi, dword [ecx + 0x10]
add esi, eax
cmp word [esi + 6], 0
movzx ecx, word [esi + 0x14]
mov dword [ebp - 0x7c], edi
lea ecx, [ecx + esi + 0x18]
jbe 0xbf92ed
add ecx, 0x14
lea edi, [ebx + 0x178]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x6c], edi
jmp 0xbf9237
mov ecx, dword [ebp - 0x64]
movzx edx, word [ebx + 0x132]
cmp dword [ebp - 0x60], edx
je 0xbf928f
mov edx, dword [edi + 8]
mov ecx, dword [ecx]
push edx
add ecx, eax
push 0
push ecx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x6c], ecx
call fcn.00bfa5c0
mov eax, dword [edi + 4]
add esp, 0xc
push dword [edi]
add eax, ebx
cmp dword [edi + 0xc], 0
push eax
je 0xbf927c
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00bf9075
jmp 0xbf9287
push dword [ebp - 0x6c]
call fcn.00bf9ef0
add esp, 0xc
add edi, 0x38
mov dword [ebp - 0x6c], edi
jmp 0xbf92d3
mov edi, dword [ecx]
mov ecx, dword [ebp - 0x74]
add edi, eax
mov eax, dword [ebp - 0x64]
push dword [eax - 4]
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0x34]
add eax, dword [ecx + 0xc]
push eax
push edi
call fcn.00bf9ef0
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0x88]
mov ecx, dword [ebp - 0x74]
sub eax, dword [ecx + 0xc]
add eax, edi
push eax
mov eax, dword [ebx + 0x134]
neg eax
push eax
push edi
call fcn.00bf696e
mov edi, dword [ebp - 0x6c]
add esp, 0x18
movzx eax, word [esi + 6]
add dword [ebp - 0x64], 0x28
inc dword [ebp - 0x60]
cmp dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x70]
jl 0xbf9234
mov edi, dword [ebp - 0x7c]
push edi
push eax
call dword [ebp - 0x80]
pop ecx
pop ecx
push 0x8000
push dword [ebx + 0x13c]
mov esi, eax
push dword [ebp - 0x70]
call dword [0xbf5014]
mov ecx, dword [ebp + 0x5cc]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00bfa5aa
add ebp, 0x5d0
leave
ret