Function at 0x449900
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d3323
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0x78]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebp, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x60], eax
mov dword [esp + 0x18], ecx
sub ecx, eax
mov ebx, ebp
sub ebx, esi
mov eax, 0x2aaaaaab
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x30], esi
add esi, eax
mov eax, 0x66666667
imul ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x94], esi
mov dword [esp + 0x2c], esi
mov esi, ebp
sub esi, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x7c]
lea ebx, [eax + edx]
mov eax, 0x88888889
imul ecx
mov eax, dword [esp + 0x84]
add edx, ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
mov dword [edi + 0xa0], eax
sub eax, ebx
mov dword [edi + 0x98], esi
sub esi, dword [esp + 0x2c]
mov dword [edi + 0xa8], eax
mov eax, dword [edi + 0x54]
cmp eax, 0xa
mov dword [edi + 0x9c], ebx
mov dword [edi + 0xa4], esi
mov edx, dword [eax*4 + 0x511f28]
mov dword [esp + 0x88], ebp
mov dword [esp + 0x20], edx
ja case.0x4499fb.6
jmp dword [eax*4 + 0x44a320]
mov dword [esp + 0x14], 0x28
jmp case.0x4499fb.6
mov dword [esp + 0x14], 0x3c
jmp case.0x4499fb.6
mov dword [esp + 0x14], 0x46
jmp case.0x4499fb.6
mov dword [esp + 0x14], 0x2d
jmp case.0x4499fb.6
mov dword [esp + 0x14], 0x32
mov eax, dword [edi + 0x70]
xor ebp, ebp
cmp dword [eax + 0x4e8], ebp
jne 0x449a64
mov eax, dword [edi + 0x58]
cmp eax, 0x14
jge 0x449a51
mov dword [esp + 0x28], 2
jmp 0x449a64
xor ecx, ecx
cmp eax, 0x24
setge cl
lea ecx, [ecx*4 + 4]
mov dword [esp + 0x28], ecx
mov esi, dword [esp + 0x10c]
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push 0x11
mov ecx, esi
call eax
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], vtable.CBrush.0
mov ebx, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xffffff
mov dword [esp + 0x108], ebp
call ebx
push eax
lea ecx, [esp + 0x5c]
call fcn.00492aef
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], vtable.CBrush.0
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
mov byte [esp + 0x108], 1
call ebp
push eax
call ebx
push eax
lea ecx, [esp + 0x4c]
call fcn.00492aef
mov ecx, dword [esi + 4]
push 0xf
mov dword [esp + 0x30], ecx
call ebp
mov edx, dword [esp + 0x2c]
push eax
push edx
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xf
call ebp
push eax
push 1
push 0
lea ecx, [esp + 0x74]
call fcn.00492c83
mov ecx, dword [esp + 0x6c]
mov eax, dword [esi + 4]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push eax
call ebp
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 4]
push edx
push eax
call ebp
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x38]
push ecx
mov dword [esp + 0x28], eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 4]
push ecx
push eax
call ebp
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 4]
push edx
push eax
call ebp
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], vtable.CBrush.0
push 0xffffff
mov byte [esp + 0x108], 3
call ebx
push eax
lea ecx, [esp + 0x3c]
call fcn.00492aef
push 0xffffff
push 1
push 0
lea ecx, [esp + 0x7c]
call fcn.00492c83
mov ecx, dword [esp + 0x74]
mov eax, dword [esi + 4]
push ecx
push eax
mov byte [esp + 0x10c], 4
call ebp
mov edx, dword [esp + 0x3c]
mov ebx, eax
mov eax, dword [esi + 4]
push edx
push eax
call ebp
mov ecx, dword [edi + 0xa0]
mov edx, dword [edi + 0x98]
push ecx
mov ecx, dword [edi + 0x9c]
push edx
mov edx, dword [edi + 0x94]
push ecx
mov dword [esp + 0x28], eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
mov eax, dword [esi + 4]
push ebx
push eax
call ebp
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 4]
push ecx
push eax
call ebp
mov eax, dword [esi + 4]
lea edx, [esp + 0x90]
push edx
push 2
push 0x4dcb40
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x94]
push 0xe0e0e0
push 1
push 0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x38], eax
call fcn.00492c83
push 0xc0c0c0
push 1
push 0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x110], 5
call fcn.00492c83
mov eax, dword [esi + 4]
push 6
push eax
mov byte [esp + 0x10c], 6
call dword [sym.imp.GDI32.dll_SetTextAlign]
xor ebx, ebx
cmp dword [esp + 0x14], ebx
jl 0x449dad
mov dword [esp + 0x1c], ebx
lea ebx, [ebx]
mov eax, dword [edi + 0xa4]
imul eax, ebx
cdq
idiv dword [esp + 0x14]
add eax, dword [edi + 0x94]
mov dword [esp + 0x18], eax
mov eax, 0x66666667
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
mov edx, ebx
sub edx, ecx
mov ecx, esi
jne 0x449d4a
mov eax, dword [esp + 0x44]
push eax
call fcn.00404700
push eax
call ebp
fld1
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x54]
fcomp qword [eax*8 + 0x511f80]
fnstsw ax
test ah, 0x44
mov eax, dword [esp + 0x1c]
cdq
jp 0x449cdc
idiv dword [esp + 0x14]
lea ecx, [esp + 0x98]
push eax
push 0x4da260
push ecx
call fcn.004b09b2
add esp, 0xc
jmp 0x449d0d
idiv dword [esp + 0x14]
sub esp, 8
lea edx, [esp + 0xa0]
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
mov eax, dword [edi + 0x54]
fdiv qword [eax*8 + 0x511f80]
fstp qword [esp]
push str._4.1f
push edx
call fcn.004b09b2
add esp, 0x10
lea eax, [esp + 0x98]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x449d17
mov ecx, dword [edi + 0xa0]
sub eax, edx
mov edx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x9c]
push eax
add ecx, 5
push ecx
push edx
mov ecx, esi
call fcn.00404700
push eax
call dword [sym.imp.GDI32.dll_TextOutA]
jmp 0x449d5b
mov eax, dword [esp + 0x54]
push eax
call fcn.00404700
push eax
call ebp
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 0x9c]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call fcn.00492531
mov ecx, dword [edi + 0xa0]
mov edx, dword [esp + 0x18]
add ecx, 2
push ecx
push edx
mov ecx, esi
call fcn.004921d9
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.00404700
push eax
call ebp
mov ecx, dword [esp + 0x20]
add dword [esp + 0x1c], ecx
add ebx, 1
cmp ebx, dword [esp + 0x14]
jle 0x449c60
mov eax, dword [esi + 4]
push 2
push eax
call dword [sym.imp.GDI32.dll_SetTextAlign]
xor ebx, ebx
cmp dword [edi + 0x58], ebx
jl 0x449ebb
mov eax, dword [edi + 0xa8]
imul eax, ebx
cdq
idiv dword [edi + 0x58]
mov ecx, dword [edi + 0xa0]
sub ecx, eax
mov eax, ebx
cdq
idiv dword [esp + 0x28]
mov dword [esp + 0x18], ecx
mov ecx, esi
test edx, edx
jne 0x449e61
mov edx, dword [esp + 0x44]
push edx
call fcn.00404700
push eax
call ebp
test ebx, ebx
mov dword [esp + 0x10], eax
je 0x449e72
lea eax, [edi + 0x65]
push eax
push ebx
lea ecx, [esp + 0xa0]
push str._d__s
push ecx
call fcn.004b09b2
lea eax, [esp + 0xa8]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x449e23
mov ecx, dword [esp + 0x18]
sub eax, edx
push eax
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x9c]
push edx
cdq
sub eax, edx
mov edx, dword [edi + 0x94]
sar eax, 1
sub ecx, eax
push ecx
sub edx, 7
push edx
mov ecx, esi
call fcn.00404700
push eax
call dword [sym.imp.GDI32.dll_TextOutA]
jmp 0x449e72
mov eax, dword [esp + 0x54]
push eax
call fcn.00404700
push eax
call ebp
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0x94]
push ecx
sub edx, 2
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.00492531
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0x98]
push ecx
push edx
mov ecx, esi
call fcn.004921d9
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.00404700
push eax
call ebp
add ebx, 1
cmp ebx, dword [edi + 0x58]
jle 0x449dc4
cmp dword [edi + 0x5c], 0
je 0x44a0a0
mov ebx, dword [edi + 0x70]
mov eax, dword [ebx + 0x1650]
cmp eax, 2
je 0x449eec
cmp eax, 0x10
jge 0x449eec
cmp dword [ebx + 0x4e8], 0
fild dword [edi + 0x58]
jne 0x449f00
fmul qword [0x4de728]
jmp 0x449f06
cmp dword [ebx + 0x4e8], 0
fild dword [edi + 0x58]
jne 0x449f00
fmul qword [0x4ded58]
jmp 0x449f06
fmul qword [0x4e01c8]
call fcn.004b0540
push eax
push 0
add ebx, 0x1628
push ebx
call fcn.0043be60
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
add esp, 0xc
cmp eax, 0x10
fild dword [esp + 0x1c]
mov dword [edi + 0x60], ecx
mov dword [esp + 0x28], 4
fst qword [esp + 0x60]
fmul qword [0x4dd118]
fidiv dword [esp + 0x20]
fstp qword [esp + 0x30]
jge 0x449f6a
mov dword [esp + 0x28], 2
jmp 0x449f77
cmp eax, 8
jge 0x449f77
mov dword [esp + 0x28], 1
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.GDI32.dll_SetTextAlign]
xor ebx, ebx
cmp dword [esp + 0x1c], ebx
jl 0x44a0a0
nop
mov ecx, dword [edi + 0xa8]
fild dword [edi + 0xa0]
imul ecx, ebx
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
fmul qword [esp + 0x30]
fdiv qword [esp + 0x60]
fsubp st(1)
call fcn.004b0540
mov dword [esp + 0x18], eax
mov eax, ebx
cdq
idiv dword [esp + 0x28]
mov ecx, esi
test edx, edx
jne 0x44a042
mov edx, dword [esp + 0x44]
push edx
call fcn.00404700
push eax
call ebp
test ebx, ebx
mov dword [esp + 0x10], eax
je 0x44a053
lea eax, [edi + 0x65]
push eax
push ebx
lea ecx, [esp + 0xa0]
push 0x4da260
push ecx
call fcn.004b09b2
lea eax, [esp + 0xa8]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x44a004
mov ecx, dword [esp + 0x18]
sub eax, edx
push eax
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x9c]
push edx
cdq
sub eax, edx
mov edx, dword [edi + 0x98]
sar eax, 1
sub ecx, eax
push ecx
add edx, 4
push edx
mov ecx, esi
call fcn.00404700
push eax
call dword [sym.imp.GDI32.dll_TextOutA]
jmp 0x44a053
mov eax, dword [esp + 0x54]
push eax
call fcn.00404700
push eax
call ebp
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0x98]
push ecx
push edx
lea eax, [esp + 0x90]
push eax
mov ecx, esi
call fcn.00492531
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0x98]
push ecx
add edx, 2
push edx
mov ecx, esi
call fcn.004921d9
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.00404700
push eax
call ebp
add ebx, 1
cmp ebx, dword [esp + 0x1c]
jle 0x449f90
mov eax, dword [edi + 0x84]
test eax, eax
mov dword [edi + 0x90], eax
mov dword [edi + 0x88], 0
je 0x44a11f
lea ebx, [ebx]
mov eax, dword [edi + 0x90]
test byte [eax + 0x161c], 1
je 0x44a109
cmp dword [eax + 0x3730], 0
je 0x44a109
xor ebx, ebx
cmp dword [eax + 0x1660], ebx
jle 0x44a102
mov ecx, dword [edi + 0x88]
push ecx
push ebx
mov ecx, edi
call fcn.004495a0
mov edx, dword [edi + 0x90]
add ebx, 1
cmp ebx, dword [edx + 0x1660]
jl 0x44a0e2
add dword [edi + 0x88], 1
mov eax, dword [edi + 0x90]
mov ecx, dword [eax + 0x3734]
test ecx, ecx
mov dword [edi + 0x90], ecx
jne 0x44a0c0
cmp dword [edi + 0x78], 0
jle 0x44a1c1
push 0xff
push 1
push 0
lea ecx, [esp + 0x2c]
call fcn.00492c83
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 4]
push edx
push eax
mov byte [esp + 0x10c], 7
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x54]
mov ecx, dword [eax*4 + 0x511f54]
mov eax, dword [edi + 0x78]
imul dword [edi + 0xa4]
push 0
push ecx
push edx
push eax
call fcn.004b0d50
mov edx, dword [edi + 0x9c]
mov ebx, eax
add ebx, dword [edi + 0x94]
push edx
push ebx
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.00492531
mov ecx, dword [edi + 0xa0]
push ecx
push ebx
mov ecx, esi
call fcn.004921d9
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 4]
push edx
push eax
call ebp
mov ebx, vtable.CPen.0
lea ecx, [esp + 0x20]
mov byte [esp + 0x104], 6
mov dword [esp + 0x20], ebx
call fcn.00402cb0
jmp 0x44a1c6
mov ebx, vtable.CPen.0
cmp dword [edi + 0x7c], 0
jle 0x44a26a
push 0xff00ff
push 1
push 0
lea ecx, [esp + 0x2c]
call fcn.00492c83
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 4]
push ecx
push eax
mov byte [esp + 0x10c], 8
call ebp
mov edx, dword [edi + 0x54]
mov ecx, dword [edx*4 + 0x511f54]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x7c]
imul dword [edi + 0xa4]
push 0
push ecx
push edx
push eax
call fcn.004b0d50
mov edx, dword [edi + 0x9c]
mov ebx, eax
add ebx, dword [edi + 0x94]
push edx
push ebx
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.00492531
mov ecx, dword [edi + 0xa0]
push ecx
push ebx
mov ecx, esi
call fcn.004921d9
mov edx, dword [esp + 0x10]
mov esi, dword [esi + 4]
push edx
push esi
call ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0x104], 6
mov dword [esp + 0x20], vtable.CPen.0
call fcn.00402cb0
mov ebx, vtable.CPen.0
lea ecx, [esp + 0x40]
mov byte [esp + 0x104], 5
mov dword [esp + 0x40], ebx
call fcn.00402cb0
lea ecx, [esp + 0x50]
mov byte [esp + 0x104], 4
mov dword [esp + 0x50], ebx
call fcn.00402cb0
lea ecx, [esp + 0x70]
mov byte [esp + 0x104], 3
mov dword [esp + 0x70], ebx
call fcn.00402cb0
mov esi, vtable.CBrush.0
lea ecx, [esp + 0x38]
mov byte [esp + 0x104], 2
mov dword [esp + 0x38], esi
call fcn.00402cb0
lea ecx, [esp + 0x68]
mov byte [esp + 0x104], 1
mov dword [esp + 0x68], ebx
call fcn.00402cb0
lea ecx, [esp + 0x48]
mov byte [esp + 0x104], 0
mov dword [esp + 0x48], esi
call fcn.00402cb0
lea ecx, [esp + 0x58]
mov dword [esp + 0x104], 0xffffffff
mov dword [esp + 0x58], esi
call fcn.00402cb0
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xf8
ret 4