Function at 0x409fb0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x447c61
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x2b50], eax
mov dword [esi + 0x2ab4], 0
call fcn.0043bf30
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
push 0x40e
push eax
call ebx
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 4]
mov ebp, dword [sym.imp.USER32.dll_ScreenToClient]
lea edx, [esp + 0x20]
push edx
push eax
call ebp
test eax, eax
je 0x40a02f
mov edx, dword [esi + 4]
lea ecx, [esp + 0x28]
push ecx
push edx
call ebp
lea edi, [esi + 0x2b28]
push 0x9966
mov ecx, edi
call fcn.004257d0
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
mov eax, dword [0x455a08]
test eax, eax
jne 0x40a05b
mov dword [0x455a08], 0
lea ecx, [edi + 0x1c]
push ecx
push 0x4559d8
push 0x457de8
call fcn.00406e50
push 0
push eax
mov eax, dword [esp + 0x1c]
push 0
push 0
push 0x56000000
lea edx, [esp + 0x34]
push 0
push edx
push eax
mov ecx, edi
call fcn.00407440
mov ecx, dword [esi + 4]
push 0x3fc
push ecx
call ebx
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x20]
push eax
push ecx
call ebp
test eax, eax
je 0x40a0be
mov eax, dword [esi + 4]
lea edx, [esp + 0x28]
push edx
push eax
call ebp
mov eax, dword [0x4559a8]
mov ebp, dword [esi + 4]
test eax, eax
lea edi, [esi + 0x2adc]
jne 0x40a0da
mov dword [0x4559a8], 0
lea ecx, [edi + 0x1c]
push ecx
push 0x455978
push 0x457de8
call fcn.00406e50
push 0
push eax
push 0
push 0x20
push 0x40000000
lea edx, [esp + 0x34]
push 0
push edx
push ebp
mov ecx, edi
call fcn.00407440
mov eax, dword [esp + 0x18]
mov ecx, edi
push eax
call fcn.0042b5d0
push 0xffffff
mov ecx, edi
call fcn.0042b600
push 0x9966
mov ecx, edi
call fcn.0042b5f0
mov eax, dword [0x45813c]
test eax, eax
jne 0x40a13a
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push 0
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.00425f80
add esp, 0xc
lea edx, [esp + 0x30]
mov ecx, edi
push edx
mov dword [esp + 0x88], 0
call fcn.0042b4a0
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov ecx, dword [eax]
push ecx
push 0
push 0x458188
lea ecx, [esi + 0x26e0]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
push 0x457dd4
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [esi + 0x2acc]
push eax
push 0x457dd4
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x457dd4
push 0x3fe
push edx
call edi
mov eax, dword [esi + 0x2b2c]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebp
mov ecx, dword [esi + 0x2ae0]
push 5
push ecx
call ebp
mov eax, dword [0x4581e4]
test eax, eax
jne 0x40a1dc
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov edx, dword [esi + 4]
push eax
push 2
push edx
call edi
mov eax, dword [esi + 4]
push 0x3ed
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0x640000
push 0
push 0x401
push eax
mov dword [esi + 0x30], eax
call ebp
mov ecx, dword [esi + 0x30]
push 0
push 1
push 0x404
push ecx
call ebp
mov edx, dword [esi + 4]
push 0x410
push edx
call ebx
or ecx, 0xffffffff
mov dword [esi + 0x2b4c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x437
push eax
call ebp
mov eax, dword [0x457ff4]
test eax, eax
jne 0x40a250
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov edx, dword [esi + 0x2b4c]
push eax
push 0
push 0xc2
push edx
call ebp
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 0x40]
push eax
rep stosd dword es:[edi], eax
push eax
mov eax, dword [esi + 0x2b4c]
mov ebx, 0x3c
mov edi, 1
push 0xc1
push eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
call ebp
mov edx, dword [esi + 0x2b4c]
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x437
push edx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], eax
call ebp
mov ecx, dword [esi + 0x2b4c]
lea eax, [esp + 0x40]
push eax
push edi
push 0x444
push ecx
mov dword [esp + 0x50], ebx
call ebp
mov dword [esp + 0x10], 0
lea edx, [esp + 0x10]
mov byte [esp + 0x84], 1
push edx
push 0x455b08
push 0x17
push 0
push 0x44cb40
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x40a331
mov ebx, dword [esi + 0x2b54]
lea edi, [esi + 0x2b54]
mov dword [edi], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40a31b
mov ecx, dword [eax]
push edi
push 0x455af8
push eax
call dword [ecx]
test ebx, ebx
je 0x40a325
mov edx, dword [ebx]
push ebx
call dword [edx + 8]
mov edi, dword [edi]
test edi, edi
je 0x40a331
mov eax, dword [edi]
push edi
call dword [eax + 0xc]
mov edx, dword [esi + 0x20]
lea ecx, [esi + 0x20]
call dword [edx + 0xc]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
test eax, eax
mov byte [esp + 0x78], 0
pop ebx
je 0x40a351
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x40a384
mov al, byte [ecx - 1]
test al, al
je 0x40a378
cmp al, 0xff
je 0x40a378
dec al
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret
add ecx, 0xfffffffe
push ecx
call fcn.0043c8a0
add esp, 4
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret