Function at 0x4fbdd0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub esp, 0x90
push ebp
mov ebp, dword [esp + 0x9c]
push edi
mov edi, dword [esp + 0xa8]
push eax
push ecx
mov ecx, dword [esp + 0xbc]
lea eax, [esp + 0x4c]
push edx
mov edx, dword [esp + 0xbc]
push eax
push ecx
push edx
push ebp
push edi
call fcn.00547180
add esp, 0x20
test eax, eax
je 0x4fbe26
pop edi
mov eax, 1
pop ebp
add esp, 0x90
ret
mov edx, dword [esp + 0x60]
push ebx
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x68]
sub edx, ebx
mov ebx, dword [edi + 8]
mov ecx, dword [esp + 0x60]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x54]
sub eax, ecx
imul ecx, dword [esp + 0x14]
imul ebx, esi
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x28], edx
lea ebx, [ebx + esi*4]
add ebx, dword [ebp + 4]
mov ebp, dword [esp + 0x60]
lea ebp, [ecx + ebp*4]
mov ecx, dword [edi + 4]
add ebp, ecx
mov cl, byte [esp + 0x4c]
test cl, cl
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebp
je 0x4fc217
mov edi, dword [esp + 0x58]
mov ecx, edx
and ecx, 7
sub esi, edi
mov edi, dword [esp + 0x1c]
add esi, ecx
sar edx, 3
lea esi, [edi + esi*4]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x30], esi
mov esi, ecx
sub esi, edi
mov edi, dword [esp + 0x14]
test eax, eax
lea esi, [edi + esi*4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], esi
jle 0x4fc37e
mov dword [esp + 0x1c], eax
test edx, edx
jle 0x4fc14f
lea esi, [ebp + 6]
lea edi, [ebx + 6]
mov dword [esp + 0x14], edx
push ebx
mov ecx, ebp
call fcn.0051e940
movzx ax, byte [edi - 2]
movzx dx, byte [esi - 2]
lea ecx, [esi - 2]
add eax, edx
cmp ax, 0xff
jbe 0x4fbefa
mov eax, 0xff
movzx bp, byte [edi - 1]
movzx dx, byte [esi - 1]
add ebp, edx
cmp bp, 0xff
jbe 0x4fbf12
mov ebp, 0xff
movzx dx, byte [esi]
movzx bx, byte [edi]
add edx, ebx
cmp dx, 0xff
jbe 0x4fbf28
mov edx, 0xff
push edx
push ebp
push eax
call fcn.004c4850
movzx ax, byte [edi + 2]
movzx dx, byte [esi + 2]
lea ecx, [esi + 2]
add eax, edx
cmp ax, 0xff
jbe 0x4fbf4a
mov eax, 0xff
movzx bp, byte [edi + 3]
movzx dx, byte [esi + 3]
add ebp, edx
cmp bp, 0xff
jbe 0x4fbf62
mov ebp, 0xff
movzx dx, byte [edi + 4]
movzx bx, byte [esi + 4]
add edx, ebx
cmp dx, 0xff
jbe 0x4fbf7a
mov edx, 0xff
push edx
push ebp
push eax
call fcn.004c4850
movzx ax, byte [edi + 6]
movzx dx, byte [esi + 6]
lea ecx, [esi + 6]
add eax, edx
cmp ax, 0xff
jbe 0x4fbf9c
mov eax, 0xff
movzx bp, byte [edi + 7]
movzx dx, byte [esi + 7]
add ebp, edx
cmp bp, 0xff
jbe 0x4fbfb4
mov ebp, 0xff
movzx dx, byte [edi + 8]
movzx bx, byte [esi + 8]
add edx, ebx
cmp dx, 0xff
jbe 0x4fbfcc
mov edx, 0xff
push edx
push ebp
push eax
call fcn.004c4850
movzx ax, byte [edi + 0xa]
movzx dx, byte [esi + 0xa]
lea ecx, [esi + 0xa]
add eax, edx
cmp ax, 0xff
jbe 0x4fbfee
mov eax, 0xff
movzx bp, byte [edi + 0xb]
movzx dx, byte [esi + 0xb]
add ebp, edx
cmp bp, 0xff
jbe 0x4fc006
mov ebp, 0xff
movzx dx, byte [edi + 0xc]
movzx bx, byte [esi + 0xc]
add edx, ebx
cmp dx, 0xff
jbe 0x4fc01e
mov edx, 0xff
push edx
push ebp
push eax
call fcn.004c4850
movzx ax, byte [edi + 0xe]
movzx dx, byte [esi + 0xe]
lea ecx, [esi + 0xe]
add eax, edx
cmp ax, 0xff
jbe 0x4fc040
mov eax, 0xff
movzx bp, byte [edi + 0xf]
movzx dx, byte [esi + 0xf]
add ebp, edx
cmp bp, 0xff
jbe 0x4fc058
mov ebp, 0xff
movzx dx, byte [edi + 0x10]
movzx bx, byte [esi + 0x10]
add edx, ebx
cmp dx, 0xff
jbe 0x4fc070
mov edx, 0xff
push edx
push ebp
push eax
call fcn.004c4850
movzx ax, byte [edi + 0x12]
movzx dx, byte [esi + 0x12]
lea ecx, [esi + 0x12]
add eax, edx
cmp ax, 0xff
jbe 0x4fc092
mov eax, 0xff
movzx bp, byte [edi + 0x13]
movzx dx, byte [esi + 0x13]
add ebp, edx
cmp bp, 0xff
jbe 0x4fc0aa
mov ebp, 0xff
movzx dx, byte [edi + 0x14]
movzx bx, byte [esi + 0x14]
add edx, ebx
cmp dx, 0xff
jbe 0x4fc0c2
mov edx, 0xff
push edx
push ebp
push eax
call fcn.004c4850
movzx ax, byte [edi + 0x16]
movzx dx, byte [esi + 0x16]
lea ecx, [esi + 0x16]
add eax, edx
cmp ax, 0xff
jbe 0x4fc0e4
mov eax, 0xff
movzx bp, byte [edi + 0x17]
movzx dx, byte [esi + 0x17]
add ebp, edx
cmp bp, 0xff
jbe 0x4fc0fc
mov ebp, 0xff
movzx dx, byte [edi + 0x18]
movzx bx, byte [esi + 0x18]
add edx, ebx
cmp dx, 0xff
jbe 0x4fc114
mov edx, 0xff
push edx
push ebp
push eax
call fcn.004c4850
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ebp, 0x20
add esi, 0x20
add ebx, 0x20
add edi, 0x20
dec eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
jne 0x4fbed8
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
test ecx, ecx
jle 0x4fc1e7
mov edi, ebx
mov eax, ebx
sub edi, ebp
mov dword [esp + 0x10], eax
lea esi, [ebp + 1]
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], ecx
jmp 0x4fc176
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
movzx dx, byte [eax]
movzx cx, byte [esi - 1]
add edx, ecx
cmp dx, 0xff
jbe 0x4fc18d
mov edx, 0xff
movzx di, byte [edi + esi]
movzx cx, byte [esi]
add edi, ecx
cmp di, 0xff
jbe 0x4fc1a4
mov edi, 0xff
movzx ax, byte [eax + 2]
movzx cx, byte [esi + 1]
add eax, ecx
cmp ax, 0xff
jbe 0x4fc1bb
mov eax, 0xff
push eax
push edi
push edx
lea ecx, [esi - 1]
call fcn.004c4850
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add edx, 4
add esi, 4
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
jne 0x4fc16e
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
add ebp, edi
add ebx, esi
dec eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], eax
jne 0x4fbec6
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x90
ret
mov ecx, dword [esp + 0x8c]
mov esi, dword [esp + 0x80]
shl ecx, 2
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x1c]
imul ecx, dword [esp + 0x9c]
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x94]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x88]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x98]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x90]
test eax, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x18], esi
jle 0x4fc37e
lea esi, [ebp + 2]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
jmp 0x4fc290
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
add eax, edi
mov dword [esp + 0x18], eax
js 0x4fc2b4
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
add ebx, ebp
sub eax, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x44], ebx
test edx, edx
jle 0x4fc35b
mov eax, esi
mov esi, edx
jmp 0x4fc2ce
mov ebx, dword [esp + 0x10]
add ebp, dword [esp + 0x48]
js 0x4fc2e1
mov ecx, dword [esp + 0x34]
add ebx, 4
mov dword [esp + 0x10], ebx
sub ebp, ecx
mov ecx, dword [esp + 0x10]
movzx bx, byte [eax - 2]
movzx dx, byte [ecx]
add ebx, edx
cmp bx, 0xff
jbe 0x4fc2fc
mov ebx, 0xff
movzx dx, byte [ecx + 1]
movzx di, byte [eax - 1]
add edx, edi
cmp dx, 0xff
jbe 0x4fc314
mov edx, 0xff
movzx cx, byte [ecx + 2]
movzx di, byte [eax]
add ecx, edi
cmp cx, 0xff
jbe 0x4fc32b
mov ecx, 0xff
mov edi, dword [esp + 0x10]
mov byte [eax], cl
mov ecx, dword [esp + 0x38]
mov byte [eax - 2], bl
mov byte [eax - 1], dl
mov byte [eax + 1], 0xff
add edi, ecx
add eax, 4
dec esi
mov dword [esp + 0x10], edi
jne 0x4fc2ca
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x14]
add eax, ecx
add esi, edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
jne 0x4fc28c
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x90
ret