joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45386a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
push ebx
push esi
push edi
push 0x44
xor ebx, ebx
lea eax, [ebp - 0x58]
push ebx
push eax
mov esi, ecx
call fcn.0041c9b0
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x468]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0040494a
mov ecx, dword [esi + 0x58]
lea eax, [ecx + 0x4a4]
push eax
lea eax, [ecx + 0x29c]
push eax
lea eax, [ebp - 0x468]
push str.__s_s___install
push eax
call fcn.004011fb
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push dword [ebp - 0x464]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4538ec
mov eax, str.Install_Fail_Start_Program
jmp 0x45391b
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], ebx
je 0x45390a
push 0xea60
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x453914
push dword [ebp - 0xc]
call esi
mov bl, 1
mov eax, str.Install_Executed
push eax
mov ecx, 0x4b40c0
call fcn.0043f405
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x45392d
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
sub esp, 0x69c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x58]
cmp dword [eax + 8], 3
jne 0x453b2c
xor ebp, ebp
cmp dword [edi + 0x7f6c], ebp
ja 0x45395d
cmp dword [edi + 0x7f68], 0x40
jb 0x453b2c
lea ecx, [esp + 0x80]
call fcn.00403625
lea ecx, [esp + 0x298]
call fcn.0040494a
lea ecx, [esp + 0x10]
call fcn.0044c5e2
mov eax, dword [edi + 0x58]
lea ecx, [esp + 0x80]
add eax, 0x29c
push eax
call fcn.00403489
mov edx, dword [esp + 0x84]
test edx, edx
je 0x4539b6
mov eax, dword [esp + 0x88]
inc eax
push eax
push edx
call fcn.0042cf5a
mov edx, dword [esp + 0x8c]
pop ecx
pop ecx
lea ecx, [esp + 0x10]
call fcn.0044c556
mov eax, dword [esp + 0x88]
add eax, eax
push eax
push edx
call fcn.0044c62d
lea ecx, [esp + 0x10]
call fcn.0044c6e5
push dword [esp + 0x8c]
lea ecx, [esp + 0x14]
push dword [esp + 0x88]
call fcn.0044c755
push dword [esp + 0x29c]
push ebp
push ebp
push 0x1a
push ebp
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [esp + 0x298]
call fcn.00403f19
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebp
push dword [esp + 0x2a0]
call esi
push 0x470050
lea ecx, [esp + 0x29c]
call fcn.0040380a
push ebp
push dword [esp + 0x2a0]
call esi
push str.Terminal_
lea ecx, [esp + 0x29c]
call fcn.0040380a
push ebp
push dword [esp + 0x2a0]
call esi
push dword [esp + 0x84]
lea ecx, [esp + 0x29c]
call fcn.0040380a
push ebp
push dword [esp + 0x2a0]
call esi
push 0x475f7c
lea ecx, [esp + 0x29c]
call fcn.0040380a
push ebp
push dword [esp + 0x2a0]
call esi
push str._server.ini
lea ecx, [esp + 0x29c]
call fcn.0040380a
push ecx
push ecx
push dword [esp + 0x2a4]
lea ebx, [edi + 0x7f60]
mov ecx, ebx
call fcn.0040421d
test al, al
je 0x453afd
mov eax, dword [edi + 0x58]
add eax, 0x29c
push eax
lea eax, [esp + 0x29c]
push str._sconfig_servers.dat
push eax
call fcn.004011fb
add esp, 0xc
push dword [esp + 0x29c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ecx
call fcn.0043ed3a
push str.Account_Request_Finish
mov ecx, 0x4b40c0
call fcn.0043f405
mov esi, str.Account_Request_Success
jmp 0x453b02
mov esi, str.Account_Request_Error
mov edi, 0x4b40c0
push esi
mov ecx, edi
call fcn.0043f405
push ebp
push esi
push ebp
push ebp
push edi
call fcn.0043f1db
add esp, 0x14
mov ecx, ebx
call fcn.0041691b
lea ecx, [esp + 0x10]
call fcn.0044c601
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x69c
ret
Function at 0x453b37
Capabilities:
Check if file exists
Get file attributes
Set registry value

Disassembly:
sub esp, 0x220
push ebx
push ebp
push esi
mov ebp, ecx
lea ecx, [esp + 0x14]
push edi
call fcn.00403625
mov eax, dword [ebp + 0x58]
xor ebx, ebx
add eax, 0x6ac
mov dword [esp + 0x10], ebx
push eax
mov eax, ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push eax
call fcn.004011fb
add esp, 0xc
lea eax, [esp + 0x14]
mov edx, 0x20206
mov ecx, 0x20106
push eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebp + 0x58]
push ebx
cmp dword [eax + 4], 2
cmovne ecx, edx
push ecx
push ebx
push ebx
push ebx
push dword [esp + 0x38]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x453d76
mov esi, dword [ebp + 0x58]
add esi, 0x94
mov ecx, esi
call fcn.0040938c
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push ebx
push str.DisplayName
push dword [esp + 0x24]
call edi
mov esi, dword [ebp + 0x58]
add esi, 0x29c
mov ecx, esi
call fcn.0040938c
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push ebx
push str.InstallLocation
push dword [esp + 0x24]
call edi
mov eax, dword [ebp + 0x58]
add eax, 0x29c
push eax
lea eax, [esp + 0x1c]
push str._s_terminal.ico
push eax
call fcn.004011fb
add esp, 0xc
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x453c46
mov ecx, dword [ebp + 0x58]
lea eax, [ecx + 0x4a4]
push eax
lea eax, [ecx + 0x29c]
push eax
lea eax, [esp + 0x20]
push 0x470f90
push eax
call fcn.004011fb
add esp, 0x10
mov eax, dword [esp + 0x20]
lea eax, [eax*2 + 2]
push eax
push dword [esp + 0x20]
push 1
push ebx
push str.DisplayIcon
push dword [esp + 0x24]
call edi
push 0x20
push 0x46c8e0
push 1
push ebx
push str.Publisher
push dword [esp + 0x24]
call edi
push 0x36
mov esi, 0x475e3c
push esi
push 1
push ebx
push str.HelpLink
push dword [esp + 0x24]
call edi
push 0x36
push esi
push 1
push ebx
push str.UrlInfoAbout
push dword [esp + 0x24]
call edi
mov esi, dword [esp + 0x234]
mov eax, dword [esi + 8]
lea eax, [eax*2 + 2]
push eax
push dword [esi + 4]
push 1
push ebx
push str.UninstallString
push dword [esp + 0x24]
call edi
mov eax, dword [ebp + 0x58]
push 0xa
cmp dword [eax + 8], 9
jae 0x453cea
push str.5.00
push 1
push ebx
push str.DisplayVersion
push dword [esp + 0x24]
call edi
push 4
push 0x475ef0
jmp 0x453d04
push str.4.00
push 1
push ebx
push str.DisplayVersion
push dword [esp + 0x24]
call edi
push 4
push 0x475f3c
push 1
push ebx
push 0x475ef4
push dword [esp + 0x24]
call edi
push 4
push 0x475f10
push 1
push ebx
push 0x475f14
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 0x8018]
call fcn.00401b89
test al, al
jne 0x453d74
push dword [ebp + 0x801c]
lea eax, [esp + 0x1c]
push 0x475f40
push eax
call fcn.004011fb
mov eax, dword [ebp + 0x58]
add esp, 0xc
add eax, 0x29c
push 1
push dword [esi + 4]
push ecx
push ecx
push dword [esp + 0x2c]
push dword [esi + 4]
push eax
call fcn.0044cbe4
mov bl, 1
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x220
ret 4
Function at 0x453d85
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x218]
call fcn.00403625
lea ecx, [ebp - 0x430]
call fcn.00403625
push dword [ebp - 0x20c]
xor ebx, ebx
push dword [ebp - 0x214]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x218]
call fcn.00403f19
mov eax, dword [esi + 0x58]
add eax, 0x29c
push eax
lea eax, [ebp - 0x430]
push str._suninstall.exe
push eax
call fcn.004011fb
add esp, 0xc
push ebx
push dword [ebp - 0x42c]
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x453e0c
lea eax, [ebp - 0x430]
mov ecx, esi
push eax
mov bl, 1
call fcn.00453b37
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x453e12
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x648
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x218]
call fcn.00403625
lea ecx, [ebp - 0x648]
call fcn.00403625
lea ecx, [ebp - 0x430]
call fcn.00403625
mov eax, dword [esi + 0x58]
xor bl, bl
cmp dword [eax + 8], 0xb
je 0x453e57
cmp dword [eax + 8], 0xd
je 0x453e57
cmp dword [eax + 8], 3
jne 0x453e98
add eax, 0x29c
push eax
lea eax, [ebp - 0x430]
push str._s_terminal.ico
push eax
call fcn.004011fb
add esp, 0xc
push dword [ebp - 0x42c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x453e98
and dword [ebp - 0x428], 0
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x453e98
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [esi + 0x58]
lea eax, [ecx + 0x4a4]
push eax
lea eax, [ecx + 0x29c]
push eax
lea eax, [ebp - 0x648]
push 0x470f90
push eax
call fcn.004011fb
mov ecx, dword [esi + 0x58]
add esp, 0x10
push dword [ebp - 0x42c]
lea eax, [ecx + 0x94]
push dword [ebp - 0x20c]
push dword [ebp - 0x214]
push eax
push dword [ebp - 0x644]
lea eax, [ecx + 0x29c]
push eax
call fcn.0044cfcc
test eax, eax
je 0x453f2a
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x453f15
push dword [ebp - 0x20c]
push eax
call fcn.0041e7bc
pop ecx
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x214]
pop ecx
jmp 0x453f1c
and dword [ebp - 0x210], 0
push eax
lea ecx, [esi + 0x88c]
call fcn.00417153
mov bl, al
mov ecx, dword [esi + 0x58]
cmp dword [ecx + 8], 0xb
je 0x453f3d
cmp dword [ecx + 8], 3
jne 0x45400c
and dword [ebp - 0x428], 0
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x453f53
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [esi + 0x58]
mov edx, 0x4679ec
mov eax, 0x47579c
cmp dword [ecx + 4], 2
cmovne eax, edx
push eax
lea eax, [ecx + 0x29c]
push eax
lea eax, [ebp - 0x648]
push str._smetaeditor_s.exe
push eax
call fcn.004011fb
add esp, 0x10
push dword [ebp - 0x644]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45400c
push dword [ebp - 0x42c]
mov ecx, dword [esi + 0x58]
mov edx, str.MetaEditor_5
push dword [ebp - 0x20c]
mov eax, str.MetaEditor_4
push dword [ebp - 0x214]
cmp dword [ecx + 8], 0xb
cmovne eax, edx
push eax
push dword [ebp - 0x644]
lea eax, [ecx + 0x29c]
push eax
call fcn.0044cfcc
test eax, eax
je 0x45400c
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x453ff7
push dword [ebp - 0x20c]
push eax
call fcn.0041e7bc
pop ecx
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x214]
pop ecx
jmp 0x453ffe
and dword [ebp - 0x210], 0
push eax
lea ecx, [esi + 0x88c]
call fcn.00417153
mov bl, al
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x45413c
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes
Write file on windows

