Function at 0x65134cf0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65150c3e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6516c6d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
lea ecx, [esi + 0x24]
call fcn.6510148e
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], eax
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_void_]
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
mov dword [esi], 0x6515bc64
call edi
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 2
call fcn.6512dab0
lea ecx, [esi + 0xc8]
mov byte [ebp - 4], 3
call edi
lea ecx, [esi + 0xcc]
mov byte [ebp - 4], 4
call fcn.6512dab0
lea ecx, [esi + 0x128]
mov byte [ebp - 4], 5
call edi
lea ecx, [esi + 0x12c]
mov byte [ebp - 4], 6
call fcn.6512dab0
lea ecx, [esi + 0x188]
mov byte [ebp - 4], 7
call edi
lea ecx, [esi + 0x18c]
mov byte [ebp - 4], 8
call fcn.6512dab0
lea ecx, [esi + 0x1e8]
mov byte [ebp - 4], 9
call edi
lea ecx, [esi + 0x1ec]
mov byte [ebp - 4], 0xa
call fcn.6512dab0
lea ecx, [esi + 0x248]
mov byte [ebp - 4], 0xb
call edi
lea ecx, [esi + 0x24c]
mov byte [ebp - 4], 0xc
call edi
lea ecx, [esi + 0x250]
mov byte [ebp - 4], 0xd
call edi
lea ecx, [esi + 0x254]
mov byte [ebp - 4], 0xe
call edi
mov dword [esi + 0x268], ebx
mov dword [esi + 0x26c], ebx
mov dword [esi + 0x270], ebx
lea ecx, [esi + 0x278]
mov byte [ebp - 4], 0x10
call edi
lea ecx, [esi + 0x27c]
mov byte [ebp - 4], 0x11
call edi
lea ecx, [esi + 0x280]
mov byte [ebp - 4], 0x12
call edi
lea ecx, [esi + 0x284]
mov byte [ebp - 4], 0x13
call edi
lea ecx, [esi + 0x2a8]
mov byte [ebp - 4], 0x14
call edi
lea ecx, [esi + 0x2ac]
mov byte [ebp - 4], 0x15
call edi
lea ecx, [esi + 0x2b0]
mov byte [ebp - 4], 0x16
call edi
lea ecx, [esi + 0x2b4]
mov byte [ebp - 4], 0x17
call edi
lea ecx, [esi + 0x2b8]
mov byte [ebp - 4], 0x18
call edi
lea ecx, [esi + 0x2bc]
mov byte [ebp - 4], 0x19
call edi
mov dword [esi + 0x2d0], ebx
mov dword [esi + 0x2d4], ebx
mov dword [esi + 0x2d8], ebx
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x2e0], ebx
mov dword [esi + 0x2e4], ebx
mov dword [esi + 0x2e8], ebx
mov dword [esi + 0x2ec], ebx
mov dword [esi + 0x2f0], ebx
mov dword [esi + 0x2f4], ebx
mov dword [esi + 0x2f8], ebx
mov dword [esi + 0x2fc], ebx
mov dword [esi + 0x314], ebx
mov dword [esi + 0x31c], ebx
push 7
push 7
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x28c], eax
mov dword [esi + 0x290], ecx
push 7
xor edx, edx
push 7
lea ecx, [esi + 0x38]
mov dword [esi + 0x294], edx
push ecx
mov byte [ebp - 4], 0x1a
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x2c4], ebx
mov dword [esi + 0x2c8], ebx
mov dword [esi + 0x2cc], ebx
mov dword [esi + 0x258], ebx
mov dword [esi + 0x25c], ebx
mov dword [esi + 0x29c], 1
mov dword [esi + 0x288], 0x2f2f2f
mov dword [esi + 0x298], ebx
mov dword [esi + 0x2a0], ebx
mov dword [esi + 0x2a4], ebx
call dword [sym.imp.USER32.dll_SetRect]
mov edi, dword [reloc.Common.dll___4CTXStringW__QAEAAV0_PB_W_Z]
push 0x65154128
lea ecx, [esi + 0x2a8]
call edi
push 0x65154128
lea ecx, [esi + 0x2ac]
call edi
push 0x65154128
lea ecx, [esi + 0x2b0]
call edi
push 0x65154128
lea ecx, [esi + 0x2b4]
call edi
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x10]
push eax
mov dword [esi + 0x2c0], ebx
mov dword [esi + 0x300], ebx
mov dword [esi + 0x304], ebx
mov dword [esi + 0x308], 1
mov dword [esi + 0x48], ebx
mov dword [esi + 0x30c], ebx
mov dword [esi + 0x260], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x310], ebx
mov byte [esi + 0x320], 1
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
je 0x6513502e
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp eax, ebx
je 0x6513502e
test al, 1
je 0x6513500a
add ecx, 1
shr eax, 1
jne 0x65135003
cmp ecx, 1
jle 0x6513502e
mov byte [esi + 0x320], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x320], bl
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret