Function at 0x41bb80
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x481a00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [edi + 0x88]
mov ecx, dword [edi + 0x88]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x3c], edx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [edi + 0x12c]
mov ecx, dword [edi + 0x130]
mov esi, dword [edi + 0x134]
sub ecx, eax
sub esi, eax
inc ecx
test cl, 1
je 0x41bbf4
cmp ecx, 1
je 0x41bbf4
dec ecx
test esi, esi
jl 0x41c051
test ecx, ecx
jle 0x41c051
lea eax, [esi + esi*2]
shl eax, 1
cdq
idiv ecx
mov ebx, eax
lea eax, [esi + esi*2]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv ecx
mov ecx, 0x32
cdq
idiv ecx
test ebx, ebx
jge 0x41bc2f
xor ebx, ebx
xor edx, edx
jmp switch.0x0041bc3e
cmp ebx, 5
jle switch.0x0041bc3e
mov ebx, 5
mov edx, 0x31
jmp dword [ebx*4 + 0x41c068]
movsx ebx, byte [edx + 0x4a6dba]
mov eax, 0x4a6db9
sub eax, edx
movsx eax, byte [eax]
neg eax
mov dword [esp + 0x10], eax
neg ebx
jmp 0x41bcdd
movsx ecx, byte [edx + 0x4a6d88]
mov eax, 0x4a6deb
mov dword [esp + 0x10], ecx
sub eax, edx
movsx ebx, byte [eax]
neg ebx
jmp 0x41bcdd
movsx ecx, byte [edx + 0x4a6dba]
mov eax, 0x4a6db9
mov dword [esp + 0x10], ecx
sub eax, edx
movsx ebx, byte [eax]
neg ebx
jmp 0x41bcdd
mov ecx, 0x4a6deb
movsx ebx, byte [edx + 0x4a6d88]
sub ecx, edx
movsx eax, byte [ecx]
mov dword [esp + 0x10], eax
jmp 0x41bcdd
mov ecx, 0x4a6db9
movsx ebx, byte [edx + 0x4a6dba]
sub ecx, edx
movsx eax, byte [ecx]
mov dword [esp + 0x10], eax
jmp 0x41bcdd
movsx eax, byte [edx + 0x4a6d88]
mov ecx, 0x4a6deb
neg eax
sub ecx, edx
mov dword [esp + 0x10], eax
movsx ebx, byte [ecx]
jmp 0x41bcdd
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
sub eax, ebp
mov ecx, dword [esp + 0x28]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [edi + 0x158]
cdq
sub eax, edx
mov edx, ecx
mov ebp, eax
mov eax, 0x68db8bad
sar ebp, 1
imul edx, ebp
imul edx, dword [esp + 0x10]
sar esi, 1
imul edx
imul ecx, esi
imul ecx, ebx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x68db8bad
mov dword [esp + 0x10], edx
imul ecx
mov eax, dword [edi + 0x150]
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
test eax, eax
mov dword [esp + 0x1c], edx
je 0x41bf9d
mov eax, dword [edi + 0x154]
mov ebx, dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
jne 0x41be1f
mov eax, 0x64
mov dword [esp + 0x14], eax
mov dword [esp + 0x78], eax
mov eax, dword [edi + 0x148]
test eax, eax
je 0x41bdc2
mov ecx, dword [edi + 0x14c]
test ecx, ecx
je 0x41bdc2
mov eax, dword [eax + 4]
lea edx, [esp + 0x4c]
push edx
push 0x18
push eax
call ebx
mov eax, dword [edi + 0x14c]
lea ecx, [esp + 0x34]
push ecx
push 0x18
mov edx, dword [eax + 4]
push edx
call ebx
mov eax, dword [esp + 0x38]
imul eax, eax, 0x64
cdq
idiv dword [esp + 0x50]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
imul eax, eax, 0x64
cdq
idiv dword [esp + 0x54]
mov dword [esp + 0x78], eax
mov eax, dword [edi + 0x150]
lea ecx, [esp + 0x4c]
push ecx
push 0x18
mov edx, dword [eax + 4]
push edx
call ebx
mov ecx, dword [esp + 0x54]
mov eax, 0x51eb851f
imul ecx, dword [esp + 0x78]
imul ecx
mov ecx, dword [esp + 0x50]
imul ecx, dword [esp + 0x14]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x51eb851f
push edx
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, edi
push edx
mov edx, dword [edi + 0x150]
push edx
call fcn.0041c230
mov dword [edi + 0x154], eax
mov eax, dword [edi + 0x154]
test eax, eax
je 0x41c051
mov edx, dword [eax + 4]
lea ecx, [esp + 0x4c]
push ecx
push 0x18
push edx
call ebx
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x28]
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
sub esi, eax
mov eax, dword [esp + 0x24]
add esi, edx
add esi, eax
mov eax, dword [esp + 0x54]
cdq
sub eax, edx
add ecx, esi
sar eax, 1
sub ebx, eax
mov eax, dword [esp + 0x10]
sub ebx, eax
mov eax, dword [esp + 0x54]
add ebx, ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x3c], ecx
lea ecx, [ebx + eax]
mov eax, dword [0x4ab214]
test eax, eax
mov dword [esp + 0x40], ecx
jne 0x41bea5
test ebp, ebp
jne 0x41be90
xor eax, eax
jmp 0x41be93
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, 0x4ab210
call sub.MFC42.DLL_CDC::Attach
mov edi, dword [edi + 0x154]
test edi, edi
jne 0x41beb3
xor eax, eax
jmp 0x41beb6
mov eax, dword [edi + 4]
mov edx, dword [0x4ab214]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov edi, eax
xor eax, eax
cmp edi, eax
je 0x41c051
mov dword [esp + 0x1c], 0x48c1a0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x1c], 0x48c38c
mov dword [esp + 0x20], eax
mov dword [esp + 0x6c], 1
mov dword [esp + 0x1c], 0x48e908
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
push ebx
push esi
mov dword [esp + 0x7c], 2
call dword [sym.imp.GDI32.dll_CreateEllipticRgn]
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0x1c]
mov ecx, ebp
push edx
call sub.MFC42.DLL_CDC::SelectClipRgn
mov edx, dword [0x4ab214]
mov eax, 0x4ab210
neg eax
mov ecx, dword [esp + 0x50]
push 0xcc0020
sbb eax, eax
push 0
and eax, edx
mov edx, dword [ebp + 4]
push 0
push eax
mov eax, dword [esp + 0x64]
push eax
push ecx
push ebx
push esi
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [edi + 4]
mov ecx, dword [0x4ab214]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
push 0
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectClipRgn
or esi, 0xffffffff
mov dword [esp + 0x6c], esi
mov dword [esp + 0x1c], 0x48e908
mov dword [esp + 0x6c], esi
mov dword [esp + 0x1c], 0x48c38c
mov dword [esp + 0x6c], 4
lea ecx, [esp + 0x1c]
jmp 0x41c048
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add ebp, ecx
mov ecx, dword [edi + 0x15c]
lea ebx, [esi + eax]
mov eax, dword [esp + 0x78]
add edx, ebx
push eax
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x14]
mov esi, ebp
push ecx
mov ecx, edi
sub esi, edx
call sub.MFC42.DLL_CWnd::IsWindowEnabled
neg eax
sbb eax, eax
lea ecx, [esp + 0x24]
and al, 0xfe
add eax, 2
push eax
call sub.MFC42.DLL_CPen::CPen
mov edi, dword [esp + 0x74]
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
mov dword [esp + 0x70], 5
call sub.MFC42.DLL_CDC::SelectObject
mov dword [esp + 0x74], eax
push ebp
lea eax, [esp + 0x18]
push ebx
push eax
mov ecx, edi
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x3c]
push esi
push ecx
mov ecx, edi
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x74]
mov ecx, edi
push edx
call sub.MFC42.DLL_CDC::SelectObject
or esi, 0xffffffff
mov dword [esp + 0x6c], esi
mov dword [esp + 0x1c], 0x48c378
mov dword [esp + 0x6c], esi
mov dword [esp + 0x1c], 0x48c38c
mov dword [esp + 0x6c], 7
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x6c], esi
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 8