Function at 0x4131f0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00415960
mov ecx, eax
call fcn.00415a20
mov ecx, eax
call fcn.00419ce0
push 0xffffff
mov dword [esi + 0x78], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x154], eax
call fcn.0043bf30
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
push 0x40e
push eax
call ebp
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_ScreenToClient]
lea edx, [esp + 0x1c]
push edx
push eax
call ebx
test eax, eax
je 0x413266
mov edx, dword [esi + 4]
lea ecx, [esp + 0x24]
push ecx
push edx
call ebx
lea edi, [esi + 0x12c]
push 0x9966
mov ecx, edi
call fcn.004257d0
mov eax, dword [esi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [0x455a08]
test eax, eax
jne 0x413292
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 + 0x18]
push 0
push 0
push 0x56000000
lea edx, [esp + 0x30]
push 0
push edx
push eax
mov ecx, edi
call fcn.00407440
mov ecx, dword [esi + 0x130]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push 0x3fd
push edx
call ebp
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 4]
lea edx, [esp + 0x1c]
push edx
push eax
call ebx
test eax, eax
je 0x413304
mov edx, dword [esi + 4]
lea ecx, [esp + 0x24]
push ecx
push edx
call ebx
mov eax, dword [0x4559a8]
mov ebx, dword [esi + 4]
test eax, eax
lea edi, [esi + 0x94]
jne 0x413320
mov dword [0x4559a8], 0
lea eax, [edi + 0x1c]
push eax
push 0x455978
push 0x457de8
call fcn.00406e50
push 0
push eax
push 0
push 0x20
push 0x40000000
lea ecx, [esp + 0x30]
push 0
push ecx
push ebx
mov ecx, edi
call fcn.00407440
mov edx, dword [esp + 0x14]
mov ecx, edi
push edx
call fcn.0042b5d0
push 0x9966
mov ecx, edi
call fcn.0042b5f0
push 0x458148
mov ecx, edi
call fcn.0042b4a0
mov eax, dword [esi + 0x98]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4581e4]
test eax, eax
jne 0x41338f
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 ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
push 2
push ecx
call edi
mov eax, dword [0x4581b4]
test eax, eax
jne 0x4133ac
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 0x3f6
push edx
call edi
mov eax, dword [esi + 4]
push 0x411
push eax
mov dword [esi + 0x8c], 0
call ebp
or ecx, 0xffffffff
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
mov dword [esi + 0x150], eax
push ecx
push 0
push 0x437
push eax
call ebx
mov eax, dword [0x457ff4]
test eax, eax
jne 0x413401
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 + 0x150]
push eax
push 0
push 0xc2
push edx
call ebx
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 0x2c]
push eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], eax
push eax
mov eax, dword [esi + 0x150]
mov edi, 1
push 0xc1
push eax
mov dword [esp + 0x3c], 0x3c
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
call ebx
mov edx, dword [esi + 0x150]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x437
push edx
mov dword [esp + 0x28], eax
call ebx
mov ecx, dword [esi + 0x150]
lea eax, [esp + 0x2c]
push eax
push edi
push 0x444
push ecx
mov dword [esp + 0x3c], 0x3c
call ebx
mov edx, dword [esi + 4]
push 0x413
push edx
call ebp
mov edi, eax
mov dword [esi + 0x158], edi
mov eax, dword [0x457f1c]
test eax, eax
jne 0x41349e
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 eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0xf1
push edi
call ebx
mov eax, dword [esi + 4]
push 0
push 0
push 0x31
push eax
call ebx
mov ecx, dword [esi + 4]
push 0x415
push ecx
mov dword [esp + 0x1c], eax
call ebp
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 0x1c]
push eax
push ecx
call edi
test eax, eax
je 0x413502
mov eax, dword [esi + 4]
lea edx, [esp + 0x24]
push edx
push eax
call edi
mov eax, dword [0x4559a8]
mov ebp, dword [esi + 4]
test eax, eax
lea edi, [esi + 0xe0]
jne 0x41351e
mov dword [0x4559a8], 0
lea ecx, [edi + 0x1c]
push ecx
push 0x455978
push 0x457de8
call fcn.00406e50
mov ebx, eax
test bx, bx
je 0x41357f
lea edx, [edi + 8]
push edi
push edx
push 0x457de8
call fcn.0040f8b0
mov eax, dword [0x457dec]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 0
push eax
mov eax, dword [esp + 0x28]
push edi
sub ecx, eax
push ebp
push ecx
mov ecx, dword [esp + 0x30]
and ebx, 0xffff
sub edx, ecx
push edx
push eax
push ecx
push 0x40000000
push 0
push ebx
push 0x20
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov eax, dword [esp + 0x14]
mov ecx, edi
push eax
call fcn.0042b5d0
push 0xff0000
mov ecx, edi
call fcn.0042b5f0
push 0x457f18
mov ecx, edi
call fcn.0042b4a0
mov ecx, dword [esi + 0xe4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret