Function at 0x4b9090
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 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 ebx
push edi
call fcn.00547180
add esp, 0x20
test eax, eax
je 0x4b90e6
pop edi
mov eax, 1
pop ebx
add esp, 0x90
ret
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
mov ecx, dword [edi + 8]
push ebp
mov ebp, dword [esp + 0x60]
push esi
mov esi, dword [esp + 0x54]
sub eax, edx
mov edx, dword [ebx + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
imul esi, edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x50]
sub eax, ebp
imul ebp, dword [esp + 0x1c]
lea esi, [esi + ecx*4]
mov dword [esp + 0x2c], edx
add esi, dword [ebx + 4]
mov ebx, dword [esp + 0x60]
lea ebp, [ebp + ebx*4]
mov ebx, dword [edi + 4]
add ebp, ebx
mov bl, byte [esp + 0x4c]
test bl, bl
mov dword [esp + 0x14], ebp
je 0x4b9355
mov edi, dword [esp + 0x18]
sub ecx, dword [esp + 0x58]
mov ebx, edi
and ebx, 7
add ecx, ebx
mov dword [esp + 0x24], ebx
sar edi, 3
lea edx, [edx + ecx*4]
mov ecx, ebx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x18]
sub ecx, edx
mov edx, dword [esp + 0x1c]
test eax, eax
lea ecx, [edx + ecx*4]
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], ecx
jle 0x4b9458
mov dword [esp + 0x18], eax
mov dl, 0xff
test edi, edi
jle 0x4b92d9
lea eax, [ebp + 5]
lea ecx, [esi + 6]
mov bl, byte [esi]
mov ebp, dword [esp + 0x14]
mov byte [esp + 0x12], bl
mov bl, byte [ecx - 5]
mov byte [esp + 0x13], bl
mov bl, byte [ecx - 4]
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 - 2]
mov byte [esp + 0x13], bl
mov bl, byte [ecx - 1]
mov byte [esp + 0x12], bl
mov bl, byte [ecx]
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 + 2]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 3]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 4]
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 + 6]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 7]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 8]
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 + 0xb]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 0xc]
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 + 0xe]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0xf]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 0x10]
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 + 0x12]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0x13]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 0x14]
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 + 0x16]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0x17]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 0x18]
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, 0x20
add ecx, 0x20
dec edi
mov dword [esp + 0x14], ebp
jne 0x4b9191
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
test ebx, ebx
jle 0x4b9329
mov ecx, ebp
lea edi, [ebp + 3]
lea eax, [esi + 2]
sub ecx, esi
mov dword [esp + 0x1c], ebx
mov bl, byte [eax - 2]
add eax, 4
mov byte [esp + 0x13], bl
mov bl, byte [eax - 5]
mov byte [esp + 0x12], bl
mov bl, byte [eax - 4]
mov byte [ecx + eax - 4], bl
mov bl, byte [esp + 0x12]
mov byte [edi - 2], bl
mov bl, byte [esp + 0x13]
mov byte [edi - 3], bl
mov ebx, dword [esp + 0x1c]
mov byte [edi], dl
add edi, 4
dec ebx
mov dword [esp + 0x1c], ebx
jne 0x4b92eb
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
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 0x4b9183
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0x90
ret
mov ecx, dword [esp + 0x8c]
shl ecx, 2
mov dword [esp + 0x34], ecx
mov ecx, edx
mov edx, dword [esp + 0x80]
imul ecx, 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]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x90]
test eax, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x14], edx
jle 0x4b9458
lea ebx, [ebp + 1]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dl, 0xff
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
add eax, edi
mov dword [esp + 0x14], eax
js 0x4b93e8
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x40]
add esi, ebp
sub eax, edi
mov dword [esp + 0x14], eax
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x38]
test ebp, ebp
mov dword [esp + 0x44], esi
jle 0x4b9438
mov eax, ebx
add edi, dword [esp + 0x48]
js 0x4b9409
mov ecx, dword [esp + 0x30]
add esi, 4
sub edi, ecx
mov bl, byte [esi + 1]
mov cl, byte [esi]
mov byte [esp + 0x12], bl
mov bl, byte [esi + 2]
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 0x4b93fa
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x1c]
add ebx, edi
lea esi, [eax + ecx]
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
jne 0x4b93c8
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0x90
ret