Function at 0x100032f0
Capabilities:
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
mov esi, eax
push ebx
mov ebx, ecx
mov eax, dword fs:[0x18]
sub esp, 0x2c
mov dword [esp + 8], 0x18
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x10003596
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], ebx
mov dword [ebp - 0x20], eax
lea eax, [esi + 0x68]
mov dword [ebp - 0x1c], eax
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov edx, dword [ebp - 0x20]
mov ebx, dword [esi + 0x64]
sub esp, 4
mov edi, dword [edx + 0x10]
test ebx, ebx
je 0x10003532
mov dword [ebp - 0x20], edx
jmp 0x10003371
lea ecx, [ebx + 4]
lea eax, [ebx + 8]
cmovs eax, ecx
mov edx, dword [eax]
test edx, edx
je 0x100033d0
mov ebx, edx
mov dword [esp + 4], ebx
mov dword [esp], edi
call dword [esi + 0x60]
test eax, eax
jne 0x10003360
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov edx, dword [ebp - 0x20]
sub esp, 4
test byte [0x1002801c], 4
jne 0x100034c0
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp - 0x20]
mov dword [edx + 0xc], 1
mov dword [edx], ebx
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [eax], edx
mov eax, dword [edx]
test eax, eax
je 0x10003430
test byte [eax + 0xc], 1
je 0x10003430
mov ebx, dword [eax]
mov ecx, dword [ebx + 4]
cmp ecx, eax
je 0x1000344b
test ecx, ecx
je 0x100034f0
test byte [ecx + 0xc], 1
je 0x100034f0
xor dword [ebx + 0xc], 1
xor dword [ecx + 0xc], 1
mov eax, dword [ebx + 8]
xor dword [eax + 0xc], 1
mov eax, dword [edx]
mov edx, dword [eax]
jmp 0x100033ec
mov eax, dword [esi + 0x64]
and dword [eax + 0xc], 0xfffffffe
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
jmp 0x100033c2
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x10003470
test byte [ecx + 0xc], 1
je 0x10003470
xor dword [ebx + 0xc], 1
xor dword [eax + 0xc], 1
mov eax, dword [ebx + 8]
xor dword [eax + 0xc], 1
mov eax, dword [edx]
mov edx, dword [eax]
jmp 0x100033ec
cmp dword [eax + 8], edx
je 0x1000353a
mov ecx, dword [edx]
and dword [ecx + 0xc], 0xfffffffe
mov eax, dword [edx]
mov eax, dword [eax]
or dword [eax + 0xc], 1
mov eax, dword [edx]
mov eax, dword [eax]
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
test ebx, ebx
je 0x10003586
cmp eax, dword [ebx + 4]
je 0x1000358e
mov dword [ebx + 8], ecx
mov ebx, dword [ecx + 8]
mov dword [eax + 4], ebx
test ebx, ebx
je 0x100034b0
mov dword [ebx], eax
mov dword [ecx + 8], eax
mov ebx, dword [eax]
mov dword [ecx], ebx
mov dword [eax], ecx
jmp 0x100033ec
mov dword [ebp - 0x1c], edx
mov dword [esp + 0xc], str.wrapper_lookup_already_present_in_the_tree___n
mov dword [esp + 8], str.wrapper_add_entry
mov dword [esp + 4], 0x1002801c
mov dword [esp], 2
call fcn.10001440
mov edx, dword [ebp - 0x1c]
jmp 0x1000339e
cmp dword [eax + 4], edx
je 0x10003565
mov ecx, dword [edx]
and dword [ecx + 0xc], 0xfffffffe
mov eax, dword [edx]
mov eax, dword [eax]
or dword [eax + 0xc], 1
mov eax, dword [edx]
mov eax, dword [eax]
mov ebx, dword [eax]
mov ecx, dword [eax + 8]
test ebx, ebx
je 0x1000355b
cmp eax, dword [ebx + 4]
je 0x10003560
mov dword [ebx + 8], ecx
mov ebx, dword [ecx + 4]
mov dword [eax + 8], ebx
test ebx, ebx
je 0x10003524
mov dword [ebx], eax
mov dword [ecx + 4], eax
mov ebx, dword [eax]
mov dword [ecx], ebx
mov dword [eax], ecx
jmp 0x100033ec
lea eax, [esi + 0x64]
jmp 0x100033d3
mov dword [ebx + 4], edx
mov ecx, dword [edx + 4]
mov dword [eax + 8], ecx
test ecx, ecx
je 0x10003549
mov dword [ecx], eax
mov dword [edx + 4], eax
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, edx
mov dword [eax], edx
mov edx, eax
jmp 0x1000347b
mov dword [esi + 0x64], ecx
jmp 0x10003518
mov dword [ebx + 4], ecx
jmp 0x10003518
mov dword [ebx + 8], edx
mov ecx, dword [edx + 8]
mov dword [eax + 4], ecx
test ecx, ecx
je 0x10003574
mov dword [ecx], eax
mov dword [edx + 8], eax
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, edx
mov dword [eax], edx
mov edx, eax
jmp 0x100034f7
mov dword [esi + 0x64], ecx
jmp 0x100034a4
mov dword [ebx + 4], ecx
jmp 0x100034a4
test byte [0x1002801c], 2
jne 0x100035a9
mov eax, 0x8007000e
jmp 0x100033c4
mov dword [esp + 0xc], str.Failed_to_allocate_wrapper_lookup__n
mov dword [esp + 8], str.wrapper_add_entry
mov dword [esp + 4], 0x1002801c
mov dword [esp], 1
call fcn.10001440
jmp 0x1000359f