Function at 0x10008bf0
Capabilities:
Capture screenshot
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10016b20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, edx
mov dword [ebp - 0x44], esi
mov edi, ecx
mov dword [ebp - 0x30], edi
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x12], al
mov byte [ebp - 0x13], al
mov byte [ebp - 0x11], al
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], eax
mov dword [esi + 0x34], eax
lea ebx, [esi + 0x30]
mov dword [ebx], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
and dword [esi + 0x20], 0xfffffffb
mov dword [ebp - 4], eax
cmp dword [esi + 4], 0xc
jne 0x10008cca
test byte [edi + 0x84], 4
je 0x10008cb4
mov eax, dword [esi]
push eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov byte [ebp - 0x12], 1
mov ecx, dword [edi + 0x98]
push ecx
mov edx, dword [esi]
push edx
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
push 0
push 0
lea eax, [esi + 8]
push eax
push 2
push 0
push 0
mov ecx, dword [esi]
push ecx
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov byte [ebp - 0x11], 1
mov dword [ebp - 4], 0xffffffff
jmp 0x100090c4
push 0x26
mov edx, dword [esi]
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test eax, 0x2000
je 0x10008cca
or dword [esi + 0x20], 4
mov eax, dword [edi + 0x48]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esi + 0x24], eax
push 0xc
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [esi + 0x38], eax
cmp eax, 0x18
jl 0x10008ced
mov eax, 0x18
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0x6c]
push ecx
mov edx, dword [edi + 0x48]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
test byte [esi + 0x20], 1
je 0x10008d6f
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 4]
mov edx, ecx
sub edx, eax
jns 0x10008d14
sub eax, ecx
jmp 0x10008d16
mov eax, edx
mov dword [ebp - 0x4c], eax
mov dword [ebx], eax
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 8]
mov edx, ecx
sub edx, eax
jns 0x10008d2b
sub eax, ecx
jmp 0x10008d2d
mov eax, edx
mov dword [ebp - 0x48], eax
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x40], ecx
movzx eax, word [esi + 0x1c]
test ax, ax
je 0x10008d85
movzx eax, ax
cmp eax, ecx
jae 0x10008d85
push ecx
push eax
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebx], eax
mov eax, dword [ebp - 0x40]
push eax
movzx ecx, word [esi + 0x1c]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi + 0x34], eax
jmp 0x10008d85
mov eax, dword [edi + 0x50]
or eax, 0x2000
push eax
push ebx
push 0x64
mov edx, dword [esi + 0x24]
mov ecx, edi
call fcn.1000c0a0
cmp dword [ebx], 0
jle 0x10008d90
cmp dword [esi + 0x34], 0
jg 0x10008d9b
mov ecx, dword [ebp - 0x64]
mov dword [ebx], ecx
mov edx, dword [ebp - 0x60]
mov dword [esi + 0x34], edx
test byte [edi + 0x84], 2
je 0x10008dbb
test byte [esi + 0x20], 4
je 0x10008dbb
mov edx, esi
mov ecx, edi
call fcn.1000ce40
test al, al
jne 0x10009077
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1000907b
mov edi, dword [ebx]
mov dword [ebp - 0x54], edi
mov ebx, dword [esi + 0x34]
mov dword [ebp - 0x50], ebx
jmp 0x10008de0
push ebx
push edi
mov ecx, dword [esi + 0x24]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x10008e07
mov ecx, dword [ebp - 0x60]
cmp edi, dword [ebp - 0x64]
jg 0x10009084
cmp ebx, ecx
jg 0x10009084
mov edx, dword [esi + 0x24]
push edx
mov edi, dword [ebp - 0x30]
mov eax, dword [edi + 0x48]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [esi + 0x24], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1000907b
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x24], eax
mov ecx, edi
call fcn.1000d2e0
mov dword [ebp - 0x28], eax
test eax, eax
je 0x10008e5d
push 1
push eax
mov edi, dword [ebp - 0x18]
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
mov dword [ebp - 0x3c], eax
push edi
call dword [sym.imp.GDI32.dll_RealizePalette]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x50]
or edx, 0x2000
push edx
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
xor edi, edi
call fcn.10008b00
mov ecx, dword [esi]
push ecx
call dword [sym.imp.GDI32.dll_SaveDC]
mov byte [ebp - 0x12], 1
cmp dword [ebp - 0x28], edi
je 0x10008ea5
push 1
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [esi]
push eax
call dword [sym.imp.GDI32.dll_SelectPalette]
mov dword [ebp - 0x34], eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.GDI32.dll_RealizePalette]
cmp dword [esi + 4], 0xc
jne 0x1000902e
mov dl, 1
mov ecx, esi
call fcn.1000b4c0
mov byte [ebp - 0x13], 1
test byte [esi + 0x20], 4
je 0x1000902e
mov dword [ebp - 0x2c], 0xffffffff
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x24], 0
push 0x42c
push 8
mov ecx, dword [0x1001bf40]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x38], edi
test edi, edi
je 0x10008ff9
mov dword [ebp - 0x2c], 0
mov edx, dword [esi + 0x3c]
cmp edx, dword [esi + 0x38]
je 0x10008f5c
push 0x42c
push 0
push edi
call fcn.1000f080
add esp, 0xc
mov dword [edi], 0x28
mov eax, dword [ebp - 0x54]
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov cx, word [esi + 0x3c]
mov word [edi + 0xe], cx
mov word [edi + 0xc], 1
push 0
push edi
push 0
push ebx
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.GDI32.dll_GetDIBits]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x10008f8c
push 0x42c
push 0
push edi
call fcn.1000f080
add esp, 0xc
mov dword [edi], 0x28
push 0
push edi
push 0
push ebx
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
je 0x10008ff9
mov eax, dword [edi + 0x14]
test eax, eax
je 0x10008ff9
push eax
push 8
mov eax, dword [0x1001bf40]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10009017
push 0
push edi
mov ecx, eax
push ecx
push ebx
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
je 0x10008ff9
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push 0xcc0020
push 0
push edi
mov edx, dword [ebp - 0x20]
push edx
push ebx
mov edx, dword [ebp - 0x54]
push edx
push 0
push 0
mov edx, dword [esi + 0x14]
sub edx, eax
push edx
mov edx, dword [esi + 0x10]
sub edx, ecx
push edx
push eax
push ecx
mov eax, dword [esi]
push eax
call dword [sym.imp.GDI32.dll_StretchDIBits]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10009017
push eax
push 0
mov ecx, dword [0x1001bf40]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x1000906e
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x24], eax
push 3
mov ecx, dword [esi]
push ecx
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push 0xcc0020
push ebx
mov edx, dword [ebp - 0x54]
push edx
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
mov edx, dword [esi + 0x14]
sub edx, eax
push edx
mov edx, dword [esi + 0x10]
sub edx, ecx
push edx
push eax
push ecx
mov eax, dword [esi]
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
cmp byte [ebp - 0x13], 0
je 0x10009077
xor dl, dl
mov ecx, esi
call fcn.1000b4c0
mov byte [ebp - 0x11], 1
mov dword [ebp - 4], 0xffffffff
jmp 0x100090c4
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov edi, eax
mov dword [ebp - 0x54], edi
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
mov dword [ebp - 0x50], ebx
mov eax, dword [ebp - 0x64]
cmp edi, eax
jl 0x100090ab
cmp ebx, ecx
jge 0x10008de0
mov edi, eax
mov dword [ebp - 0x54], edi
mov ebx, ecx
jmp 0x10008dd8
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
mov eax, dword [esi + 0x24]
test eax, eax
je 0x100090e6
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x48]
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [esi + 0x24], 0
test ebx, ebx
je 0x10009125
mov eax, dword [esi + 4]
cmp eax, 0xc
je 0x10009108
cmp eax, 4
je 0x10009108
cmp dword [ebp - 0x34], 0
je 0x1000911c
push 1
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [esi]
push ecx
jmp 0x10009116
push 1
push 0xf
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
mov edx, dword [esi]
push edx
call dword [sym.imp.GDI32.dll_SelectPalette]
mov eax, dword [esi]
push eax
call dword [sym.imp.GDI32.dll_RealizePalette]
cmp byte [ebp - 0x12], 0
je 0x10009136
push 0xffffffffffffffff
mov ecx, dword [esi]
push ecx
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp dword [ebp - 0x20], 0
je 0x1000914e
mov edx, dword [ebp - 0x20]
push edx
push 0
mov eax, dword [0x1001bf40]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x38], 0
je 0x10009167
mov ecx, dword [ebp - 0x38]
push ecx
push 0
mov edx, dword [0x1001bf40]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
test edi, edi
je 0x100091a3
cmp dword [ebp - 0x3c], 0
je 0x1000918b
mov eax, dword [ebp - 0x3c]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
je 0x1000918b
cmp eax, ebx
je 0x1000918b
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x24], 0
je 0x1000919c
mov ecx, dword [ebp - 0x24]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
test ebx, ebx
je 0x100091ae
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x1c], 0
je 0x100091be
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret