Function at 0x401b30
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x41e2f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x40]
call fcn.0041a219
xor edi, edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], vtable.CBitmap.0
mov eax, dword [esp + 0x88]
mov ebx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x84]
push eax
push ebx
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x50]
push eax
mov ecx, esi
mov byte [esp + 0x90], 1
call fcn.004016f0
lea ecx, [esp + 0x40]
mov dword [esp + 0x50], ecx
mov ecx, esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
call fcn.00417d40
mov esi, eax
shr esi, 0x1b
mov eax, vtable.CPen.0
and esi, 1
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov ebp, dword [sym.imp.GDI32.dll_CreatePen]
mov edx, esi
neg edx
sbb edx, edx
and edx, 0x808080
push edx
push 1
push edi
mov byte [esp + 0x88], 5
call ebp
push eax
lea ecx, [esp + 0x2c]
call fcn.0041a769
push 0xffffff
push 1
push edi
call ebp
push eax
lea ecx, [esp + 0x24]
call fcn.0041a769
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xbfc0c1
add eax, 0xffff
push eax
push 1
push edi
call ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.0041a769
neg esi
sbb esi, esi
and esi, 0x800000
add esi, 0x8080
push esi
push 1
push edi
call ebp
push eax
lea ecx, [esp + 0x14]
call fcn.0041a769
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x44]
call fcn.0041a845
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
add ecx, 0xd
push ecx
inc eax
push eax
lea edx, [esp + 0x40]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x58]
push edx
mov dword [esp + 0x60], eax
call fcn.0041a40d
push edi
push 0xa
lea ecx, [esp + 0x58]
call fcn.00401390
push 0xfffffffffffffffc
push 4
lea ecx, [esp + 0x58]
call fcn.00401390
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x58]
call fcn.00401390
push edi
push 0xfffffffffffffff7
lea ecx, [esp + 0x58]
call fcn.00401390
push 5
push 0xfffffffffffffffb
lea ecx, [esp + 0x58]
call fcn.00401390
push 0xfffffffffffffff8
push edi
lea ecx, [esp + 0x58]
call fcn.00401390
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x58]
call fcn.00401390
push edi
push 2
lea ecx, [esp + 0x58]
call fcn.00401390
push 1
push 1
lea ecx, [esp + 0x58]
call fcn.00401390
push edi
push 6
lea ecx, [esp + 0x58]
call fcn.00401390
push 2
push edi
lea ecx, [esp + 0x58]
call fcn.00401390
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
add eax, 9
add ecx, 2
push ecx
mov dword [esp + 0x58], eax
push eax
mov dword [esp + 0x60], ecx
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x58]
push eax
call fcn.0041a40d
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x58]
call fcn.00401390
push edi
push 2
lea ecx, [esp + 0x58]
call fcn.00401390
push 2
push 2
lea ecx, [esp + 0x58]
call fcn.00401390
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
inc eax
dec ecx
push ecx
mov dword [esp + 0x5c], ecx
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x60], eax
call fcn.0041a40d
push 2
push edi
lea ecx, [esp + 0x58]
call fcn.00401390
push edi
push 0xfffffffffffffffe
lea ecx, [esp + 0x58]
call fcn.00401390
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x44]
call fcn.0041a845
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
add ecx, 9
add eax, 6
push ecx
push eax
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x58]
push eax
call fcn.0041a40d
mov esi, dword [sym.imp.GDI32.dll_GetCurrentObject]
mov edi, dword [sym.imp.GDI32.dll_GetObjectA]
mov ebp, dword [sym.imp.GDI32.dll_SetPixel]
mov dword [esp + 0x88], 4
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
add eax, 8
push ecx
mov ecx, dword [esp + 0x54]
push eax
mov dword [esp + 0x5c], eax
call fcn.0041a1b0
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 8]
push 1
push edx
call esi
push eax
call fcn.0041a75b
mov edx, dword [eax + 4]
lea ecx, [esp + 0x5c]
push ecx
push 0x10
push edx
call edi
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edx
push ecx
push eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
push ecx
call ebp
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
sub eax, 9
inc ecx
push ecx
push eax
lea edx, [esp + 0x40]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x58]
push edx
mov dword [esp + 0x60], eax
call fcn.0041a40d
dec dword [esp + 0x88]
jne 0x401df5
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
call fcn.0041a845
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
add ecx, 6
push ecx
add eax, 2
mov dword [esp + 0x5c], ecx
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x60], eax
call fcn.0041a40d
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
inc eax
dec ecx
push ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x54]
push eax
mov dword [esp + 0x5c], eax
call fcn.0041a1b0
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 8]
push 1
push eax
call esi
push eax
call fcn.0041a75b
mov edx, dword [eax + 4]
lea ecx, [esp + 0x5c]
push ecx
push 0x10
push edx
call edi
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edx
push ecx
push eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
push ecx
call ebp
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
add ecx, 8
push ecx
add eax, 2
push eax
lea edx, [esp + 0x40]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x58]
push edx
mov dword [esp + 0x60], eax
call fcn.0041a40d
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
sub ecx, 2
add eax, 2
push ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x54]
push eax
mov dword [esp + 0x5c], eax
call fcn.0041a1b0
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 8]
push 1
push ecx
call esi
push eax
call fcn.0041a75b
lea edx, [esp + 0x5c]
push edx
push 0x10
mov eax, dword [eax + 4]
push eax
call edi
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edx
push ecx
push eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
push ecx
call ebp
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
add ecx, 0xa
push ecx
add eax, 2
push eax
lea edx, [esp + 0x40]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x58]
push edx
mov dword [esp + 0x60], eax
call fcn.0041a40d
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
sub ecx, 4
add eax, 4
push ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x54]
push eax
mov dword [esp + 0x5c], eax
call fcn.0041a1b0
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 8]
push 1
push ecx
call esi
push eax
call fcn.0041a75b
mov eax, dword [eax + 4]
lea edx, [esp + 0x5c]
push edx
push 0x10
push eax
call edi
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edx
push ecx
push eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
push ecx
call ebp
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
inc eax
inc ecx
push ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x54]
push eax
mov dword [esp + 0x5c], eax
call fcn.0041a1b0
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 8]
push 1
push eax
call esi
push eax
call fcn.0041a75b
mov edx, dword [eax + 4]
lea ecx, [esp + 0x5c]
push ecx
push 0x10
push edx
call edi
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edx
push ecx
push eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
push ecx
call ebp
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
inc eax
dec ecx
push ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x54]
push eax
mov dword [esp + 0x5c], eax
call fcn.0041a1b0
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 8]
push 1
push eax
call esi
push eax
call fcn.0041a75b
mov edx, dword [eax + 4]
lea ecx, [esp + 0x5c]
push ecx
push 0x10
push edx
call edi
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edx
push ecx
push eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
push ecx
call ebp
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
inc eax
inc ecx
push ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x54]
push eax
mov dword [esp + 0x5c], eax
call fcn.0041a1b0
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 8]
push 1
push eax
call esi
push eax
call fcn.0041a75b
mov edx, dword [eax + 4]
lea ecx, [esp + 0x5c]
push ecx
push 0x10
push edx
call edi
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edx
push ecx
push eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
push ecx
call ebp
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
inc eax
mov dword [esp + 0x54], eax
dec ecx
push ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x54]
push eax
call fcn.0041a1b0
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 8]
push 1
push eax
call esi
push eax
call fcn.0041a75b
mov edx, dword [eax + 4]
lea ecx, [esp + 0x5c]
push ecx
push 0x10
push edx
call edi
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edx
push ecx
push eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
push ecx
call ebp
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x44]
call fcn.0041a845
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
add ecx, 5
add eax, 2
push ecx
push eax
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x58]
push eax
call fcn.0041a40d
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x54]
push eax
call fcn.0041a1b0
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 8]
push 1
push edx
call esi
push eax
call fcn.0041a75b
mov edx, dword [eax + 4]
lea ecx, [esp + 0x5c]
push ecx
push 0x10
push edx
call edi
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edx
push ecx
push eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
push ecx
call ebp
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
add eax, 2
push eax
push ecx
lea edx, [esp + 0x40]
mov dword [esp + 0x60], eax
push edx
mov ecx, dword [esp + 0x5c]
call fcn.0041a40d
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
sub ecx, 2
add eax, 2
push ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x54]
push eax
mov dword [esp + 0x5c], eax
call fcn.0041a1b0
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 8]
push 1
push ecx
call esi
push eax
call fcn.0041a75b
mov eax, dword [eax + 4]
lea edx, [esp + 0x5c]
push edx
push 0x10
push eax
call edi
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edx
push ecx
push eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
push ecx
call ebp
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
add ecx, 9
push ecx
add eax, 2
push eax
lea edx, [esp + 0x40]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x58]
push edx
mov dword [esp + 0x60], eax
call fcn.0041a40d
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
sub ecx, 3
add eax, 3
push ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x54]
push eax
mov dword [esp + 0x5c], eax
call fcn.0041a1b0
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 8]
push 1
push ecx
call esi
push eax
call fcn.0041a75b
mov eax, dword [eax + 4]
lea edx, [esp + 0x5c]
push edx
push 0x10
push eax
call edi
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edx
push ecx
push eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
push ecx
call ebp
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
add ecx, 0xb
push ecx
add eax, 2
push eax
lea edx, [esp + 0x40]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x58]
push edx
mov dword [esp + 0x60], eax
call fcn.0041a40d
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
sub ecx, 5
add eax, 5
push ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x54]
push eax
mov dword [esp + 0x5c], eax
call fcn.0041a1b0
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 8]
push 1
push ecx
call esi
push eax
call fcn.0041a75b
mov eax, dword [eax + 4]
lea edx, [esp + 0x5c]
push edx
push 0x10
push eax
call edi
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edx
push ecx
push eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
push ecx
call ebp
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
inc eax
inc ecx
push ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x54]
push eax
mov dword [esp + 0x5c], eax
call fcn.0041a1b0
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 8]
push 1
push eax
call esi
push eax
call fcn.0041a75b
mov edx, dword [eax + 4]
lea ecx, [esp + 0x5c]
push ecx
push 0x10
push edx
call edi
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edx
push ecx
push eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
push ecx
call ebp
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
inc eax
mov dword [esp + 0x54], eax
dec ecx
push ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x54]
push eax
call fcn.0041a1b0
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 8]
push 1
push eax
call esi
push eax
call fcn.0041a75b
mov edx, dword [eax + 4]
lea ecx, [esp + 0x5c]
push ecx
push 0x10
push edx
call edi
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edx
push ecx
push eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
push ecx
call ebp
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
inc eax
inc ecx
push ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x54]
push eax
mov dword [esp + 0x5c], eax
call fcn.0041a1b0
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 8]
push 1
push eax
call esi
push eax
call fcn.0041a75b
mov edx, dword [eax + 4]
lea ecx, [esp + 0x5c]
push ecx
push 0x10
push edx
call edi
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edx
push ecx
push eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
push ecx
call ebp
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx]
mov esi, dword [esp + 0x44]
mov ebx, dword [ebx + 8]
push 0xcc0020
push 0
push 0
push esi
sub eax, ecx
push eax
sub ebx, edx
push ebx
push ecx
push edx
mov edx, dword [esp + 0xa4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [esp + 0x28]
call fcn.0041a7c0
lea ecx, [esp + 0x20]
call fcn.0041a7c0
lea ecx, [esp + 0x18]
call fcn.0041a7c0
lea ecx, [esp + 0x10]
call fcn.0041a7c0
lea ecx, [esp + 0x30]
call fcn.0041a7c0
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c], 4
mov dword [esp + 0x10], esi
call fcn.0041a7c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 3
mov dword [esp + 0x18], esi
call fcn.0041a7c0
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c], 2
mov dword [esp + 0x20], esi
call fcn.0041a7c0
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 1
mov dword [esp + 0x28], esi
call fcn.0041a7c0
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 0
mov dword [esp + 0x30], esi
call fcn.0041a7c0
lea ecx, [esp + 0x40]
mov dword [esp + 0x7c], 0xffffffff
call fcn.0041a587
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret 0xc