Disassembly:
mov eax, 0x10a4
call fcn.0041bae0
cmp dword [esp + 0x10b0], 0
push ebx
push ebp
push esi
push edi
jne 0x45415b
xor al, al
jmp 0x454346
push ecx
lea eax, [esp + 0xb4]
push eax
call fcn.0043f474
test al, al
je 0x45419e
mov ecx, dword [esp + 0x10bc]
push 0x475bbc
call fcn.00403865
test eax, eax
jle 0x45419e
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x10c8]
push eax
push dword [esp + 0x10c8]
call fcn.0045d369
mov ebx, dword [esp + 0x10b8]
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebp, ebp
cmp eax, 0xffffffff
je 0x454249
lea ecx, [esp + 0x40]
call fcn.0044c5e2
push ebx
lea ecx, [esp + 0x44]
call fcn.0044c33c
lea ecx, [esp + 0x40]
call fcn.0044c6e5
lea esi, [esp + 0x98]
lea edi, [esp + 0x20]
movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0044c556
push dword [esp + 0x10c4]
push dword [esp + 0x10c4]
call fcn.0044c62d
lea ecx, [esp + 0x40]
call fcn.0044c6e5
lea esi, [esp + 0x98]
mov ecx, ebp
lea edi, [esp + 0x30]
movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x30]
mov eax, dword [edx + ecx*4]
cmp eax, dword [esi + ecx*4]
jne 0x454240
inc ecx
cmp ecx, 4
jne 0x454222
lea ecx, [esp + 0x40]
call fcn.0044c601
mov al, 1
jmp 0x454346
lea ecx, [esp + 0x40]
call fcn.0044c601
or dword [esp + 0x1c], 0xffffffff
mov esi, 0x40000000
push ecx
push 2
push 3
push esi
push dword [ebx + 4]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 0x4679a8
call fcn.00401442
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test al, al
jne 0x4542be
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x454293
push 0x80
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ecx
push 2
push 3
push esi
push dword [ebx + 4]
lea ecx, [esp + 0x2c]
call fcn.00401442
test al, al
jne 0x4542be
push str.Install_Fail_File_Write_Open
mov ecx, 0x4b40c0
call fcn.0043f405
mov esi, dword [esp + 0x1c]
jmp 0x454325
mov esi, dword [esp + 0x1c]
mov eax, ebp
mov dword [esp + 0x14], eax
cmp esi, 0xffffffff
je 0x4542f9
cmp eax, dword [esp + 0x10c4]
jae 0x454300
push ebp
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x10cc]
push dword [esp + 0x10cc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x10c4]
je 0x454329
push str.Install_Fail_File_Write
mov ecx, 0x4b40c0
call fcn.0043f405
cmp esi, 0xffffffff
je 0x45431c
push esi
call edi
or esi, 0xffffffff
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
jmp 0x45433c
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x45433a
push esi
call edi
or esi, 0xffffffff
mov bl, 1
cmp esi, 0xffffffff
je 0x454344
push esi
call edi
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10a4
ret 0x10
Function at 0x454f87
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x404
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [esi + 0x58]
mov edi, 0x29c
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x454fc2
mov eax, dword [esi + 0x58]
add eax, edi
push eax
call fcn.0045d991
mov eax, dword [esi + 0x58]
add eax, edi
push eax
call fcn.0044d272
test eax, eax
je 0x454fdf
mov ecx, dword [esi + 0x58]
add ecx, edi
call fcn.0040f3ea
test al, al
jne 0x45501b
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x45501b
mov ecx, dword [esi + 0x58]
lea eax, [ecx + 0x94]
push eax
lea eax, [esp + 0x14]
push eax
push 0x470f90
lea eax, [ecx + 0x29c]
push 0x103
push eax
call fcn.004168ac
add esp, 0x14
mov eax, dword [esi + 0x58]
add eax, edi
push eax
call fcn.0044d272
test eax, eax
je 0x4550d2
push dword [esi + 0x60]
mov ecx, esi
call fcn.004545f8
test al, al
jne 0x45505b
push str.Install_Fail_Extract_Core
mov ecx, 0x4b40c0
call fcn.0043f405
lea ecx, [esi + 0x45b8]
call fcn.0045ceb8
jmp 0x4550e1
mov ecx, esi
call fcn.00454012
test al, al
je 0x4550e1
mov ecx, esi
call fcn.00454741
mov byte [esi + 0x8232], al
test al, al
je 0x4550e1
mov ecx, esi
call fcn.004546fb
test al, al
je 0x4550e1
mov ecx, esi
call fcn.00453e12
mov edi, 0x4b40c0
test al, al
jne 0x45509e
push str.Install_Fail_Create_Shortcut
mov ecx, edi
call fcn.0043f405
mov ecx, esi
call fcn.00453d85
test al, al
jne 0x4550b5
push str.Install_Fail_Create_Uninstall
mov ecx, edi
call fcn.0043f405
mov ecx, esi
call fcn.0045392d
mov ecx, esi
call fcn.0045386a
test al, al
je 0x4550e1
mov ecx, esi
call fcn.00454c42
mov bl, 1
jmp 0x4550f2
push str.Install_Fail_Create_Folder
mov ecx, 0x4b40c0
call fcn.0043f405
push ebx
push 7
push 0x464
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x455133
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
push 1
lea ecx, [esi + 0x45b8]
call fcn.0045cc97
mov ecx, esi
call fcn.004551be
cmp byte [ebp + 8], 0
je 0x45518f
mov byte [esi + 0x8230], 1
mov dword [esi + 0x7f30], 3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 2
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 4
lea ecx, [esi + 4]
call fcn.004168fe
jmp 0x4551b6
xor ebx, ebx
push ebx
push dword [esi + 0x82b4]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push ebx
mov ecx, esi
call fcn.00455ce3
mov word [esi + 0x8230], 0x100
mov dword [esi + 0x7f30], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45551b
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1238
call fcn.0041bae0
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x8231], 0
jne 0x455725
cmp byte [esi + 0x8230], 0
je 0x455725
mov eax, dword [esi + 0x58]
xor edi, edi
cmp byte [eax + 0xc40], 0
jne 0x4556bb
test byte [eax], 4
mov ebp, 0x46cfdc
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteW]
je 0x4555b4
lea ecx, [esp + 0x238]
call fcn.0040494a
push ecx
lea eax, [esp + 0x13c]
push eax
push ecx
call fcn.00443896
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x23c]
push str.https:__www.mql5.com__utm_campaignmql5.welcome.openutm_mediumspecialutm_sourceweb.installer_S
push eax
call fcn.004011fb
add esp, 0xc
push 1
push edi
push edi
push dword [esp + 0x248]
push ebp
push edi
call ebx
mov ecx, dword [esi + 0x58]
lea eax, [ecx + 0x4a4]
push eax
lea eax, [ecx + 0x29c]
push eax
push str.__s_s_
push 0xffffffffffffffff
lea eax, [esp + 0xa58]
push 0x400
push eax
call fcn.00401ea4
add esp, 0x18
call fcn.004089b2
cmp eax, 0x258
jl 0x45560e
mov eax, dword [esi + 0x58]
push 1
add eax, 0x29c
push eax
lea eax, [esp + 0xa50]
push eax
push str.explorer.exe
push ebp
push edi
call ebx
jmp 0x4556bb
movaps xmm0, xmmword [0x478110]
lea ecx, [esp + 0x238]
or eax, 0xffffffff
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
mov esi, 0x4654d8
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x248]
mov dword [esp + 0x23c], eax
xor eax, eax
mov word [esp + 0x248], ax
lea eax, [esp + 0xa48]
push eax
mov dword [esp + 0x20], edi
movups xmmword [esp + 0x24], xmm0
mov dword [esp + 0x23c], esi
mov dword [esp + 0x244], edi
mov dword [esp + 0x248], 0x400
call fcn.00403489
sub esp, 0x10
mov dword [esp + 0x248], 0x46cfd8
lea ecx, [esp + 0x20]
push dword [esp + 0x24c]
call fcn.00416945
lea ecx, [esp + 0x10]
mov dword [esp + 0x238], esi
mov dword [esp + 0x23c], edi
mov dword [esp + 0x240], edi
call fcn.004169d4
push 0x100
push 0xfe
lea eax, [esp + 0x40]
mov ebp, str.Install.Time
push eax
mov esi, str.SOFTWAREMetaQuotes_Software
mov ebx, closesocket
push ebp
mov edx, esi
mov ecx, ebx
call fcn.00403d72
add esp, 0x10
test al, al
jne 0x455765
push edi
call fcn.0042a4e8
pop ecx
push edx
push eax
push str._I64d
lea eax, [esp + 0x44]
push 0x7f
push eax
call fcn.00403c23
add esp, 0x10
mov edx, esi
mov ecx, ebx
call fcn.00403ce6
lea eax, [esp + 0x3c]
mov edx, esi
push eax
push ecx
push ebp
mov ecx, ebx
call fcn.00403c5f
add esp, 0x10
jmp 0x455765
cmp byte [esi + 0x8232], 0
je 0x45573c
mov eax, dword [esi + 0x58]
add eax, 0x6ac
push eax
call fcn.0044d23e
xor edi, edi
cmp dword [esi + 0x898], edi
jbe 0x455765
mov eax, dword [esi + 0x8a0]
imul eax, edi
add eax, dword [esi + 0x894]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc edi
cmp edi, dword [esi + 0x898]
jb 0x455746
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455a73
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
mov ebp, ecx
push esi
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0x3023
push esi
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3024
push esi
call ebx
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp + 0x7f30], 1
mov dword [ebp + 0x7f2c], ebx
cmp dword [ebp + 0x7f28], ebx
jne 0x455adb
push ebx
push 0x64
push 0x5ba0
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebp + 0x7f28], eax
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x455ce3
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x224
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x20]
call fcn.0040117c
cmp byte [esp + 0x238], 0
lea ebp, [edi + 0x8240]
lea ebx, [edi + 0x82d8]
je 0x455d46
mov eax, ecx
push eax
push 0x190
call fcn.0044afde
push dword [esp + 0x24]
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 4
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ecx
push ecx
push 0x83
mov ecx, ebp
call fcn.0044965b
add edi, 4
jmp 0x455def
mov ecx, ebp
call fcn.0044974d
push 0x2710
push 0
push 0
mov ecx, ebp
call fcn.00449611
movzx esi, byte [esp + 0x23c]
lea eax, [esp + 0x20]
xor esi, 1
push eax
lea eax, [esi + 0x191]
push eax
call fcn.0044afde
push dword [esp + 0x24]
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esp + 0x10]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x10]
add edi, 4
push eax
mov ecx, edi
call fcn.0040bda2
mov eax, dword [esp + 0x14]
sub dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
and dword [esp + 0x14], 0
push ecx
push eax
mov ecx, ebx
call fcn.0040bdc8
push 4
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ecx
push ecx
lea eax, [esi + 0x84]
mov ecx, ebp
push eax
call fcn.0044965b
push dword [edi]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0x105
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 1
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x224
ret 8