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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe8
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
test byte [0x1000401c], 8
je 0x10002715
xor edi, edi
test esi, esi
je 0x100026c3
mov edi, dword [esi]
mov eax, edx
mov dword [ebp + 0x10], edx
call sym._wine_dbgstr_wn.constprop.0
mov ebx, eax
mov eax, dword [ebp + 8]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x20], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__s___p___s___p___ppPortName:__p__n
mov dword [esp + 8], str.localui_AddPortUI
mov dword [esp + 4], 0x1000401c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0xc4]
mov eax, str._XcvMonitor
xor edi, edi
call sym._open_monitor_by_name
mov ebx, eax
test eax, eax
jne 0x10002790
test byte [0x1000401c], 8
jne 0x10002748
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.___lu_with__lu_n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.localui_AddPortUI
mov dword [esp + 4], 0x1000401c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
lea eax, [ebp - 0xb4]
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xb4], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb0], edx
mov dword [esp + 8], eax
mov eax, dword [0x10004018]
mov dword [esp + 0xc], sym._dlgproc_addport_16
mov dword [esp + 4], 0x64
mov dword [esp], eax
call dword [sym.imp.user32.dll_DialogBoxParamW]
sub esp, 0x14
mov edi, eax
test byte [0x1000401c], 8
jne 0x10002958
test esi, esi
je 0x100027f1
mov dword [esi], 0
test edi, edi
je 0x10002930
mov edx, dword [ebp - 0xb4]
cmp word [edx], 0
je 0x100029e0
mov eax, edx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x10002810
sub eax, edx
add eax, 2
lea ecx, [ebp - 0xb8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc4]
mov dword [esp + 0x1c], ecx
lea ecx, [ebp - 0xc0]
mov dword [esp + 0x18], ecx
lea ecx, [ebp - 0xbc]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], str.AddPort
mov dword [esp], eax
call sym._XcvDataW_32
sub esp, 0x20
mov ebx, eax
mov edi, eax
test byte [0x1000401c], 8
jne 0x100029a8
mov edx, dword [ebp - 0xb4]
mov ecx, dword [sym.imp.kernel32.dll_HeapFree]
test ebx, ebx
je 0x10002907
mov eax, dword [ebp - 0xb8]
test esi, esi
je 0x100028f6
test eax, eax
jne 0x100028f6
cmp word [edx], 0
je 0x10002b50
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x100028a8
sub eax, edx
add eax, 2
mov dword [esp + 4], eax
mov dword [esp], 0x40
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov dword [esi], eax
sub esp, 8
mov ecx, eax
test eax, eax
je 0x10002b6e
mov edx, dword [ebp - 0xb4]
xor eax, eax
nop
movzx esi, word [edx + eax]
mov word [ecx + eax], si
add eax, 2
test si, si
jne 0x100028e0
mov eax, dword [ebp - 0xb8]
cmp eax, 0xb7
je 0x100029f0
mov ecx, dword [sym.imp.kernel32.dll_HeapFree]
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 ecx
sub esp, 0xc
jmp 0x1000293f
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x4c7
xor ebx, ebx
mov eax, dword [ebp - 0xc4]
mov dword [esp], eax
call sym._ClosePrinter_4
sub esp, 4
jmp 0x1000272d
mov eax, dword [ebp - 0xb4]
call sym._wine_dbgstr_wn.constprop.0
mov edx, eax
mov dword [esp + 0x18], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.got__lu_with__lu_for__s_n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.localui_AddPortUI
mov dword [esp + 4], 0x1000401c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x100027e7
mov eax, dword [ebp - 0xb8]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.got__lu_with_status__lu_n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.localui_AddPortUI
mov dword [esp + 4], 0x1000401c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10002876
mov eax, 2
jmp 0x1000281e
lea eax, [ebp - 0xac]
xor ecx, ecx
mov dword [ebp - 0xc8], edx
xor edx, edx
mov dword [esp + 8], eax
mov eax, dword [0x10004018]
mov word [ebp - 0xac], dx
mov esi, dword [sym.imp.user32.dll_LoadStringW]
mov word [ebp - 0x6c], cx
mov dword [esp + 0xc], 0x20
mov dword [esp + 4], 0x12c
mov dword [esp], eax
call esi
lea eax, [ebp - 0x6c]
sub esp, 0x10
mov dword [esp + 8], eax
mov eax, dword [0x10004018]
mov dword [esp + 0xc], 0x30
mov dword [esp + 4], 0x12e
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0xc8]
sub esp, 0x10
cmp word [edx], 0
je 0x10002b5a
mov eax, edx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x10002a70
sub eax, edx
mov ecx, eax
add eax, 0x62
sar ecx, 1
lea esi, [ecx + 0x31]
mov dword [ebp - 0xd0], esi
mov esi, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov dword [ebp - 0xcc], edx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xc8], esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp - 0xcc]
sub esp, 0xc
test eax, eax
mov esi, eax
je 0x10002b7f
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0x6c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xd0]
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call sym._swprintf
lea eax, [ebp - 0xac]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], 0x10
mov dword [esp], eax
call dword [sym.imp.user32.dll_MessageBoxW]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0x10
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov dword [ebp - 0xc8], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ecx
mov ecx, dword [ebp - 0xc8]
sub esp, 0xc
mov edx, dword [ebp - 0xb4]
jmp 0x10002907
mov eax, 2
jmp 0x100028b6
mov dword [ebp - 0xd0], 0x31
mov eax, 0x62
jmp 0x10002a8b
mov eax, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xb4]
jmp 0x100028f6
mov ecx, dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x10002b45