Function at 0x4b89f0
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 0x4b8a46
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 0x4b8c39
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 0x4b8d31
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x24]
test edx, edx
jle 0x4b8bda
lea eax, [edi + 4]
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 [eax - 2], bl
mov bl, byte [esp + 0x13]
mov byte [eax - 3], bl
mov byte [edi], dl
mov bl, byte [ecx - 1]
mov dl, byte [ecx - 2]
mov byte [esp + 0x13], bl
mov bl, byte [ecx]
mov byte [eax + 1], bl
mov bl, byte [esp + 0x13]
mov byte [eax], bl
mov byte [eax - 1], dl
mov bl, byte [ecx + 3]
mov dl, byte [ecx + 2]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 4]
mov byte [eax + 4], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 3], bl
mov byte [eax + 2], dl
mov bl, byte [ecx + 7]
mov dl, byte [ecx + 6]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 8]
mov byte [eax + 7], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 6], bl
mov byte [eax + 5], dl
mov bl, byte [ecx + 0xb]
mov dl, byte [ecx + 0xa]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0xc]
mov byte [eax + 0xa], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 9], bl
mov byte [eax + 8], dl
mov bl, byte [ecx + 0xf]
mov dl, byte [ecx + 0xe]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0x10]
mov byte [eax + 0xd], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0xc], bl
mov byte [eax + 0xb], dl
mov bl, byte [ecx + 0x13]
mov dl, byte [ecx + 0x12]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0x14]
mov byte [eax + 0x10], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0xf], bl
mov byte [eax + 0xe], dl
mov bl, byte [ecx + 0x17]
mov dl, byte [ecx + 0x16]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0x18]
mov byte [eax + 0x13], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0x12], bl
mov byte [eax + 0x11], dl
add edi, 0x18
add eax, 0x18
add esi, 0x20
add ecx, 0x20
dec ebp
jne 0x4b8af7
mov ebp, dword [esp + 0x20]
test ebp, ebp
jle 0x4b8c11
lea ecx, [edi + 1]
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 + 1], bl
mov bl, byte [esp + 0x13]
mov byte [ecx - 1], dl
mov edx, dword [esp + 0x14]
mov byte [ecx], bl
add eax, 4
add ecx, 3
dec edx
mov dword [esp + 0x14], edx
jne 0x4b8be8
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 0x4b8ae3
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 0x4b8d31
inc edi
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 0x4b8cca
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 0x4b8d11
mov eax, edi
mov edi, edx
add ebp, dword [esp + 0x38]
js 0x4b8ce9
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 + 1], bl
mov ebx, dword [esp + 0x30]
mov byte [eax], cl
mov byte [eax - 1], dl
add esi, ebx
add eax, 3
dec edi
jne 0x4b8cda
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 0x4b8caa
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x90
ret