Function at 0x457550
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x478
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov esi, dword [sym.imp.USER32.dll_GetParent]
lea ebx, [ebp + 4]
push dword [ebx]
mov dword [esp + 0x1c], ebp
call esi
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.004179fe
cmp dword [ebp + 0x60], 0
lea ecx, [ebp + 0x58]
jne 0x4575ab
xor edx, edx
mov eax, ebp
test ecx, ecx
push 0x109
cmove eax, edx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [ebp + 0x5c]
call fcn.0041506d
push 4
push dword [ebx]
call fcn.0044bfe7
push dword [ebx]
call esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x45790d
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x48]
push ecx
push eax
call esi
lea eax, [esp + 0x48]
mov ecx, ebx
push eax
call fcn.0040c07b
lea eax, [esp + 0x1c]
push eax
push dword [ebx]
call esi
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.0040c07b
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x1c]
add eax, dword [esp + 0x50]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push ecx
push eax
mov ecx, ebx
call fcn.0040c0a1
lea esi, [esp + 0x1c]
lea edi, [esp + 0x48]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x1c]
push eax
push dword [ebp + 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebp + 4]
call fcn.0040c07b
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x15
call esi
mov edi, dword [esp + 0x48]
sub edi, dword [esp + 0x1c]
add edi, dword [esp + 0x50]
push 5
sub edi, eax
call esi
sub edi, eax
lea eax, [esp + 0x1c]
push ecx
sub edi, 5
lea ecx, [ebp + 0x60]
push eax
mov dword [esp + 0x2c], edi
call fcn.0040c0a1
lea ecx, [esp + 0x58]
call fcn.00403624
mov edi, dword [esp + 0x14]
push 0x3023
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.0040c07b
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
sub eax, ecx
push 0xfffffffffffffffd
cdq
pop ebx
idiv ebx
add ecx, eax
mov dword [esp + 0x2c], ecx
lea eax, [esp + 0x58]
push eax
push 0x35
call fcn.0044bfbe
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push esi
call ebx
push 0xfffffffffffffff0
push esi
mov ebp, eax
call ebx
mov ecx, dword [esp + 0x5c]
push ecx
push ecx
mov edx, esp
push ebp
mov ebp, dword [esp + 0x24]
push eax
push ecx
push ecx
mov eax, esp
mov dword [edx], 0x13c
lea ecx, [esp + 0x44]
push edi
mov dword [eax], ecx
lea ecx, [ebp + 0x88]
call fcn.00416464
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x31
push esi
call ebx
push 1
push eax
push 0x30
push dword [ebp + 0x8c]
call ebx
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
lea ecx, [esp + 0x270]
xorps xmm0, xmm0
mov dword [esp + 0x3c], ebx
movlpd qword [esp + 0x40], xmm0
call fcn.00403624
lea eax, [esp + 0x58]
push eax
push 0x34
call fcn.0044bfbe
push 0
push 0
push 0x31
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
cmp eax, 0xffffffff
jne 0x457779
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x40]
push ecx
push eax
push esi
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
add ecx, 0x10
add eax, 0xa
mov dword [esp + 0x1c], ecx
add eax, ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x30]
cdq
sub eax, edx
mov esi, eax
mov eax, ecx
cdq
sub eax, edx
sar esi, 1
sar eax, 1
sub esi, eax
push str.https:__www.metaquotes.net__lang__legal_policies
mov dword [esp + 0x24], esi
lea eax, [esi + ecx]
lea ecx, [esp + 0x274]
mov dword [esp + 0x2c], eax
call fcn.00403488
push str.enru
lea eax, [esp + 0x274]
push eax
call fcn.0044c0a5
mov ecx, dword [esp + 0x5c]
lea esi, [ebp + 0xac]
push ecx
push ecx
mov eax, esp
xor ebx, ebx
push ecx
push ecx
push ecx
push ecx
mov dword [eax], ebx
lea ecx, [esp + 0x34]
mov eax, esp
push edi
mov dword [eax], ecx
mov ecx, esi
call fcn.0041789e
test eax, eax
je 0x4578a5
or dword [ebp + 0x100], 2
push ebx
push ebx
push 0x31
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test byte [esi + 0x58], 8
mov dword [esp + 0x18], eax
je 0x457852
push dword [esi + 0x30]
call dword [sym.imp.GDI32.dll_DeleteObject]
and byte [esi + 0x58], 0xf7
mov eax, dword [esp + 0x18]
mov ecx, esi
mov dword [esi + 0x30], eax
call fcn.004149c7
push dword [esp + 0x274]
mov ecx, esi
call fcn.00413d02
push dword [esp + 0x5c]
mov ecx, esi
call fcn.00417986
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
call ebx
push 0x11
mov dword [ebp + 0x114], eax
call ebx
push 0x11
mov esi, eax
call ebx
mov dword [ebp + 0x108], eax
mov dword [ebp + 0x10c], esi
mov dword [ebp + 0x110], 0xee0000
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 2
push edi
call ebx
push 0x3025
push edi
mov esi, eax
call ebx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.0040c07b
push ecx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
call fcn.0040c0a1
push dword [esp + 0x3c]
and dword [esp + 0x278], 0
and dword [esp + 0x27c], 0
push edi
mov dword [esp + 0x278], 0x4654d8
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, ebp
call fcn.004573be
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 0x10