Function at 0x4b7a90
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub esp, 0x90
push ebx
mov ebx, dword [esp + 0x9c]
push esi
mov esi, 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 ebx
push esi
call fcn.00547180
add esp, 0x20
test eax, eax
je 0x4b7ae6
pop esi
mov eax, 1
pop ebx
add esp, 0x90
ret
mov eax, dword [esi + 8]
mov ebx, dword [ebx + 8]
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x58]
push ebp
mov ebp, dword [esp + 0x60]
push edi
mov edi, dword [esp + 0x68]
imul esi, ebx
sub edi, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
sub ecx, ebp
imul ebp, dword [esp + 0x18]
lea edx, [eax + eax*2]
mov dword [esp + 0x1c], edi
add esi, edx
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x20], ebx
add esi, dword [edx + 4]
mov edx, dword [esp + 0x60]
lea ebp, [ebp + edx*4]
mov edx, dword [esp + 0xb0]
add ebp, dword [edx + 4]
xor edx, edx
cmp byte [esp + 0x4c], dl
mov dword [esp + 0x14], ebp
je 0x4b7d53
mov ebx, edi
sar edi, 3
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x58]
and ebx, 7
sub eax, edi
mov edi, dword [esp + 0x20]
add eax, ebx
mov dword [esp + 0x24], ebx
lea edi, [edi + eax*2]
add eax, edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, ebx
sub eax, edi
mov edi, dword [esp + 0x18]
cmp ecx, edx
lea eax, [edi + eax*4]
mov dword [esp + 0x1c], eax
jle 0x4b7e5a
mov dword [esp + 0x20], ecx
mov edi, dword [esp + 0x28]
cmp edi, edx
jle 0x4b7ce9
lea eax, [ebp + 5]
lea ecx, [esi + 4]
mov bl, byte [ecx - 2]
mov ebp, dword [esp + 0x14]
mov byte [esp + 0x12], bl
mov bl, byte [ecx - 3]
mov byte [esp + 0x13], bl
mov bl, byte [esi]
mov byte [eax - 3], bl
mov bl, byte [esp + 0x13]
mov byte [eax - 4], bl
mov bl, byte [esp + 0x12]
mov byte [ebp], bl
mov byte [eax - 2], dl
mov bl, byte [ecx + 1]
mov byte [esp + 0x13], bl
mov bl, byte [ecx]
mov byte [esp + 0x12], bl
mov bl, byte [ecx - 1]
mov byte [eax + 1], bl
mov bl, byte [esp + 0x12]
mov byte [eax], bl
mov bl, byte [esp + 0x13]
mov byte [eax - 1], bl
mov byte [eax + 2], dl
mov bl, byte [ecx + 4]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 3]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 2]
mov byte [eax + 5], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 4], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 3], bl
mov byte [eax + 6], dl
mov bl, byte [ecx + 7]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 6]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 5]
mov byte [eax + 9], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 8], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 7], bl
mov byte [eax + 0xa], dl
mov bl, byte [ecx + 0xa]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 9]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 8]
mov byte [eax + 0xd], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 0xc], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0xb], bl
mov byte [eax + 0xe], dl
mov bl, byte [ecx + 0xd]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0xc]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 0xb]
mov byte [eax + 0x11], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 0x10], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0xf], bl
mov byte [eax + 0x12], dl
mov bl, byte [ecx + 0x10]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0xf]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 0xe]
mov byte [eax + 0x15], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 0x14], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0x13], bl
mov byte [eax + 0x16], dl
mov bl, byte [ecx + 0x13]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0x12]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 0x11]
mov byte [eax + 0x19], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 0x18], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0x17], bl
mov byte [eax + 0x1a], dl
add ebp, 0x20
add eax, 0x20
add esi, 0x18
add ecx, 0x18
dec edi
mov dword [esp + 0x14], ebp
jne 0x4b7ba5
mov ebx, dword [esp + 0x24]
cmp ebx, edx
jle 0x4b7d27
lea eax, [ebp + 1]
lea edi, [esi + 1]
mov dword [esp + 0x18], ebx
mov bl, byte [edi]
mov cl, byte [edi + 1]
mov byte [esp + 0x12], bl
mov bl, byte [edi - 1]
mov byte [eax + 1], bl
mov bl, byte [esp + 0x12]
mov byte [eax - 1], cl
mov ecx, dword [esp + 0x18]
mov byte [eax], bl
mov byte [eax + 2], dl
add edi, 3
add eax, 4
dec ecx
mov dword [esp + 0x18], ecx
jne 0x4b7cf7
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
add ebp, edi
add esi, ecx
dec eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], eax
jne 0x4b7b93
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x90
ret
mov eax, dword [esp + 0x8c]
lea eax, [eax + eax*2]
mov dword [esp + 0x34], eax
mov eax, ebx
mov ebx, dword [esp + 0x80]
imul eax, dword [esp + 0x9c]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x90]
cmp ecx, edx
mov dword [esp + 0x3c], eax
jle 0x4b7e5a
inc ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], ebp
jmp 0x4b7dc4
mov ebx, dword [esp + 0x24]
add ebx, dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
js 0x4b7dde
mov ecx, dword [esp + 0x20]
add esi, ecx
mov ecx, dword [esp + 0x40]
sub ebx, ecx
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x38]
cmp edi, edx
mov dword [esp + 0x44], esi
jle 0x4b7e3a
mov eax, ebp
mov ebp, edi
jmp 0x4b7df4
mov ecx, dword [esp + 0x14]
add ecx, dword [esp + 0x48]
mov dword [esp + 0x14], ecx
js 0x4b7e0b
mov ebx, dword [esp + 0x30]
add esi, 3
sub ecx, ebx
mov dword [esp + 0x14], ecx
mov bl, byte [esi + 1]
mov cl, byte [esi + 2]
mov byte [esp + 0x12], bl
mov bl, byte [esi]
mov byte [eax + 1], bl
mov bl, byte [esp + 0x12]
mov byte [eax - 1], cl
mov ecx, dword [esp + 0x34]
mov byte [eax], bl
mov byte [eax + 2], dl
add esi, ecx
add eax, 4
dec ebp
jne 0x4b7df0
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x18]
add ebp, ebx
lea esi, [ecx + eax]
mov ecx, dword [esp + 0x1c]
dec ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], ecx
jne 0x4b7dc0
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x90
ret