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

Disassembly:
push 0xffffffffffffffff
push 0x4a93d8
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.0049b973
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 0x40340d
mov ecx, edi
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x1c]
cmp edx, eax
jle 0x40341b
mov edx, eax
mov dword [esp + 0x1c], edx
mov edi, dword [esp + 0x10]
test edi, edi
jge 0x403429
xor edi, edi
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x14]
test eax, eax
jge 0x403437
xor eax, eax
mov dword [esp + 0x14], eax
sub ecx, edi
cmp ecx, 1
jl 0x403644
sub edx, eax
cmp edx, 1
jl 0x403644
lea ecx, [esp + 0x20]
call fcn.0048deeb
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], 0
call fcn.0048deeb
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 1
call fcn.0048deeb
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.0048dfa2
test eax, eax
je 0x403605
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.0048dfa2
test eax, eax
jne 0x4034d3
lea ecx, [esp + 0x24]
call fcn.0048e00a
mov ecx, esi
call fcn.00486e2f
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.0048dfa2
test eax, eax
jne 0x403502
lea ecx, [esp + 0x24]
call fcn.0048e00a
mov ecx, esi
call fcn.00486e2f
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.0048eae4
test eax, eax
jne 0x403554
lea ecx, [esp + 0x24]
call fcn.0048e00a
lea ecx, [esp + 0x44]
call fcn.0048e00a
lea ecx, [esp + 0x34]
call fcn.0048e00a
mov ecx, esi
call fcn.00486e2f
lea eax, [esi + 0x5c]
test eax, eax
je 0x40355e
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x38]
push eax
push ecx
call fcn.0048e0e3
test edi, edi
mov dword [esp + 0x10], eax
je 0x403574
mov edi, dword [edi + 4]
mov edx, dword [esp + 0x48]
push edi
push edx
call fcn.0048e0e3
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 0x4035c2
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x44]
push edi
push ecx
call fcn.0048e0e3
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4035d8
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x34]
push eax
push edx
call fcn.0048e0e3
lea ecx, [esp + 0x20]
call fcn.0048e00a
lea ecx, [esp + 0x40]
call fcn.0048e00a
lea ecx, [esp + 0x30]
call fcn.0048e00a
mov ecx, esi
call fcn.00486e2f
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 1
call fcn.0048e020
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 0
call fcn.0048e020
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], 0xffffffff
call fcn.0048e020
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