Function at 0x64507a30
Capabilities:
Contain obfuscated stackstrings
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x58
mov eax, dword [ecx]
mov esi, dword [ecx + 8]
mov edi, dword [ecx + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
test byte [0x64524028], 8
jne 0x64507c90
mov eax, dword [ebp - 0x1c]
test eax, eax
sete dl
test edi, edi
sete al
or dl, al
jne 0x64507cd3
test esi, esi
jle 0x64507cd3
cmp esi, 1
je 0x64507c20
imul edx, esi, 0x2c
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x28], eax
sub esp, 0xc
test eax, eax
je 0x64507c7b
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov dword [ebp - 0x2c], eax
lea esi, [esi]
nop
mov edx, dword [edi + ecx*4]
test edx, edx
je 0x64507b17
mov ebx, dword [edx]
mov dword [eax], ebx
mov ebx, dword [edx + 4]
mov dword [eax + 4], ebx
mov ebx, dword [edx + 8]
mov dword [eax + 8], ebx
mov ebx, dword [edx + 0xc]
mov dword [eax + 0xc], ebx
mov ebx, dword [edx + 0x10]
mov dword [eax + 0x10], ebx
mov ebx, dword [edx + 0x14]
mov dword [eax + 0x14], ebx
mov ebx, dword [edx + 0x18]
mov dword [eax + 0x18], ebx
mov ebx, dword [edx + 0x1c]
mov dword [eax + 0x1c], ebx
mov ebx, dword [edx + 0x20]
mov dword [eax + 0x20], ebx
mov ebx, dword [edx + 0x24]
mov dword [eax + 0x24], ebx
mov edx, dword [edx + 0x28]
mov dword [eax + 0x28], edx
add ecx, 1
add eax, 0x2c
cmp esi, ecx
jg 0x64507ad0
mov eax, dword [ebp - 0x24]
mov dword [0x64538004], esi
mov dword [0x6453800c], edi
mov ebx, dword [ebp - 0x2c]
mov dword [section..bss], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x10], 0
mov dword [0x64538008], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], 0x645055b0
mov dword [esp + 8], eax
mov eax, dword [0x64538014]
mov dword [esp + 4], 0x100
mov dword [esp], eax
call dword [sym.imp.user32.dll_DialogBoxParamW]
mov edx, eax
lea eax, [eax + 1]
sub esp, 0x14
cmp eax, 1
jbe 0x64507bc0
mov edi, dword [ebp - 0x28]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edi
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
xor edx, edx
lea esi, [esi]
mov eax, dword [edi + edx*4]
test eax, eax
je 0x64507c0f
mov ecx, dword [ebx]
mov dword [eax], ecx
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebx + 0x14]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebx + 0x18]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x1c]
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x20]
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x24]
mov dword [eax + 0x24], ecx
mov ecx, dword [ebx + 0x28]
mov dword [eax + 0x28], ecx
add edx, 1
add ebx, 0x2c
cmp esi, edx
jg 0x64507bc8
xor edx, edx
jmp 0x64507b7a
mov eax, dword [ebp - 0x24]
mov dword [0x6453800c], edi
mov dword [0x64538004], 1
mov dword [section..bss], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x10], 0
mov dword [0x64538008], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], 0x645055b0
mov dword [esp + 8], eax
mov eax, dword [0x64538014]
mov dword [esp + 4], 0x100
mov dword [esp], eax
call dword [sym.imp.user32.dll_DialogBoxParamW]
sub esp, 0x14
mov edx, eax
cmp eax, 0xffffffff
jne 0x64507ba7
lea esp, [ebp - 0x10]
xor edx, edx
pop ecx
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__p_0x_X__d__p__p__n
mov dword [esp + 8], str.AVISaveOptions
mov dword [esp + 4], 0x64524028
mov dword [esp], 3
call fcn.64503a10
jmp 0x64507a68
mov edx, 0x8004406a
jmp 0x64507ba7