Function at 0x401940
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x40ae9b
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x412018]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x412018]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov esi, ecx
call dword [sym.imp.Controls.dll_public_virtual:_int___thiscall_CSkinDialog::OnInitDialog_void_]
mov eax, dword [esi + 0x234]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [esi + 0x20]
push 1
push 0x80
push eax
call edi
mov eax, dword [esi + 0x234]
mov ecx, dword [esi + 0x20]
push eax
xor ebx, ebx
push ebx
push 0x80
push ecx
call edi
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x48]
call dword [sym.imp.Controls.dll_public:_void___thiscall_CSkinImage::constructor_void_]
mov dword [esp + 0xf0], ebx
call sub.mfc90.dll_Ordinal_1137
mov eax, dword [eax + 8]
push 0x96
push eax
lea ecx, [esp + 0x50]
call dword [sym.imp.Controls.dll_public:_bool___thiscall_CSkinImage::LoadImageA_struct_HINSTANCE_____unsigned_int_]
mov edx, dword [esi + 0x24c]
mov edx, dword [edx + 0x144]
push 0x96
push esi
lea eax, [esp + 0x24]
push eax
lea edi, [esi + 0x24c]
push 0x50000000
push 0x40ceef
mov ecx, edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call edx
push 0xff00ff
lea eax, [esp + 0x4c]
push eax
mov ecx, edi
call dword [sym.imp.Controls.dll_public:_bool___thiscall_CRgnButton::SetNowButtonImage_class_CSkinImage___unsigned_long_int_]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
cdq
and edx, 3
push 4
add eax, edx
mov edx, dword [esp + 0x44]
push ecx
sar eax, 2
push eax
sub edx, eax
push 1
sub edx, 0xd
push edx
push esi
mov ecx, edi
call sub.mfc90.dll_Ordinal_6557
lea ecx, [esp + 0x78]
call dword [sym.imp.Controls.dll_public:_void___thiscall_CSkinImage::constructor_void_]
mov byte [esp + 0xf0], 1
call sub.mfc90.dll_Ordinal_1137
mov eax, dword [eax + 8]
push 0x8c
push eax
lea ecx, [esp + 0x80]
call dword [sym.imp.Controls.dll_public:_bool___thiscall_CSkinImage::LoadImageA_struct_HINSTANCE_____unsigned_int_]
mov dword [esp + 0x1c], ebx
mov eax, dword [esi + 0x32c]
mov edx, dword [eax + 0x144]
push 0x8c
push esi
lea ecx, [esp + 0x24]
push ecx
lea edi, [esi + 0x32c]
push 0x50000000
push 0x40ceef
mov ecx, edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call edx
push 0xff00ff
lea eax, [esp + 0x7c]
push eax
mov ecx, edi
call dword [sym.imp.Controls.dll_public:_bool___thiscall_CRgnButton::SetNowButtonImage_class_CSkinImage___unsigned_long_int_]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
cdq
and edx, 3
push 4
add eax, edx
mov edx, dword [esp + 0x44]
push ecx
sar eax, 2
push eax
sub edx, eax
push 1
sub edx, 0x37
push edx
push esi
mov ecx, edi
call sub.mfc90.dll_Ordinal_6557
call sub.mfc90.dll_Ordinal_1137
mov eax, dword [eax + 8]
push 1
push 0x91
push eax
lea ecx, [esi + 0x964]
call dword [sym.imp.Controls.dll_public:_bool___thiscall_CSkinButton::SetButtonImage_struct_HINSTANCE_____unsigned_int__bool_]
call sub.mfc90.dll_Ordinal_1137
mov eax, dword [eax + 8]
push 0x40ca30
push 0xaa
push eax
lea ecx, [esi + 0x244]
call dword [sym.imp.Controls.dll_public:_bool___thiscall_CPngImage::LoadImageA_struct_HINSTANCE_____unsigned_int__char_const__]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0xf4], 2
call dword [sym.imp.AppUtil.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_GetVersionString_void_]
add esp, 4
mov byte [esp + 0xf0], 3
cmp dword [eax + 0x18], 0x10
jb 0x401b7c
mov eax, dword [eax + 4]
jmp 0x401b7f
add eax, 4
push eax
lea ecx, [esp + 0x18]
push 0x40ca34
push ecx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf0], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edx, dword [esp + 0x14]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_6559
mov eax, dword [esi + 0x234]
push 0xffecd3
mov ecx, esi
mov dword [esi + 0x74], eax
call dword [sym.imp.Controls.dll_public:_void___thiscall_CSkinDialog::SetDialogColor_unsigned_long_int_]
mov eax, dword [esi + 0x234]
push 0xa
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push str.LuaStudio
push 0x800a
lea edi, [esi + 0x40c]
push esi
mov ecx, edi
call dword [sym.imp.Controls.dll_public:_int___thiscall_CSystemTray::Create_class_CWnd___unsigned_int__char_const___struct_HICON_____unsigned_int__int__char_const___char_const___unsigned_long_int__unsigned_int_]
mov ecx, dword [esp + 0x14]
push 0xa
push ebx
push ecx
push 0x40ca54
mov ecx, edi
call dword [sym.imp.Controls.dll_public:_int___thiscall_CSystemTray::ShowBalloon_char_const___char_const___unsigned_long_int__unsigned_int_]
mov edx, dword [esi + 0x234]
push edx
mov ecx, edi
call dword [sym.imp.Controls.dll_public:_int___thiscall_CSystemTray::SetIcon_struct_HICON____]
lea eax, [esi + 0x22c]
mov ecx, 0x859ff
lea edi, [esi + 0xa40]
mov dword [esi + 0x860], eax
mov dword [esi + 0x960], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x144]
push esi
mov dword [esi + 0x7cc], ecx
mov dword [esi + 0x8cc], ecx
push 0x83
mov ecx, edi
call edx
push esi
mov ecx, edi
call sub.mfc90.dll_Ordinal_1490
push ebx
mov ecx, edi
call sub.mfc90.dll_Ordinal_6584
mov eax, dword [esi + 0xb1c]
mov edx, dword [eax + 0x144]
lea edi, [esi + 0xb1c]
push esi
push 0x85
mov ecx, edi
call edx
push esi
mov ecx, edi
call sub.mfc90.dll_Ordinal_1490
push ebx
mov ecx, edi
call sub.mfc90.dll_Ordinal_6584
lea ecx, [esp + 0xc4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [esp + 0xf0], 4
mov ebx, 0x40ca7c
lea edi, [esp + 0xa8]
call fcn.00406620
mov dword [esp + 0x18], eax
mov ebx, 0x40ca90
lea edi, [esp + 0x1c]
mov byte [esp + 0xf0], 5
call fcn.00406620
mov ecx, dword [esp + 0x18]
mov edi, 0x10
mov byte [esp + 0xf0], 6
cmp dword [ecx + 0x18], edi
jb 0x401ce4
mov ecx, dword [ecx + 4]
jmp 0x401ce7
add ecx, 4
cmp dword [eax + 0x18], edi
jb 0x401cf1
mov eax, dword [eax + 4]
jmp 0x401cf4
add eax, 4
lea edx, [esp + 0xc4]
push edx
push ecx
push eax
push 0x80000002
call dword [sym.imp.AppUtil.dll_int___cdecl_GetRegKeyValue_struct_HKEY_____char_const___char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____]
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf0], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xa8]
mov byte [esp + 0xf0], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0xc8]
cmp dword [esp + 0xdc], edi
jae 0x401d4a
lea eax, [esp + 0xc8]
push eax
lea ecx, [esi + 0xa38]
call dword [sym.imp.mfc90.dll_Ordinal_820]
push 0
mov ecx, esi
call sub.mfc90.dll_Ordinal_6740
call fcn.00403380
push 0
push 1
mov ecx, esi
call sub.mfc90.dll_Ordinal_2899
mov ecx, eax
call sub.mfc90.dll_Ordinal_2360
push 0
lea ecx, [esi + 0x764]
call sub.mfc90.dll_Ordinal_2360
push 0
lea ecx, [esi + 0x864]
call sub.mfc90.dll_Ordinal_2360
push 0
push 0x3ed
mov ecx, esi
call sub.mfc90.dll_Ordinal_2899
mov ecx, eax
call sub.mfc90.dll_Ordinal_2360
push 0
push 0x3e9
mov ecx, esi
call sub.mfc90.dll_Ordinal_2899
mov ecx, eax
call sub.mfc90.dll_Ordinal_2360
mov eax, dword [esi + 0x20]
push 0
push 0xa
push 0x3e8
push eax
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esp + 0xc4]
mov byte [esp + 0xf0], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0xf0], 0
mov esi, dword [sym.imp.Controls.dll_public_virtual:_void___thiscall_CSkinImage::destructor_void_]
lea ecx, [esp + 0x78]
call esi
lea ecx, [esp + 0x48]
mov dword [esp + 0xf0], 0xffffffff
call esi
mov eax, 1
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00409fac
mov esp, ebp
pop ebp
ret