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

Disassembly:
push 0xffffffffffffffff
push 0x4a3458
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0xec]
mov eax, dword [esi + 0xf0]
mov edx, dword [esi + 0xe8]
mov edi, dword [esi + 0xe4]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
call fcn.00495626
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea eax, [esi + 0xa4]
mov ebp, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call ebp
push 1
mov edi, eax
call ebp
mov ecx, dword [esp + 0x18]
cmp ecx, edi
jle 0x4048dd
mov ecx, edi
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x1c]
cmp edx, eax
jle 0x4048eb
mov edx, eax
mov dword [esp + 0x1c], edx
mov edi, dword [esp + 0x10]
test edi, edi
jge 0x4048f9
xor edi, edi
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x14]
test eax, eax
jge 0x404907
xor eax, eax
mov dword [esp + 0x14], eax
sub ecx, edi
cmp ecx, 1
jl 0x404b14
sub edx, eax
cmp edx, 1
jl 0x404b14
lea ecx, [esp + 0x20]
call fcn.00487b7c
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], 0
call fcn.00487b7c
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 1
call fcn.00487b7c
push 0
push 0
push 0
push str.DISPLAY
mov byte [esp + 0x68], 2
call dword [sym.imp.GDI32.dll_CreateDCA]
push eax
lea ecx, [esp + 0x24]
call fcn.00487c33
test eax, eax
je 0x404ad5
lea eax, [esp + 0x20]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
neg eax
push ebx
mov ebx, dword [esp + 0x28]
sbb eax, eax
and eax, ebx
push eax
call edi
push eax
lea ecx, [esp + 0x48]
call fcn.00487c33
test eax, eax
jne 0x4049a3
lea ecx, [esp + 0x24]
call fcn.00487c9b
mov ecx, esi
call fcn.00480a27
mov ebp, dword [esp + 0x28]
lea eax, [esp + 0x24]
neg eax
sbb eax, eax
and eax, ebp
push eax
call edi
push eax
lea ecx, [esp + 0x38]
call fcn.00487c33
test eax, eax
jne 0x4049d2
lea ecx, [esp + 0x24]
call fcn.00487c9b
mov ecx, esi
call fcn.00480a27
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
sub eax, ebx
sub ecx, edi
push eax
mov eax, dword [esp + 0x2c]
push ecx
push eax
lea edi, [esi + 0x64]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.00488797
test eax, eax
jne 0x404a24
lea ecx, [esp + 0x24]
call fcn.00487c9b
lea ecx, [esp + 0x44]
call fcn.00487c9b
lea ecx, [esp + 0x34]
call fcn.00487c9b
mov ecx, esi
call fcn.00480a27
lea eax, [esi + 0x5c]
test eax, eax
je 0x404a2e
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x38]
push eax
push ecx
call fcn.00487d74
test edi, edi
mov dword [esp + 0x10], eax
je 0x404a44
mov edi, dword [edi + 4]
mov edx, dword [esp + 0x48]
push edi
push edx
call fcn.00487d74
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov edi, eax
lea eax, [esp + 0x34]
sub ecx, ebp
sub edx, ebx
neg eax
sbb eax, eax
push 0xcc0020
and eax, dword [esp + 0x3c]
push ebp
push ebx
push eax
mov eax, dword [esp + 0x58]
push ecx
push edx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
test edi, edi
pop ebx
je 0x404a92
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x44]
push edi
push ecx
call fcn.00487d74
mov eax, dword [esp + 0xc]
test eax, eax
je 0x404aa8
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x34]
push eax
push edx
call fcn.00487d74
lea ecx, [esp + 0x20]
call fcn.00487c9b
lea ecx, [esp + 0x40]
call fcn.00487c9b
lea ecx, [esp + 0x30]
call fcn.00487c9b
mov ecx, esi
call fcn.00480a27
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 1
call fcn.00487cb1
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 0
call fcn.00487cb1
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], 0xffffffff
call fcn.00487cb1
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc8]
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x50
ret