Function at 0x45abc4
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.00417408
cmp dword [ebp + 0x60], 0
lea ecx, [ebp + 0x58]
jne 0x45ac1f
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.00414aad
push 4
push dword [ebx]
call fcn.004503a4
push dword [ebx]
call esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x45af81
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.0040b9a8
lea eax, [esp + 0x1c]
push eax
push dword [ebx]
call esi
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.0040b9a8
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.0040b9ce
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.0040b9a8
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.0040b9ce
lea ecx, [esp + 0x58]
call fcn.0040337a
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.0040b9a8
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.0045037b
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.00415e6a
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.0040337a
lea eax, [esp + 0x58]
push eax
push 0x34
call fcn.0045037b
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 0x45aded
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.004031de
push str.enru
lea eax, [esp + 0x274]
push eax
call fcn.00450462
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.004172a8
test eax, eax
je 0x45af19
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 0x45aec6
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.00414407
push dword [esp + 0x274]
mov ecx, esi
call fcn.00413742
push dword [esp + 0x5c]
mov ecx, esi
call fcn.00417390
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.0040b9a8
push ecx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
call fcn.0040b9ce
push dword [esp + 0x3c]
and dword [esp + 0x278], 0
and dword [esp + 0x27c], 0
push edi
mov dword [esp + 0x278], 0x5098cc
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, ebp
call fcn.0045aa32
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 0x10