Function at 0x4b8240
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 + 0xa4]
push esi
mov esi, dword [esp + 0xa0]
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 esi
push ebx
call fcn.00547180
add esp, 0x20
test eax, eax
je 0x4b8296
pop esi
mov eax, 1
pop ebx
add esp, 0x90
ret
mov edx, dword [esi + 8]
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x58]
mov eax, dword [ebx + 8]
push ebp
mov ebp, dword [esp + 0x60]
push edi
mov edi, dword [esp + 0x68]
imul esi, edx
sub edi, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
sub ecx, ebp
imul ebp, dword [esp + 0x1c]
lea ebx, [eax + eax*2]
mov dword [esp + 0x18], edi
add esi, ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x2c], edx
add esi, dword [ebx + 4]
mov ebx, dword [esp + 0x60]
lea ebp, [ebp + ebx*4]
mov ebx, dword [esp + 0xb0]
add ebp, dword [ebx + 4]
mov bl, byte [esp + 0x4c]
test bl, bl
mov dword [esp + 0x14], ebp
je 0x4b8503
sub eax, dword [esp + 0x58]
mov ebx, edi
and ebx, 7
add eax, ebx
mov dword [esp + 0x24], ebx
sar edi, 3
lea edx, [edx + eax*2]
mov dword [esp + 0x20], edi
add eax, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov eax, ebx
sub eax, edx
mov edx, dword [esp + 0x1c]
test ecx, ecx
lea eax, [edx + eax*4]
mov dword [esp + 0x2c], eax
jle 0x4b860c
mov dword [esp + 0x18], ecx
mov dl, 0xff
test edi, edi
jle 0x4b8495
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 0x4b834d
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
test ebx, ebx
jle 0x4b84d7
lea eax, [ebp + 1]
lea edi, [esi + 1]
mov dword [esp + 0x1c], 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 + 0x1c]
mov byte [eax], bl
mov byte [eax + 2], dl
add edi, 3
add eax, 4
dec ecx
mov dword [esp + 0x1c], ecx
jne 0x4b84a3
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
add ebp, eax
mov eax, dword [esp + 0x18]
add esi, ecx
dec eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
jne 0x4b833f
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x90
ret
mov eax, dword [esp + 0x8c]
mov ebx, dword [esp + 0x90]
lea eax, [eax + eax*2]
mov dword [esp + 0x34], eax
mov eax, edx
mov edx, dword [esp + 0x80]
imul eax, dword [esp + 0x9c]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x98]
test ecx, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
jle 0x4b860c
inc ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], ebp
mov dl, 0xff
jmp 0x4b8576
mov ebx, dword [esp + 0x18]
add ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
js 0x4b8590
mov ecx, dword [esp + 0x2c]
add esi, ecx
mov ecx, dword [esp + 0x40]
sub ebx, ecx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x44], esi
test edi, edi
jle 0x4b85ec
mov eax, ebp
mov ebp, edi
jmp 0x4b85a6
mov ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x48]
mov dword [esp + 0x20], ecx
js 0x4b85bd
mov ebx, dword [esp + 0x30]
add esi, 3
sub ecx, ebx
mov dword [esp + 0x20], 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 0x4b85a2
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x1c]
add ebp, ebx
lea esi, [ecx + eax]
mov ecx, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x14], ecx
jne 0x4b8572
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x90
ret