Function at 0x42d2e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bf534
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0xb0], edi
lea eax, [edi + 0x9c]
mov ecx, dword [edi + 0x9c]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0x228]
mov edx, dword [eax + 0xc]
mov eax, dword [edi + 0x22c]
push eax
lea eax, [esp + 0x2c]
push ecx
push eax
mov dword [esp + 0x40], edx
call dword [sym.imp.USER32.dll_OffsetRect]
lea ecx, [esp + 0x10]
call fcn.004274e0
mov ebp, vtable.CBrush.0
mov dword [esp + 0x10], ebp
mov eax, dword [edi + 0x130]
mov dword [esp + 0xec], 0
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x14]
call fcn.004b647a
test eax, eax
je 0x42dae5
lea ecx, [esp + 0x18]
call fcn.004274e0
mov ebx, vtable.CPen.0
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x48]
call fcn.004274e0
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x40]
call fcn.004274e0
mov dword [esp + 0x40], ebx
lea ecx, [esp + 0x38]
call fcn.004274e0
mov dword [esp + 0x38], ebx
mov eax, dword [edi + 0xb4]
mov byte [esp + 0xec], 4
cmp eax, 1
je 0x42d49e
cmp eax, 2
je 0x42d49e
test eax, eax
jne 0x42d3e7
mov eax, dword [edi + 0x134]
jmp 0x42d3ed
mov eax, dword [edi + 0x130]
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x1c]
call fcn.004b647a
test eax, eax
jne 0x42d44e
lea ecx, [esp + 0x38]
mov byte [esp + 0xec], 3
mov dword [esp + 0x38], ebx
call fcn.00402550
lea ecx, [esp + 0x40]
mov byte [esp + 0xec], 2
mov dword [esp + 0x40], ebx
call fcn.00402550
mov dword [esp + 0x48], vtable.CGdiObject.0
lea ecx, [esp + 0x48]
mov byte [esp + 0xec], 9
call fcn.004b64d1
jmp 0x42dad0
mov esi, dword [esp + 0xf4]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004b5bb0
lea edx, [esp + 0x18]
mov ecx, esi
push edx
mov dword [esp + 0xac], eax
call fcn.004b5bb0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebp, eax
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Ellipse]
mov ebx, vtable.CGdiObject.0
jmp 0x42d9cf
dec eax
mov esi, dword [sym.imp.GDI32.dll_CreatePen]
neg eax
sbb eax, eax
and eax, 0xff808081
add eax, 0xffffff
push eax
push 1
push 0
call esi
push eax
lea ecx, [esp + 0x1c]
call fcn.004b647a
test eax, eax
je 0x42da91
mov eax, dword [edi + 0xb4]
dec eax
neg eax
sbb eax, eax
and eax, 0xff5f5f60
add eax, 0xe0e0e0
push eax
push 1
push 0
call esi
push eax
lea ecx, [esp + 0x4c]
call fcn.004b647a
test eax, eax
je 0x42da91
mov eax, dword [edi + 0xb4]
dec eax
neg eax
sbb eax, eax
and eax, 0xbfbfbf
add eax, 0x404040
push eax
push 1
push 0
call esi
push eax
lea ecx, [esp + 0x44]
call fcn.004b647a
test eax, eax
je 0x42da91
mov edi, dword [edi + 0xb4]
dec edi
neg edi
sbb edi, edi
and edi, 0x606060
add edi, 0x808080
push edi
push 1
push 0
call esi
push eax
lea ecx, [esp + 0x3c]
call fcn.004b647a
test eax, eax
je 0x42da91
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
push 0
push 0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x84], ecx
push 0
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], esi
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], esi
mov dword [esp + 0x98], eax
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], esi
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], esi
call fcn.004b7f9b
push 0
push 0
push 1
push 0
lea ecx, [esp + 0x68]
call fcn.004b7f9b
push 0
push 1
push 0
push 0
lea ecx, [esp + 0xa8]
call fcn.004b7f9b
push 1
push 0
push 0
push 0
lea ecx, [esp + 0x98]
call fcn.004b7f9b
push 1
push 1
push 1
push 1
lea ecx, [esp + 0x88]
call fcn.004b7f9b
mov esi, dword [esp + 0xf4]
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.004b5bb0
mov dword [esp + 0xac], eax
mov eax, dword [esi]
push 5
mov ecx, esi
call dword [eax + 0x24]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov edi, dword [sym.imp.GDI32.dll_Ellipse]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call edi
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
push eax
push ecx
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call edi
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call edi
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call edi
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push eax
mov eax, dword [esp + 0x8c]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call edi
lea edx, [esp + 0x48]
mov ecx, esi
push edx
call fcn.004b5bb0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.004b5bb0
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call edi
mov ecx, dword [esi + 8]
lea eax, [esp + 0xb4]
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetWindowOrgEx]
mov ebp, dword [esp + 0xb4]
mov ebx, dword [esp + 0xb8]
mov edx, dword [esi]
lea eax, [esp + 0xbc]
push eax
mov ecx, esi
neg ebp
neg ebx
call dword [edx + 0x50]
lea ecx, [esp + 0x20]
call fcn.004274e0
mov dword [esp + 0x20], vtable.CRgn.0
lea ecx, [esp + 0x50]
call fcn.004274e0
mov dword [esp + 0x50], vtable.CRgn.0
lea ecx, [esp + 0xbc]
mov byte [esp + 0xec], 6
push ecx
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push eax
lea ecx, [esp + 0x24]
call fcn.004b647a
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x2c]
push 1
lea edx, [esp + 0xd0]
push 3
push edx
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ecx
call dword [sym.imp.GDI32.dll_CreatePolygonRgn]
push eax
lea ecx, [esp + 0x54]
call fcn.004b647a
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x50]
neg eax
mov edx, dword [esp + 0x24]
push 1
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x24]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call dword [sym.imp.GDI32.dll_CombineRgn]
lea ecx, [esp + 0x50]
call fcn.004b64d1
mov eax, dword [esp + 0x24]
push ebx
push ebp
push eax
call dword [sym.imp.GDI32.dll_OffsetRgn]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.004b5f0e
lea edx, [esp + 0x40]
mov ecx, esi
push edx
call fcn.004b5bb0
mov eax, dword [esi]
push 5
mov ecx, esi
call dword [eax + 0x24]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call edi
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call edi
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call edi
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call edi
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push eax
mov eax, dword [esp + 0x8c]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call edi
lea edx, [esp + 0x38]
mov ecx, esi
push edx
call fcn.004b5bb0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.004b5bb0
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call edi
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc0]
push eax
mov eax, dword [esp + 0xc0]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetRectRgn]
mov edx, dword [esp + 0x24]
push ebx
push ebp
push edx
call dword [sym.imp.GDI32.dll_OffsetRgn]
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.004b5f0e
lea ecx, [esp + 0x20]
call fcn.004b64d1
mov ebx, vtable.CGdiObject.0
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x50]
mov byte [esp + 0xec], 7
call fcn.004b64d1
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0xec], 8
call fcn.004b64d1
mov edi, dword [esp + 0xb0]
mov ebp, dword [esp + 0xac]
mov byte [esp + 0xec], 4
push ebp
mov ecx, esi
call fcn.004b5bb0
mov ecx, dword [esp + 0xa8]
push ecx
mov ecx, esi
call fcn.004b5bb0
lea ecx, [esp + 0x10]
call fcn.004b64d1
lea ecx, [esp + 0x18]
call fcn.004b64d1
mov edi, dword [edi + 0xb4]
cmp edi, 1
je 0x42da08
cmp edi, 2
jne 0x42da23
lea ecx, [esp + 0x48]
call fcn.004b64d1
lea ecx, [esp + 0x40]
call fcn.004b64d1
lea ecx, [esp + 0x38]
call fcn.004b64d1
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0xec], 0xa
call fcn.004b64d1
mov esi, vtable.CPen.0
lea ecx, [esp + 0x40]
mov byte [esp + 0xec], 2
mov dword [esp + 0x40], esi
call fcn.00402550
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0xec], 0xb
call fcn.004b64d1
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 0
mov dword [esp + 0x18], esi
call fcn.00402550
mov dword [esp + 0xec], 0xffffffff
mov dword [esp + 0x10], vtable.CBrush.0
jmp 0x42daf4
lea ecx, [esp + 0x38]
mov byte [esp + 0xec], 3
mov dword [esp + 0x38], ebx
call fcn.00402550
lea ecx, [esp + 0x40]
mov byte [esp + 0xec], 2
mov dword [esp + 0x40], ebx
call fcn.00402550
lea ecx, [esp + 0x48]
mov byte [esp + 0xec], 1
mov dword [esp + 0x48], ebx
call fcn.00402550
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 0
mov dword [esp + 0x18], ebx
call fcn.00402550
mov dword [esp + 0xec], 0xffffffff
mov dword [esp + 0x10], ebp
lea ecx, [esp + 0x10]
call fcn.00402550
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe0
ret 4