Function at 0x100035a0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100368bd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
test byte [eax + 0x178], 0x10
mov edi, dword [eax + 0x30]
je 0x1000361a
call fcn.100017f0
mov ecx, dword [ebp + 8]
mov esi, eax
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0xf0]
test ecx, ecx
je 0x100035f5
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x10003603
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
push ebx
push 0
push edi
mov eax, dword [eax]
push ecx
push edx
mov ecx, esi
push dword [eax + 4]
call fcn.1001dde0
jmp 0x1000362b
push dword [eax + 8]
lea ecx, [eax + 0xf0]
push edi
push 0
call fcn.10014960
mov esi, eax
test esi, esi
js 0x10003766
mov ebx, dword [ebp + 8]
test byte [ebx + 0x178], 0x10
jne 0x10003660
push 0
push edi
push 0
lea ecx, [ebx + 0xf0]
push 2
call fcn.10014650
mov esi, eax
test esi, esi
js 0x10003766
mov ebx, dword [ebp + 8]
mov edi, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x4c]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], ecx
cmp edi, ecx
je 0x10003764
nop dword [eax]
nop dword [eax + eax]
test dword [edi + 0x24], 0xe0000000
je 0x10003756
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10003756
cmp byte [ebx + 0xc], 0
mov edi, dword [edi + 0xc]
je 0x100036db
mov eax, dword [ebx + 0x48]
mov esi, dword [ebx + 0x4c]
cmp eax, esi
je 0x100036c7
nop
mov edx, dword [eax + 0xc]
cmp edi, edx
jb 0x100036c0
mov ecx, dword [eax + 8]
add ecx, edx
cmp edi, ecx
jb 0x100036ce
add eax, 0x28
cmp eax, esi
jne 0x100036b0
mov eax, dword [ebp - 0x18]
xor esi, esi
jmp 0x100036e0
mov esi, dword [eax + 0x14]
add esi, dword [ebx + 8]
mov eax, dword [ebp - 0x18]
sub esi, edx
jmp 0x100036de
mov esi, dword [ebx + 8]
add esi, edi
test byte [ebx + 0x178], 0x10
je 0x10003739
call fcn.100017f0
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ecx + 0xf0]
test ecx, ecx
je 0x10003708
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
jmp 0x10003716
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov edx, dword [edi + 0xc]
xor ecx, ecx
push esi
add edx, eax
mov eax, dword [ebp - 0x1c]
push 0
push dword [edi + 0x10]
adc ecx, ebx
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp - 0x18]
push edx
push dword [eax + 4]
call fcn.1001dde0
jmp 0x1000374a
push esi
push eax
lea ecx, [ebx + 0xf0]
push edi
call fcn.10014960
mov edi, dword [ebp - 0x10]
mov esi, eax
test esi, esi
js 0x10003766
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
add edi, 0x28
mov dword [ebp - 0x10], edi
cmp edi, ecx
jne 0x10003680
xor esi, esi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1000378e
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x1000378e
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x1000378e
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8