Function at 0x691c8230
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov esi, dword [ebp + 8]
test esi, esi
je 0x691c84c8
mov eax, dword [esi]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
lea eax, [eax + eax*2]
mov dword [ebp - 0x3c], edi
lea eax, [eax*4 + 8]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x40], eax
call eax
mov edi, eax
mov eax, dword [esi]
sub esp, 0xc
lea ecx, [edi + 8]
mov dword [edi], eax
mov dword [edi + 4], ecx
test eax, eax
je 0x691c844a
mov dword [ebp + 8], esi
mov esi, edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2c], 0
jmp 0x691c8389
mov eax, dword [ebp - 0x3c]
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
mov edx, dword [ebp - 0x1c]
mov ebx, eax
mov eax, dword [ebp - 0x20]
sub esp, 0xc
mov dword [ebx + 4], edx
mov dword [ebx], eax
mov dword [ebx + 0xc], 0x691c6fa0
mov dword [ebx + 0x10], fcn.691c7770
mov dword [ebx + 0x14], 0x691c7000
mov dword [ebx + 0x18], 0x691c7070
mov dword [ebx + 0x1c], 0x691c70e0
mov dword [ebx + 0x20], 0x691c7150
mov dword [ebx + 0x24], 0x691c71c0
mov dword [ebx + 0x28], 0x691c7220
mov dword [ebx + 0x2c], 0x691c72a0
mov dword [ebx + 0x30], 0x691c7300
mov dword [ebx + 0x34], 0x691c7380
mov dword [ebx + 0x38], 0x691c73e0
mov dword [ebx + 0x3c], 0x691c7440
mov dword [ebx + 0x40], 0x691c6a10
mov dword [ebx + 8], 1
test byte [0x691e0038], 8
jne 0x691c8410
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x30]
add ebx, 0xc
mov ecx, dword [ebp - 0x34]
add dword [ebp - 0x2c], 1
mov dword [edx + eax*4], ebx
mov eax, dword [edi + 4]
mov edx, dword [eax + ecx + 4]
mov eax, dword [esi + 4]
mov dword [eax + ecx + 4], edx
mov eax, dword [edi + 4]
mov edx, dword [eax + ecx + 8]
mov eax, dword [esi + 4]
mov dword [eax + ecx + 8], edx
mov eax, dword [ebp - 0x2c]
cmp dword [esi], eax
jbe 0x691c8448
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
lea edx, [eax + eax*2]
lea eax, [edx*4]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 4]
mov edx, dword [eax + edx*4]
mov eax, dword [edx]
mov dword [ebp - 0x38], edx
mov dword [esp], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x691e3914
call dword [eax]
mov edx, dword [ebp - 0x38]
sub esp, 0xc
test eax, eax
js 0x691c8458
mov eax, dword [edx]
lea ebx, [ebp - 0x1c]
mov dword [esp + 4], 0x691e38f4
mov dword [esp + 8], ebx
mov dword [esp], edx
mov dword [ebp - 0x38], edx
call dword [eax]
sub esp, 0xc
test eax, eax
jns 0x691c82a8
test byte [0x691e0038], 8
mov edx, dword [ebp - 0x38]
jne 0x691c8498
mov dword [ebp - 0x1c], 0
jmp 0x691c82a8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.wrapped_IXAPO__p_with__p_n
mov dword [esp + 8], str.wrap_xapo
mov dword [esp + 4], 0x691e0038
mov dword [esp], 3
call fcn.691c4120
jmp 0x691c834f
mov edi, esi
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
xor ebx, ebx
test byte [0x691e0038], 4
je 0x691c834f
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.XAPO_doesnt_support_IXAPO___p_n
mov dword [esp + 8], str.wrap_xapo
mov dword [esp + 4], 0x691e0038
mov dword [esp], 2
call fcn.691c4120
jmp 0x691c834f
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.XAPO_doesnt_support_IXAPOParameters__p_n
mov dword [esp + 8], str.wrap_xapo
mov dword [esp + 4], 0x691e0038
mov dword [esp], 3
call fcn.691c4120
jmp 0x691c83fd
lea esp, [ebp - 0xc]
xor edi, edi
pop ebx
mov eax, edi
pop esi
pop edi
pop ebp
ret