Function at 0x4a86b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
mov eax, 0x28150
call fcn.007082a0
mov esi, esp
mov dword [esi + 0x28138], ebp
mov dword [esi + 0x2813c], esp
mov dword [esi + 0x28148], 0xffffffff
mov dword [esi + 0x28144], 0x703880
mov edi, ecx
lea eax, [esi + 0x28140]
lea ebx, [esi + 0x30]
mov ecx, dword fs:[0]
mov dword [esi + 0x28140], ecx
mov dword fs:[0], eax
mov eax, dword [edx]
movq xmm0, qword [edx + 4]
mov dword [esi + 0x14], eax
movdqa xmmword [esi + 0x20], xmm0
push 0x14ccc
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
movzx eax, byte [0x919aa5]
mov eax, dword [0x919820]
test eax, eax
jne 0x4a8745
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x4a8a15
mov dword [0x919820], eax
push 0x14ccc
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x4a8a15
push 0x14ccc
push ebx
mov dword [esi + 0x10], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx eax, byte [0x919aa5]
mov eax, dword [0x919820]
test eax, eax
jne 0x4a8790
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x4a8a34
mov dword [0x919820], eax
push 0x10e0
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x4a8a34
push 0x10e0
push 0
mov dword [esi + 0x18], eax
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x28102
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
movzx eax, byte [0x919aa5]
mov eax, dword [0x919820]
test eax, eax
jne 0x4a87ec
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x4a8a4f
mov dword [0x919820], eax
push 0x28102
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x4a8a4f
mov ebx, eax
mov dword [esi + 0x1c], edi
push 0x28102
lea eax, [esi + 0x30]
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esi + 0x78]
push 0x10010
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
movdqa xmm0, xmmword [0x725f00]
mov eax, dword [esi + 0x10]
movsd xmm1, qword [0x725f10]
movdqu xmmword [esi + 0x10088], xmm0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x38], 0x1010
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], ebx
movsd qword [esi + 0x70], xmm1
movzx eax, byte [0x919aa5]
mov eax, dword [0x919820]
test eax, eax
jne 0x4a88d6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x4a8a6a
mov dword [0x919820], eax
push 0x10068
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x4a8a6a
mov ebx, dword [ebp + 8]
mov edi, eax
push 0x10068
lea eax, [esi + 0x30]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp ebx, 0x100
mov edx, 1
cmovb edx, ebx
mov ebx, 0xa
movzx eax, dl
cmp eax, 0xa
cmovl ebx, eax
xor ecx, ecx
cmp dl, 4
mov eax, dword [ebx*4 + 0x8b9474]
setb cl
xor ebx, ebx
shl ecx, 0xe
or ecx, eax
test dl, dl
sete bl
and eax, 0xfff
imul edx, eax, 0x5556
shr eax, 2
shl ebx, 0x13
add edx, 0xaaac
imul eax, eax, 0x5556
or ebx, ecx
shr ecx, 0xe
shr edx, 0x10
add eax, 0xaaac
or ebx, 0x1000
and cl, 1
shr eax, 0x10
inc edx
mov dword [edi + 8], ebx
mov byte [edi + 0x34], cl
movd xmm0, edx
inc eax
pinsrw xmm0, eax, 2
movq qword [edi + 0x40], xmm0
pxor xmm0, xmm0
movdqa xmmword [esi + 0x30], xmm0
movzx eax, byte [0x919aa5]
mov eax, dword [0x919820]
test eax, eax
jne 0x4a89b2
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x4a8a85
mov dword [0x919820], eax
push 0x8000
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x4a8a85
movsd xmm0, qword [esi + 0x30]
mov edx, dword [esi + 0x1c]
movsd xmm1, qword [esi + 0x38]
mov ecx, dword [esi + 0x14]
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm0
mov dword [edx + 0x10], edi
mov dword [edx + 0x18], ecx
movaps xmm1, xmmword [esi + 0x20]
mov ecx, dword [esi + 0x28140]
movlps qword [edx + 0x1c], xmm1
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], 0x8000
mov dword [edx + 0x2c], 0
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 1
mov edx, 0x14ccc
mov byte [esi + 0xf], 1
mov dword [esi + 0x28148], 0
call fcn.00709d20
jmp 0x4a8aa1
mov ecx, 2
mov edx, 0x10e0
mov dword [esi + 0x28148], 3
call fcn.00709d20
jmp 0x4a8aa1
mov ecx, 2
mov edx, 0x28102
mov dword [esi + 0x28148], 4
call fcn.00709d20
jmp 0x4a8aa1
mov ecx, 4
mov edx, 0x10068
mov dword [esi + 0x28148], 2
call fcn.00709d20
jmp 0x4a8aa1
mov ecx, 1
mov edx, 0x8000
mov dword [esi + 0x10], edi
mov dword [esi + 0x28148], 1
call fcn.00709d20
ud2