Function at 0x401120
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4dd41e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebx, 1
lea ecx, [edi + 0x3c]
mov dword [edi + 0x5c], ebx
call fcn.004bffe1
lea ecx, [edi + 0x44]
call fcn.004bffe1
lea ecx, [edi + 0x4c]
call fcn.004bffe1
lea ecx, [edi + 0x54]
call fcn.004bffe1
mov ecx, dword [edi + 0x1c]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0x12
call esi
push 0xf
mov dword [esp + 0x40], eax
call esi
mov ecx, eax
xor edx, edx
shr ecx, 0x10
and ecx, 0xff
mov dl, ah
and edx, 0xff
mov ebp, ecx
mov dword [esp + 0x14], eax
mov esi, eax
and ebp, 0xfffffffe
mov eax, edx
shl ebp, 8
and al, 0xfe
and esi, 0xff
or ebp, eax
mov eax, esi
shl ebp, 7
shr eax, 1
add ecx, 0xff
or ebp, eax
sar ecx, 1
xor eax, eax
add edx, 0xff
mov ah, cl
add esi, 0xff
sar edx, 1
mov al, dl
xor edx, edx
sar esi, 1
shl eax, 8
and esi, 0xff
or eax, esi
mov ecx, eax
mov dword [esp + 0x38], eax
shr ecx, 0x10
and ecx, 0xff
add ecx, 0xff
sar ecx, 1
mov dh, cl
xor ecx, ecx
mov cl, ah
and eax, 0xff
and ecx, 0xff
add eax, 0xff
add ecx, 0xff
sar ecx, 1
mov dl, cl
lea ecx, [esp + 0x8c]
sar eax, 1
shl edx, 8
and eax, 0xff
or edx, eax
mov dword [esp + 0x40], edx
call fcn.00414310
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
sub edx, eax
mov eax, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
sub eax, edx
lea ecx, [esp + 0x90]
push eax
mov dword [esp + 0xe4], 0
call fcn.00414390
mov ecx, dword [0x510fe4]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x10]
mov ecx, edi
push edx
mov byte [esp + 0xe0], bl
call fcn.004b846d
mov eax, dword [esp + 0x90]
push eax
call fcn.004bf3eb
mov ecx, dword [edi + 0x1c]
push 0
push 0
push 0x31
push ecx
mov esi, eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [esi]
push eax
call fcn.004bff75
push eax
mov ecx, esi
call dword [ebx + 0x28]
mov edx, dword [esi]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
call dword [edx + 0x30]
mov edx, dword [esi]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
mov ecx, esi
push eax
call dword [edx + 0x2c]
push 1
mov ecx, esi
mov dword [esp + 0x38], eax
call fcn.004bf609
push 6
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.004bfa9f
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
mov edx, dword [ecx - 8]
push 0
push edx
mov edx, dword [esi + 4]
sub eax, ebx
mov ebx, dword [sym.imp.GDI32.dll_ExtTextOutA]
push ecx
lea ecx, [esp + 0x24]
sar eax, 1
push ecx
add eax, 2
push 6
push 7
push eax
push edx
call ebx
call dword [sym.imp.GDI32.dll_GdiFlush]
lea ecx, [esp + 0x8c]
call fcn.00414f20
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
sub eax, edx
push 0
mov edx, dword [ecx - 8]
push edx
lea edx, [esp + 0x20]
push ecx
push edx
sar eax, 1
push 4
push 4
push eax
mov eax, dword [esi + 4]
push eax
call ebx
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, esi
call fcn.004bfa9f
mov edx, dword [esp + 0x2c]
mov ecx, esi
push edx
call fcn.004bf609
mov ecx, dword [esp + 0x34]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov eax, dword [esp + 0x28]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x28]
call dword [sym.imp.GDI32.dll_GdiFlush]
lea ecx, [esp + 0x44]
call fcn.00414310
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
sub ecx, esi
sub edx, eax
push ecx
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0xe4], 2
call fcn.00414390
mov eax, dword [esp + 0x48]
push eax
call fcn.004bf3eb
mov ecx, dword [edi + 0x1c]
push 0
push 0
push 0x31
push ecx
mov esi, eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [esi]
push eax
call fcn.004bff75
push eax
mov ecx, esi
call dword [ebx + 0x28]
mov ebx, dword [esp + 0x40]
mov edx, dword [esi]
push ebx
mov ecx, esi
mov dword [esp + 0x2c], eax
call dword [edx + 0x30]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
push 1
mov ecx, esi
mov dword [esp + 0x38], eax
call fcn.004bf609
push 6
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.004bfa9f
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
push 0
sub eax, ecx
mov ecx, dword [esp + 0x14]
sar eax, 1
mov edx, dword [ecx - 8]
inc eax
push edx
lea edx, [esp + 0x20]
push ecx
push edx
push 6
push 5
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x30]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
sub eax, edx
push 0
mov edx, dword [ecx - 8]
push edx
mov edx, dword [esi + 4]
push ecx
lea ecx, [esp + 0x24]
push ecx
push 4
sar eax, 1
push 4
push eax
push edx
call dword [sym.imp.GDI32.dll_ExtTextOutA]
push ebp
lea eax, [esp + 0x1c]
push ebx
push eax
mov ecx, esi
call fcn.004cd916
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, esi
call fcn.004bfa9f
mov edx, dword [esp + 0x2c]
mov ecx, esi
push edx
call fcn.004bf609
mov ecx, dword [esp + 0x34]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov eax, dword [esp + 0x28]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x28]
call dword [sym.imp.GDI32.dll_GdiFlush]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
lea esi, [edi + 0x54]
push eax
mov ecx, esi
call fcn.004bff8a
mov eax, dword [edi + 0x58]
test eax, eax
je 0x401529
push esi
lea ecx, [esp + 0x48]
call fcn.00414650
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x48]
call fcn.004147a0
mov edx, dword [esp + 0x48]
push edx
call fcn.004bf3eb
mov esi, eax
push ebp
lea eax, [esp + 0x1c]
push ebx
push eax
mov ecx, esi
call fcn.004cd916
call dword [sym.imp.GDI32.dll_GdiFlush]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [edi + 0x3c]
call fcn.004bff8a
mov eax, dword [edi + 0x40]
test eax, eax
je 0x401591
lea eax, [edi + 0x3c]
lea ecx, [esp + 0x44]
push eax
call fcn.00414650
push 0x40
push 0xff
push 0xff
push 0xff
lea ecx, [esp + 0x54]
call fcn.00414710
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [edi + 0x4c]
call fcn.004bff8a
mov eax, dword [edi + 0x50]
test eax, eax
je 0x4015e2
lea eax, [edi + 0x4c]
lea ecx, [esp + 0x44]
push eax
call fcn.00414650
push 0xffffffffffffffff
lea ecx, [esp + 0x90]
push 1
push ecx
lea ecx, [esp + 0x50]
call fcn.004147f0
push ebx
lea edx, [esp + 0x1c]
push ebp
push edx
mov ecx, esi
call fcn.004cd916
call dword [sym.imp.GDI32.dll_GdiFlush]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
lea esi, [edi + 0x44]
push eax
mov ecx, esi
call fcn.004bff8a
mov eax, dword [edi + 0x48]
test eax, eax
je 0x401641
push esi
lea ecx, [esp + 0x48]
call fcn.00414650
mov eax, dword [edi + 0x1c]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x44]
mov byte [esp + 0xdc], 1
call fcn.00414370
lea ecx, [esp + 0x10]
mov byte [esp + 0xdc], 0
call fcn.004bb422
lea ecx, [esp + 0x8c]
mov dword [esp + 0xdc], 0xffffffff
call fcn.00414370
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd0
ret