Function at 0x456b0c
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 + 0x2c], ebp
call esi
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.004179a3
cmp dword [ebp + 0x60], 0
lea ecx, [ebp + 0x58]
jne 0x456b67
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.00414fcc
push 4
push dword [ebx]
call fcn.0044b55b
push dword [ebx]
call esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x456ed9
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.0040bfe5
lea eax, [esp + 0x18]
push eax
push dword [ebx]
call esi
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
call fcn.0040bfe5
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x18]
add eax, dword [esp + 0x50]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push ecx
push eax
mov ecx, ebx
call fcn.0040c00b
lea esi, [esp + 0x18]
lea edi, [esp + 0x48]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x18]
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 + 0x18]
push eax
lea ecx, [ebp + 4]
call fcn.0040bfe5
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x15
call esi
mov edi, dword [esp + 0x48]
sub edi, dword [esp + 0x18]
add edi, dword [esp + 0x50]
push 5
sub edi, eax
call esi
sub edi, eax
lea eax, [esp + 0x18]
push ecx
sub edi, 5
lea ecx, [ebp + 0x60]
push eax
mov dword [esp + 0x28], edi
call fcn.0040c00b
lea ecx, [esp + 0x58]
call fcn.00403638
mov edi, dword [esp + 0x14]
push 0x3023
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.0040bfe5
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
sub eax, ecx
push 0xfffffffffffffffd
cdq
pop ebx
idiv ebx
add ecx, eax
mov dword [esp + 0x30], ecx
lea eax, [esp + 0x58]
push eax
push 0x35
call fcn.0044b532
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 + 0x34]
push eax
push ecx
push ecx
mov eax, esp
mov dword [edx], 0x13c
lea ecx, [esp + 0x48]
push edi
mov dword [eax], ecx
lea ecx, [ebp + 0x88]
call fcn.0041640a
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 0x3026
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
lea ecx, [esp + 0x270]
xorps xmm0, xmm0
mov dword [esp + 0x2c], ebx
movlpd qword [esp + 0x40], xmm0
call fcn.00403638
lea eax, [esp + 0x58]
push eax
push 0x34
call fcn.0044b532
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 0x456d41
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 + 0x18]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
add ecx, 0x10
add eax, 0xa
mov dword [esp + 0x18], ecx
add eax, ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x34]
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 + 0x20], esi
lea eax, [esi + ecx]
lea ecx, [esp + 0x274]
mov dword [esp + 0x28], eax
call fcn.0040349c
push str.enru
lea eax, [esp + 0x274]
push eax
call fcn.0044b619
mov ecx, dword [esp + 0x5c]
lea esi, [ebp + 0xac]
push ecx
push ecx
mov eax, esp
push ecx
push ecx
push ecx
and dword [eax], 0
push ecx
mov eax, esp
lea ecx, [esp + 0x30]
push edi
mov dword [eax], ecx
mov ecx, esi
call fcn.00417843
test eax, eax
je 0x456e72
or dword [ebp + 0x100], 2
push 0
push 0
push 0x31
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test byte [esi + 0x58], 8
mov dword [esp + 0x28], eax
je 0x456e1b
push dword [esi + 0x30]
call dword [sym.imp.GDI32.dll_DeleteObject]
and byte [esi + 0x58], 0xf7
mov eax, dword [esp + 0x28]
mov ecx, esi
mov dword [esi + 0x30], eax
call fcn.00414926
push dword [esp + 0x274]
mov ecx, esi
call fcn.00413c61
push dword [esp + 0x5c]
mov ecx, esi
call fcn.0041792b
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 ebx, dword [esp + 0x2c]
mov dword [ebp + 0x108], eax
mov dword [ebp + 0x10c], esi
mov dword [ebp + 0x110], 0xee0000
push 2
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3025
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.0040bfe5
push ecx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x34]
call fcn.0040c00b
and dword [esp + 0x274], 0
and dword [esp + 0x278], 0
push ebx
push edi
mov dword [esp + 0x278], 0x4654d8
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, ebp
call fcn.0045697a
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 0x10