Function at 0x4b8d40
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 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 ebp
push esi
call fcn.00547180
add esp, 0x20
test eax, eax
je 0x4b8d96
pop esi
mov eax, 1
pop ebp
add esp, 0x90
ret
mov esi, dword [esi + 8]
mov ecx, dword [esp + 0x64]
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x60]
sub ecx, edi
imul edi, dword [esp + 0x14]
imul esi, eax
sub edx, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
lea ebx, [ebx + ebx*2]
add edi, ebx
mov ebx, dword [esp + 0xb0]
lea esi, [esi + eax*4]
mov dword [esp + 0x34], edx
add esi, dword [ebp + 4]
mov ebp, dword [ebx + 4]
mov bl, byte [esp + 0x4c]
add edi, ebp
test bl, bl
je 0x4b8f89
mov ebx, edx
mov ebp, edx
sar ebx, 3
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x58]
and ebp, 7
sub eax, ebx
mov ebx, dword [esp + 0x1c]
add eax, ebp
mov dword [esp + 0x20], ebp
lea eax, [ebx + eax*4]
mov dword [esp + 0x28], eax
mov eax, ebp
sub eax, edx
mov edx, dword [esp + 0x14]
lea edx, [edx + eax*2]
add eax, edx
test ecx, ecx
mov dword [esp + 0x1c], eax
jle 0x4b9083
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x24]
test edx, edx
jle 0x4b8f2a
lea eax, [edi + 5]
lea ecx, [esi + 6]
mov ebp, edx
mov bl, byte [ecx - 5]
mov dl, byte [esi]
mov byte [esp + 0x13], bl
mov bl, byte [ecx - 4]
mov byte [edi], bl
mov bl, byte [esp + 0x13]
mov byte [eax - 4], bl
mov byte [eax - 3], dl
mov bl, byte [ecx - 1]
mov dl, byte [ecx - 2]
mov byte [esp + 0x13], bl
mov bl, byte [ecx]
mov byte [eax - 2], bl
mov bl, byte [esp + 0x13]
mov byte [eax - 1], bl
mov byte [eax], dl
mov bl, byte [ecx + 3]
mov dl, byte [ecx + 2]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 4]
mov byte [eax + 1], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 2], bl
mov byte [eax + 3], dl
mov bl, byte [ecx + 7]
mov dl, byte [ecx + 6]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 8]
mov byte [eax + 4], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 5], bl
mov byte [eax + 6], dl
mov bl, byte [ecx + 0xb]
mov dl, byte [ecx + 0xa]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0xc]
mov byte [eax + 7], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 8], bl
mov byte [eax + 9], dl
mov bl, byte [ecx + 0xf]
mov dl, byte [ecx + 0xe]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0x10]
mov byte [eax + 0xa], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0xb], bl
mov byte [eax + 0xc], dl
mov bl, byte [ecx + 0x13]
mov dl, byte [ecx + 0x12]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0x14]
mov byte [eax + 0xd], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0xe], bl
mov byte [eax + 0xf], dl
mov bl, byte [ecx + 0x17]
mov dl, byte [ecx + 0x16]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0x18]
mov byte [eax + 0x10], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0x11], bl
mov byte [eax + 0x12], dl
add edi, 0x18
add eax, 0x18
add esi, 0x20
add ecx, 0x20
dec ebp
jne 0x4b8e47
mov ebp, dword [esp + 0x20]
test ebp, ebp
jle 0x4b8f61
lea ecx, [edi + 2]
lea eax, [esi + 2]
mov dword [esp + 0x14], ebp
mov bl, byte [eax - 1]
mov dl, byte [eax - 2]
mov byte [esp + 0x13], bl
mov bl, byte [eax]
mov byte [ecx - 2], bl
mov bl, byte [esp + 0x13]
mov byte [ecx], dl
mov edx, dword [esp + 0x14]
mov byte [ecx - 1], bl
add eax, 4
add ecx, 3
dec edx
mov dword [esp + 0x14], edx
jne 0x4b8f38
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
add edi, edx
add esi, ecx
dec eax
mov dword [esp + 0x18], eax
jne 0x4b8e33
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x90
ret
mov eax, dword [esp + 0x8c]
mov ebx, dword [esp + 0x1c]
shl eax, 2
imul ebx, dword [esp + 0x9c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x90]
test ecx, ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x18], eax
jle 0x4b9083
add edi, 2
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
add eax, ecx
mov dword [esp + 0x18], eax
js 0x4b901c
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
add esi, ebp
sub eax, ecx
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x44], esi
test edx, edx
jle 0x4b9063
mov eax, edi
mov edi, edx
add ebp, dword [esp + 0x38]
js 0x4b903b
mov ecx, dword [esp + 0x48]
add esi, 4
sub ebp, ecx
mov bl, byte [esi + 2]
mov dl, byte [esi]
mov cl, byte [esi + 1]
mov byte [eax - 2], bl
mov ebx, dword [esp + 0x30]
mov byte [eax - 1], cl
mov byte [eax], dl
add esi, ebx
add eax, 3
dec edi
jne 0x4b902c
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
lea esi, [ecx + ebx]
mov ecx, dword [esp + 0x14]
add edi, ecx
dec eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
jne 0x4b8ffc
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x90
ret