Function at 0x3b50d640
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x3b573f58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x84]
xor esi, esi
mov ebp, ecx
xor ebx, ebx
cmp edi, esi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
je 0x3b50d8cb
lea ecx, [esp + 0x40]
call fcn.3b529cb0
mov dword [esp + 0x7c], esi
call fcn.3b517870
test eax, eax
je 0x3b50d6df
lea eax, [esp + 0x34]
lea ecx, [esp + 0x20]
push eax
push ecx
push edi
call fcn.3b517990
add esp, 0xc
test eax, eax
je 0x3b50d6df
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x3b50d6df
cmp dword [esp + 0x34], esi
jbe 0x3b50d6df
add eax, 0xe
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], esi
jne 0x3b50d6f2
push edi
call fcn.3b518280
add esp, 4
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x7c], 0xffffffff
call fcn.3b529cd0
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x3b50d8d8
push eax
call fcn.3b5184f0
mov edx, dword [esp + 0x14]
mov edi, eax
push edx
mov dword [esp + 0x4c], edi
call fcn.3b518510
add esp, 8
cmp edi, esi
mov dword [esp + 0x3c], eax
je 0x3b50d912
cmp eax, esi
je 0x3b50d912
mov ebp, dword [esp + 0x94]
mov eax, dword [esp + 0x10]
push ebp
push eax
call fcn.3b518da0
mov ebx, dword [esp + 0x94]
add esp, 8
cmp eax, esi
mov dword [ebx], eax
je 0x3b50d91a
cmp dword [ebp], esi
je 0x3b50d91a
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp eax, esi
mov dword [esp + 0x1c], eax
je 0x3b50d8e2
mov ecx, dword [ebx]
push ecx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x90]
mov dword [edx], eax
mov eax, dword [esp + 0x88]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
cmp edi, ebx
jne 0x3b50d7c5
cmp dword [esp + 0x3c], ebp
jne 0x3b50d7c5
mov eax, dword [esp + 0x10]
push eax
call fcn.3b518530
add esp, 4
cmp ax, 0x18
je 0x3b50d8ec
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, eax
cmp edx, esi
mov dword [esp + 0x18], edx
je 0x3b50d8fe
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x4c]
push esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0x54]
push esi
mov edi, 1
push ecx
push edx
mov dword [esp + 0x60], 0x28
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebp
mov word [esp + 0x6c], di
mov word [esp + 0x6e], 0x18
mov dword [esp + 0x70], esi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
cmp eax, esi
mov dword [esp + 0x2c], eax
je 0x3b50d908
mov edx, dword [esp + 0x18]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
push 3
push eax
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x1c]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x20]
push edx
push esi
push esi
push eax
push ebp
push ebx
push esi
push esi
push ecx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x8c]
mov ecx, dword [esp + 0x24]
push ebx
lea edx, [esp + 0x20]
push ebp
push edx
call fcn.3b50d500
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
mov dword [ebx], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dword [ecx], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], edi
jmp 0x3b50d91a
mov dword [esp + 0x14], 1
jmp 0x3b50d95e
mov dword [esp + 0x14], 2
jmp 0x3b50d95e
mov dword [esp + 0x14], 5
jmp 0x3b50d91a
mov dword [esp + 0x14], 6
mov dword [esp + 0x38], 1
jmp 0x3b50d91a
mov dword [esp + 0x14], 7
jmp 0x3b50d91a
mov dword [esp + 0x14], 8
jmp 0x3b50d91a
mov dword [esp + 0x14], 4
cmp dword [esp + 0x10], esi
je 0x3b50d94b
cmp dword [esp + 0x20], esi
je 0x3b50d93a
lea edx, [esp + 0x34]
lea eax, [esp + 0x20]
push edx
push eax
call fcn.3b5179c0
add esp, 8
jmp 0x3b50d947
lea ecx, [esp + 0x10]
push ecx
call fcn.3b517f00
add esp, 4
mov dword [esp + 0x10], esi
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x84]
cmp ebx, esi
jne 0x3b50d990
mov ebp, dword [esp + 0x24]
lea edx, [esp + 0x28]
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
call fcn.3b50d500
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, ebp
call fcn.3b50d500
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov eax, dword [edx]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x90]
push edx
mov ecx, dword [eax]
mov eax, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
push edi
push ecx
push ebx
push str.CTWMHelper::CreateWaterMask_____ret:__d__ferror:__d___path:__s___size:__d__d____08x__08x__08x_
push str.Helper
push 0xffffffffffffffff
push 0x3b5995b4
call fcn.3b5446b0
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0x4c]
add esp, 0x30
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 0x14