Function at 0x4b7e70
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 0x4b7ec6
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 + 0x64]
imul esi, ebx
push edi
mov edi, dword [esp + 0x64]
sub ebp, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
sub ecx, edi
imul edi, dword [esp + 0x14]
lea edx, [eax + eax*2]
mov dword [esp + 0x18], ebp
add esi, edx
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x20], ebx
add esi, dword [edx + 4]
mov edx, dword [esp + 0x60]
lea edi, [edi + edx*4]
mov edx, dword [esp + 0xb0]
add edi, dword [edx + 4]
xor edx, edx
cmp byte [esp + 0x4c], dl
je 0x4b8124
mov ebx, ebp
sar ebp, 3
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x58]
and ebx, 7
sub eax, ebp
mov ebp, dword [esp + 0x20]
add eax, ebx
mov dword [esp + 0x1c], ebx
lea ebp, [ebp + eax*2]
add eax, ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov eax, ebx
sub eax, ebp
mov ebp, dword [esp + 0x14]
cmp ecx, edx
lea eax, [ebp + eax*4]
mov dword [esp + 0x18], eax
jle 0x4b822d
mov dword [esp + 0x20], ecx
mov ebp, dword [esp + 0x24]
cmp ebp, edx
jle 0x4b80bd
lea eax, [edi + 6]
lea ecx, [esi + 4]
mov bl, byte [ecx - 2]
mov byte [esp + 0x12], bl
mov bl, byte [ecx - 3]
mov byte [esp + 0x13], bl
mov bl, byte [esi]
mov byte [edi], bl
mov bl, byte [esp + 0x13]
mov byte [eax - 5], bl
mov bl, byte [esp + 0x12]
mov byte [eax - 4], bl
mov byte [eax - 3], 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 - 2], bl
mov bl, byte [esp + 0x12]
mov byte [eax - 1], bl
mov bl, byte [esp + 0x13]
mov byte [eax], bl
mov byte [eax + 1], 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 + 2], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 3], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 4], bl
mov byte [eax + 5], 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 + 6], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 7], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 8], bl
mov byte [eax + 9], 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 + 0xa], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 0xb], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0xc], bl
mov byte [eax + 0xd], 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 + 0xe], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 0xf], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0x10], bl
mov byte [eax + 0x11], 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 + 0x12], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 0x13], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0x14], bl
mov byte [eax + 0x15], 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], dl
mov byte [eax + 0x16], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 0x17], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0x18], bl
add edi, 0x20
add eax, 0x20
add esi, 0x18
add ecx, 0x18
dec ebp
jne 0x4b7f82
mov ebx, dword [esp + 0x1c]
cmp ebx, edx
jle 0x4b80fc
lea eax, [edi + 2]
lea ebp, [esi + 1]
mov dword [esp + 0x14], ebx
mov bl, byte [ebp]
mov cl, byte [ebp + 1]
mov byte [esp + 0x12], bl
mov bl, byte [ebp - 1]
mov byte [eax - 2], bl
mov bl, byte [esp + 0x12]
mov byte [eax], cl
mov ecx, dword [esp + 0x14]
mov byte [eax - 1], bl
mov byte [eax + 1], dl
add ebp, 3
add eax, 4
dec ecx
mov dword [esp + 0x14], ecx
jne 0x4b80cb
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
add edi, ebp
add esi, ecx
dec eax
mov dword [esp + 0x20], eax
jne 0x4b7f70
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 0x4b822d
add edi, 2
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edi
jmp 0x4b8197
mov ebx, dword [esp + 0x1c]
add ebx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ebx
js 0x4b81b1
mov ecx, dword [esp + 0x20]
add esi, ecx
mov ecx, dword [esp + 0x40]
sub ebx, ecx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x38]
cmp ebp, edx
mov dword [esp + 0x44], esi
jle 0x4b820d
mov eax, edi
mov edi, ebp
jmp 0x4b81c7
mov ecx, dword [esp + 0x28]
add ecx, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
js 0x4b81de
mov ebx, dword [esp + 0x30]
add esi, 3
sub ecx, ebx
mov dword [esp + 0x28], ecx
mov bl, byte [esi + 1]
mov cl, byte [esi + 2]
mov byte [esp + 0x12], bl
mov bl, byte [esi]
mov byte [eax - 2], bl
mov bl, byte [esp + 0x12]
mov byte [eax], cl
mov ecx, dword [esp + 0x34]
mov byte [eax - 1], bl
mov byte [eax + 1], dl
add esi, ecx
add eax, 4
dec edi
jne 0x4b81c3
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x14]
add edi, ebx
lea esi, [ecx + eax]
mov ecx, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], ecx
jne 0x4b8193
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x90
ret