Function at 0x4ba5d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x54d000]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, ecx
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp + 0x14]
push ebx
push esi
mov edx, dword [eax + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov esi, dword [edx]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x38], edx
cmp esi, 0x20424b41
jne 0x4ba610
mov ecx, dword [eax + 4]
add ecx, 0x20
jmp 0x4ba61e
cmp esi, 0x2b424b41
jne 0x4ba621
mov ecx, dword [eax + 4]
add ecx, 0x40
mov dword [ebp - 0x3c], ecx
cmp esi, 0x20424b41
jne 0x4ba631
mov esi, dword [eax + 8]
sub esi, 0x20
jmp 0x4ba644
cmp esi, 0x2b424b41
jne 0x4ba641
mov esi, dword [eax + 8]
sub esi, 0x40
jmp 0x4ba644
mov esi, dword [ebp - 0x40]
mov ecx, dword [edx + 0x14]
xorps xmm0, xmm0
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x10], esi
movdqu xmmword [ebp - 0x28], xmm0
lea eax, [ecx + ebx]
mov dword [ebp - 0x30], eax
mov eax, dword [edx + 0x10]
mov edx, dword [ebp + 0xc]
add edx, eax
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x18]
sub edx, eax
add edx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x1c]
sub eax, ecx
mov ecx, dword [ebp - 0x3c]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
dec eax
test dword [edx + 8], 0x40000000
mov edx, dword [edi]
push eax
push dword [ebp - 0x34]
mov dword [ebp - 0x14], ecx
mov ecx, edi
je 0x4ba6f9
call dword [edx + 0x10]
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 0x1c]
add esi, eax
mov ecx, edi
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
lea esi, [eax*4]
mov eax, dword [edi]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call dword [eax + 0x14]
add eax, esi
sub esp, 0x10
neg eax
mov dword [ebp - 0x1c], eax
mov eax, esp
movdqu xmm0, xmmword [ebp - 0x28]
sub esp, 0xc
movdqu xmmword [eax], xmm0
mov eax, esp
movq xmm0, qword [ebp - 0x14]
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.004ba9c0
jmp 0x4ba756
call dword [edx + 0x10]
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 0x1c]
add esi, eax
mov ecx, edi
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
lea esi, [eax*4]
mov eax, dword [edi]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call dword [eax + 0x14]
add eax, esi
sub esp, 0x10
neg eax
mov dword [ebp - 0x1c], eax
mov eax, esp
movdqu xmm0, xmmword [ebp - 0x28]
sub esp, 0xc
movdqu xmmword [eax], xmm0
mov eax, esp
movq xmm0, qword [ebp - 0x14]
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.004bab60
mov eax, dword [ebp - 0x38]
add esp, 0x1c
mov ecx, dword [ebp - 0x30]
sub eax, ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
push eax
push dword [ebp - 0x2c]
push ecx
mov ecx, edi
call fcn.004ba8f0
mov esi, dword [ebp - 0x44]
add esp, 0xc
mov eax, dword [esi + 0xc]
test dword [eax + 8], 0x40000000
je 0x4ba7a0
movzx eax, byte [eax + 8]
mov ecx, edi
mov edx, dword [edi]
push eax
push dword [ebp - 0x38]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call dword [edx + 0xe0]
mov eax, dword [esi + 0xc]
add eax, 0x10
push eax
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esi + 0xc]
test dword [ecx + 8], 0x80000000
je 0x4ba8dd
mov eax, dword [ebp + 0x18]
mov esi, dword [ecx + 0xc]
cmp eax, 2
jne 0x4ba7d4
mov eax, esi
and eax, 0xffffff
jmp 0x4ba7e5
cmp eax, 1
jne 0x4ba7e5
test esi, 0xff000000
je 0x4ba8dd
movzx eax, word [ecx + 4]
mov dword [ebp - 0x2c], eax
movzx eax, word [ecx + 6]
mov dword [ebp - 0x30], eax
lea eax, [ecx + 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [sym.imp.USER32.dll_CopyRect]
call eax
mov ecx, dword [ebp - 0xc]
mov eax, ecx
mov edx, dword [ebp - 0x14]
sub eax, edx
test eax, eax
jle 0x4ba8c6
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
test eax, eax
jle 0x4ba8c6
test edx, edx
jle 0x4ba83e
mov eax, dword [edi]
mov ecx, edi
push 1
push esi
push edx
push dword [ebp - 0x2c]
push ebx
push dword [ebp + 0xc]
call dword [eax + 0xd8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x30]
cmp ecx, eax
jge 0x4ba862
mov edx, dword [edi]
sub eax, ecx
push 1
push esi
push eax
push dword [ebp - 0x2c]
lea eax, [ecx + ebx]
mov ecx, edi
push eax
push dword [ebp + 0xc]
call dword [edx + 0xd8]
mov ecx, dword [ebp - 0xc]
cmp dword [ebp - 0x18], 0
jle 0x4ba887
mov eax, dword [ebp - 0x14]
sub ecx, eax
mov edx, dword [edi]
add eax, ebx
push 1
push esi
push ecx
push dword [ebp - 0x18]
mov ecx, edi
push eax
push dword [ebp + 0xc]
call dword [edx + 0xd8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x10], eax
jge 0x4ba8dd
mov eax, dword [ebp - 0x14]
sub ecx, eax
mov edx, dword [edi]
add eax, ebx
push 1
push esi
mov esi, dword [ebp - 0x2c]
sub esi, dword [ebp - 0x10]
push ecx
push esi
push eax
mov eax, dword [ebp + 0xc]
mov ecx, edi
add eax, dword [ebp - 0x10]
push eax
call dword [edx + 0xd8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004d9d6a
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [edi]
mov ecx, edi
push 1
push esi
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push ebx
push dword [ebp + 0xc]
call dword [eax + 0xd8]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d9d6a
mov esp, ebp
pop ebp
ret 0x14