Function at 0x451ccb
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x470
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 + 0x18], ebp
call esi
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.00418279
cmp dword [ebp + 0x60], 0
lea ecx, [ebp + 0x58]
jne 0x451d26
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.00415941
push 4
push dword [ebx]
call fcn.004478f4
push dword [ebx]
call esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x452092
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x40]
push ecx
push eax
call esi
lea eax, [esp + 0x40]
mov ecx, ebx
push eax
call fcn.0040ca5d
lea eax, [esp + 0x18]
push eax
push dword [ebx]
call esi
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
call fcn.0040ca5d
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x18]
add eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push ecx
push eax
mov ecx, ebx
call fcn.0040ca83
lea esi, [esp + 0x18]
lea edi, [esp + 0x40]
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.0040ca5d
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x15
call esi
mov edi, dword [esp + 0x40]
sub edi, dword [esp + 0x18]
add edi, dword [esp + 0x48]
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.0040ca83
lea ecx, [esp + 0x50]
call fcn.00403195
mov edi, dword [esp + 0x10]
push 0x3023
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.0040ca5d
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
sub eax, ecx
push 0xfffffffffffffffd
cdq
pop ebx
idiv ebx
add ecx, eax
mov dword [esp + 0x28], ecx
lea eax, [esp + 0x50]
push eax
push 0x35
call fcn.004478cb
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 + 0x54]
push ecx
push ecx
mov edx, esp
push ebp
mov ebp, dword [esp + 0x20]
push eax
push ecx
push ecx
mov eax, esp
mov dword [edx], 0x13c
lea ecx, [esp + 0x40]
push edi
mov dword [eax], ecx
lea ecx, [ebp + 0x88]
call fcn.00416d61
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 + 0x268]
xorps xmm0, xmm0
mov dword [esp + 0x14], ebx
movlpd qword [esp + 0x38], xmm0
call fcn.00403195
lea eax, [esp + 0x50]
push eax
push 0x34
call fcn.004478cb
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 + 0x58]
mov esi, dword [esp + 0x54]
cmp eax, 0xffffffff
jne 0x451f00
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea ecx, [esp + 0x38]
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 + 0x38]
add ecx, 0x10
add eax, 0xa
mov dword [esp + 0x18], ecx
add eax, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x2c]
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 + 0x26c]
mov dword [esp + 0x28], eax
call fcn.00402fc9
push str.enru
lea eax, [esp + 0x26c]
push eax
call fcn.004479b2
mov ecx, dword [esp + 0x54]
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.00418120
test eax, eax
je 0x45202b
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 ebx, eax
je 0x451fd4
push dword [esi + 0x30]
call dword [sym.imp.GDI32.dll_DeleteObject]
and byte [esi + 0x58], 0xf7
mov ecx, esi
mov dword [esi + 0x30], ebx
call fcn.0041529e
push dword [esp + 0x26c]
mov ecx, esi
call fcn.004145de
push dword [esp + 0x54]
mov ecx, esi
call fcn.00418201
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 + 0x14]
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 + 0x14], eax
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.0040ca5d
push ecx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040ca83
and dword [esp + 0x26c], 0
and dword [esp + 0x270], 0
push ebx
push edi
mov dword [esp + 0x270], 0x460424
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, ebp
call fcn.00451b39
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 0x10