joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d951
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8fc
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x2c]
call fcn.0040ac4f
lea ecx, [esp + 0x10]
call fcn.0040ac4f
lea ecx, [esp + 0x48]
call fcn.00405a58
lea ecx, [esp + 0x260]
call fcn.00405a58
push str.metatester.exe
push dword [ebp + 8]
mov esi, 0x442874
lea eax, [esp + 0x50]
push esi
push eax
mov bl, 1
call fcn.00409413
add esp, 0x10
lea ecx, [esp + 0x10]
push dword [esp + 0x4c]
call fcn.0040ac90
push str.metatester64.exe
push dword [ebp + 8]
lea eax, [esp + 0x50]
push esi
push eax
call fcn.00409413
add esp, 0x10
lea ecx, [esp + 0x10]
push dword [esp + 0x4c]
call fcn.0040ac90
push dword [ebp + 8]
lea eax, [esp + 0x264]
push str._s.exe
push eax
call fcn.00409413
add esp, 0xc
lea eax, [esp + 0x478]
push eax
push dword [esp + 0x268]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42da8e
mov edx, 0x442870
lea ecx, [esp + 0x4a4]
call fcn.0040117c
test eax, eax
je 0x42da70
mov edx, 0x442868
lea ecx, [esp + 0x4a4]
call fcn.0040117c
test eax, eax
je 0x42da70
test byte [esp + 0x478], 0x10
jne 0x42da70
lea eax, [esp + 0x4a4]
push eax
push dword [ebp + 8]
lea eax, [esp + 0x50]
push 0x442874
push eax
call fcn.00409413
add esp, 0x10
lea ecx, [esp + 0x2c]
push dword [esp + 0x4c]
call fcn.0040ac90
test al, al
je 0x42da85
lea eax, [esp + 0x478]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42da0e
jmp 0x42da87
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x34], 0
je 0x42db2f
lea eax, [esp + 0x2c]
push eax
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x6d4]
call fcn.004334bf
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esp + 0x6cc]
call fcn.0043351e
cmp eax, 1
je 0x42db23
push dword [esp + 0x26c]
push dword [esp + 0x268]
push 0x4b
call fcn.00422888
lea ecx, [esp + 0x260]
call fcn.004059ee
lea ecx, [esp + 0x6c8]
call fcn.00433566
push eax
push dword [esp + 0x268]
lea eax, [esp + 0x50]
push eax
call fcn.00409413
mov eax, dword [edi + 0x54]
add esp, 0xc
add eax, 0xe
push 0x40
push eax
push dword [esp + 0x54]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
xor bl, bl
lea ecx, [esp + 0x6c8]
call fcn.004334fd
xor ecx, ecx
mov eax, 0x444620
mov dword [esp + 0x264], ecx
mov dword [esp + 0x268], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov esi, 0x44251c
lea ecx, [esp + 0x10]
mov dword [esp + 0x260], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x10], esi
call fcn.00409706
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], esi
call fcn.00409706
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42db81
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc50
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x222]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call fcn.004127f0
xor eax, eax
push edi
mov word [ebp - 0x42c], ax
lea eax, [ebp - 0x42a]
push ebx
push eax
call fcn.004127f0
xor eax, eax
push 0x81e
mov word [ebp - 0xc4c], ax
lea eax, [ebp - 0xc4a]
push ebx
push eax
call fcn.004127f0
add esp, 0x24
cmp dword [ebp + 8], ebx
je 0x42dc12
push 0xffffffffffffffff
push dword [ebp + 8]
lea eax, [ebp - 0x224]
push 0x103
push eax
call fcn.0040fbca
add esp, 0x10
mov edx, 0x444474
lea ecx, [ebp - 0x224]
call fcn.00401153
cmp eax, 1
jne 0x42dce4
xor eax, eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x42dc97
push 0x104
lea eax, [ebp - 0x42c]
push eax
push 0x23
call fcn.00422888
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0xc4c]
push 0x40f
push eax
call fcn.0040ac14
add esp, 0x10
mov eax, dword [esi + 0x54]
add eax, 0xe
push 0x30
push eax
lea eax, [ebp - 0xc4c]
jmp 0x42dd06
cmp dword [ebp - 8], ebx
ja 0x42dce0
jb 0x42dca7
cmp dword [ebp - 0xc], 0x3200000
jae 0x42dce0
push 0x104
lea eax, [ebp - 0x42c]
push eax
push 0xe
call fcn.00422888
push 0x32
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0xc4c]
push 0x40f
push eax
call fcn.0040ac14
add esp, 0x14
jmp 0x42dc86
mov al, 1
jmp 0x42dd12
push 0x104
lea eax, [ebp - 0x42c]
push eax
push 0x1e
call fcn.00422888
mov eax, dword [esi + 0x54]
add eax, 0xe
push 0x30
push eax
lea eax, [ebp - 0x42c]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42de4d
Capabilities:
Get common file path
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
push ebx
push esi
push edi
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x230], ax
xor esi, esi
lea eax, [ebp - 0x22e]
push esi
push eax
mov ebx, ecx
call fcn.004127f0
xor eax, eax
push edi
mov word [ebp - 0x438], ax
lea eax, [ebp - 0x436]
push esi
push eax
call fcn.004127f0
add esp, 0x18
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jns 0x42deab
xor eax, eax
jmp 0x42df72
lea eax, [ebp - 8]
push eax
push 0x11
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x42df67
push 0x103
lea eax, [ebp - 0x438]
push eax
push 0x39
call fcn.00422888
push 0x104
lea eax, [ebp - 0x230]
push eax
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
push 8
pop ecx
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x438]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x14], 0x42d8e2
mov dword [ebp - 0x18], 0x8047
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov esi, eax
test esi, esi
je 0x42df58
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x230]
push eax
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 4]
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
xor esi, esi
inc esi
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x42e263
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x218]
call fcn.00405a58
lea ecx, [ebp - 0x430]
call fcn.00405a58
push ecx
push ecx
mov ecx, edi
call fcn.0040b2c6
push 7
push dword [edi + 4]
call fcn.004224fd
push dword [ebp - 0x20c]
push dword [ebp - 0x214]
push dword [edi + 0x55c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x218]
call fcn.004059ee
mov eax, dword [edi + 0x54]
add eax, 0xe
push eax
push dword [ebp - 0x214]
lea eax, [ebp - 0x430]
push eax
call fcn.00409413
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
add esp, 0xc
push dword [ebp - 0x42c]
push dword [edi + 0x55c]
call esi
mov eax, dword [edi + 0x54]
add eax, 0x216
push eax
push dword [edi + 0x60]
call esi
mov eax, dword [edi + 0x54]
add eax, 0x626
push eax
push dword [edi + 0x2a8]
call esi
mov eax, dword [edi + 0x54]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [eax]
push 0
and eax, 1
push eax
mov ebx, 0xf1
push ebx
push dword [edi + 0x538]
call esi
mov eax, dword [edi + 0x54]
push 0
mov eax, dword [eax]
shr eax, 1
and eax, 1
push eax
push ebx
push dword [edi + 0x4f0]
call esi
mov ecx, dword [edi + 0x54]
push 0
mov ecx, dword [ecx]
shr ecx, 2
and ecx, 1
push ecx
push ebx
push dword [edi + 0x514]
call esi
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 0x10
Function at 0x42e57f
Capabilities:
Get installed programs
Query or enumerate registry key

Disassembly:
sub esp, 0x624
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x418]
call fcn.00405a58
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x638]
or eax, 0x20019
push eax
xor ebp, ebp
push ebp
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebp
mov edi, ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42e6b6
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x22c]
push eax
push ebp
jmp 0x42e672
cmp dword [esp + 0x10], ebp
jbe 0x42e6ac
xor eax, eax
push 0x1fe
mov word [esp + 0x1c], ax
lea eax, [esp + 0x1e]
push ebp
push eax
call fcn.004127f0
lea eax, [esp + 0x224]
push eax
lea eax, [esp + 0x428]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push eax
call fcn.00409413
push dword [esp + 0x64c]
mov edx, dword [esp + 0x438]
push 0x1fe
lea eax, [esp + 0x38]
push eax
push str.InstallLocation
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00409e38
add esp, 0x28
test al, al
je 0x42e65f
push dword [0x44d22c]
lea eax, [esp + 0x1c]
push eax
call fcn.00411044
pop ecx
pop ecx
test eax, eax
je 0x42e68e
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x22c]
inc edi
push eax
push edi
push dword [esp + 0x30]
mov dword [esp + 0x30], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x42e5e0
jmp 0x42e6ac
lea eax, [esp + 0x218]
push eax
mov eax, dword [esi + 0x54]
add eax, 0x414
push 0x104
push eax
call fcn.0041063b
add esp, 0xc
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esi + 0x54]
xor eax, eax
cmp word [ecx + 0x414], bp
pop edi
pop esi
setne al
pop ebp
add esp, 0x624
ret 4
Function at 0x42e6d1
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0xc58
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x38
lea eax, [esp + 0x24]
push ebx
or ebp, 0xffffffff
push eax
mov esi, ecx
mov dword [esp + 0x20], 0x442514
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebx
call fcn.004127f0
xor eax, eax
mov edi, 0x206
push edi
mov word [esp + 0x270], ax
lea eax, [esp + 0x272]
push ebx
push eax
call fcn.004127f0
xor eax, eax
push edi
mov word [esp + 0x74], ax
lea eax, [esp + 0x76]
push ebx
push eax
call fcn.004127f0
push 0x7ff
lea eax, [esp + 0x491]
push ebx
push eax
mov byte [esp + 0x498], bl
call fcn.004127f0
add esp, 0x30
mov edi, 0x104
push edi
lea eax, [esp + 0x264]
push eax
push ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x58]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec edi
test eax, eax
jne 0x42e7b9
push ebp
lea eax, [esp + 0x264]
push eax
lea eax, [esp + 0x60]
push edi
push eax
call fcn.0040fbca
lea eax, [esp + 0x68]
push 0x5c
push eax
call fcn.004100fe
add esp, 0x18
test eax, eax
je 0x42e7a8
lea ecx, [esp + 0x58]
sub eax, ecx
sar eax, 1
jmp 0x42e7aa
mov eax, ebp
mov dword [esp + 0x10], eax
test eax, eax
je 0x42e7b9
xor ecx, ecx
mov word [esp + eax*2 + 0x58], cx
push str.mtuninstall.bat
lea eax, [esp + 0x5c]
push edi
push eax
call fcn.00411a22
mov eax, dword [esi + 0x54]
add esp, 0xc
test byte [eax + 0x840], 1
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x264]
je 0x42e81e
push dword [0x44d22c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x270]
push eax
push str.cd_r_n__S___processwait:_u_r_ndel__Q___S__r_nrd___S__r_ndel__Q___S__r_n
lea eax, [esp + 0x480]
push 0x7ff
push eax
call fcn.0040a8c7
add esp, 0x20
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
jmp 0x42e850
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x26c]
push eax
push str.cd_r_n__S___processwait:_u_r_ndel__Q___S__r_ndel__Q___S__r_n
lea eax, [esp + 0x47c]
push 0x7ff
push eax
call fcn.0040a8c7
add esp, 0x1c
neg eax
sbb al, al
inc al
mov bl, al
test bl, bl
je 0x42e90a
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x46c]
call fcn.0042e4d9
mov esi, dword [esp + 0x10]
xor ecx, ecx
test eax, eax
sete bl
cmovs esi, ecx
test bl, bl
je 0x42e90a
push ecx
push 2
push ecx
push 0x40000000
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x28]
call fcn.00409510
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test al, al
je 0x42e8ff
push esi
lea eax, [esp + 0x46c]
push eax
lea ecx, [esp + 0x1c]
call fcn.004093db
cmp eax, esi
jne 0x42e8ff
mov esi, dword [esp + 0x18]
cmp esi, ebp
je 0x42e8c3
push esi
call edi
mov esi, ebp
and dword [esp + 0x30], 0
and dword [esp + 0x38], 0
lea eax, [esp + 0x58]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0x3c
mov dword [esp + 0x2c], str.Open
mov dword [esp + 0x24], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne bl
jmp 0x42e903
mov esi, dword [esp + 0x18]
cmp esi, ebp
je 0x42e90a
push esi
call edi
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0xc58
ret
Function at 0x42e917
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x21c
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
mov eax, dword [esi + 0x54]
push edi
cmp word [eax + 0x414], bp
je 0x42e9b7
lea ecx, [esp + 0x10]
call fcn.00405a58
mov eax, dword [esi + 0x54]
add eax, 0x414
push eax
lea eax, [esp + 0x14]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push eax
call fcn.00409413
add esp, 0xc
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42e99d
push str.RegDeleteKeyExW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x42e99d
push ebp
push 0x20206
push dword [esp + 0x1c]
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
call edi
push ebp
push 0x20106
push dword [esp + 0x1c]
push ebx
call edi
jmp 0x42e9ac
push dword [esp + 0x14]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test esi, esi
je 0x42e9b7
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret

Function at 0x42e9c2
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
push ebx
mov ebx, ecx
push esi
lea ecx, [ebp - 0x21c]
call fcn.00405a58
cmp dword [ebp + 8], 0
je 0x42ea78
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
push str._s.
push eax
call fcn.00409413
add esp, 0xc
lea eax, [ebp - 0x46c]
push eax
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42ea78
test byte [ebp - 0x46c], 0x10
je 0x42ea5f
cmp word [ebp - 0x440], 0x2e
je 0x42ea5f
lea eax, [ebp - 0x440]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x442874
push eax
call fcn.00409413
add esp, 0x10
mov ecx, ebx
push dword [ebp - 0x218]
call fcn.0042e9c2
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [ebp - 0x46c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42ea15
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
pop ebx
leave
ret 4
Function at 0x42ea7e
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
cmp dword [ebp + 8], 0
push ebx
push edi
mov ebx, ecx
je 0x42ec0b
lea ecx, [ebp - 0x46c]
call fcn.00405a58
push dword [ebp + 8]
lea eax, [ebp - 0x46c]
push str._s.
push eax
call fcn.00409413
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x42ec0b
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x46c]
push 0x442874
push eax
call fcn.00409413
add esp, 0x10
test byte [ebp - 0x254], 0x10
je 0x42ebe2
mov ecx, 0x442870
lea eax, [ebp - 0x228]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42eb31
test dx, dx
je 0x42eb2d
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42eb31
add eax, 4
add ecx, 4
test dx, dx
jne 0x42eb0b
xor eax, eax
jmp 0x42eb36
sbb eax, eax
or eax, 1
test eax, eax
je 0x42ebee
mov ecx, 0x442868
lea eax, [ebp - 0x228]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42eb6f
test dx, dx
je 0x42eb6b
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42eb6f
add eax, 4
add ecx, 4
test dx, dx
jne 0x42eb49
xor eax, eax
jmp 0x42eb74
sbb eax, eax
or eax, 1
test eax, eax
je 0x42ebee
mov eax, dword [ebx + 0x54]
test byte [eax + 0x840], 1
jne 0x42ebc9
lea eax, [ebp - 0x228]
push str.MQL4
push eax
call fcn.00411044
pop ecx
pop ecx
test eax, eax
je 0x42ebee
lea eax, [ebp - 0x228]
push str.MQL5
push eax
call fcn.00411044
pop ecx
pop ecx
test eax, eax
je 0x42ebee
lea eax, [ebp - 0x228]
push str.config
push eax
call fcn.00411044
pop ecx
pop ecx
test eax, eax
je 0x42ebee
push dword [ebp - 0x468]
mov ecx, ebx
call fcn.0042ea7e
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x254]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42ead5
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop ebx
leave
ret 4
Function at 0x42ec11
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a4
push esi
mov esi, ecx
lea ecx, [ebp - 0x4a0]
call fcn.00405a58
lea ecx, [ebp - 0x288]
call fcn.00405a58
lea ecx, [ebp - 0x70]
call fcn.00424b64
push dword [ebp - 0x49c]
xor eax, eax
push eax
push eax
push 0x1a
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x4a0]
call fcn.004059ee
push 0x44d228
lea ecx, [ebp - 0x288]
call fcn.00409c87
mov edx, dword [ebp - 0x284]
test edx, edx
je 0x42ec87
push dword [ebp - 0x27c]
push edx
call fcn.004119db
mov edx, dword [ebp - 0x284]
pop ecx
pop ecx
lea ecx, [ebp - 0x70]
call fcn.00424b19
mov eax, dword [ebp - 0x280]
add eax, eax
push eax
push edx
call fcn.00424a61
lea ecx, [ebp - 0x70]
call fcn.00424961
push dword [ebp - 0x27c]
lea ecx, [ebp - 0x70]
push dword [ebp - 0x284]
call fcn.00424899
push 0x4444a0
lea ecx, [ebp - 0x4a0]
call fcn.0040aa34
mov eax, dword [esi + 0x54]
add eax, 0xa50
push eax
lea ecx, [ebp - 0x4a0]
call fcn.0040aa34
push 0x442888
lea ecx, [ebp - 0x4a0]
call fcn.0040aa34
push dword [ebp - 0x284]
lea ecx, [ebp - 0x4a0]
call fcn.0040aa34
push dword [ebp - 0x49c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42ed1b
lea ecx, [ebp - 0x4a0]
call fcn.0040b8d2
lea ecx, [ebp - 0x70]
call fcn.00424b40
pop esi
leave
ret

Function at 0x42ed26
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esp + 0xc], 0
jne 0x42ed54
push 0xc8
push 7
push 0
mov ecx, esi
call fcn.004207fa
mov ecx, esi
call fcn.0042077c
cmp dword [esp + 0xc], 1
jne 0x42ed6f
mov ecx, esi
call fcn.00420761
push 0
push 8
push 8
mov ecx, esi
call fcn.004207fa
pop esi
ret 8

Function at 0x42eede
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push eax
mov ebx, ecx
call fcn.004127f0
pop ecx
mov ecx, ebx
call fcn.0040b5cc
push 6
push dword [ebx + 4]
call fcn.004224fd
push 0x102
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push dword [ebx + 0x58]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
sub esp, 0x10
lea ecx, [ebx + 0x5c]
call fcn.0040abf6
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x60]
call edi
mov ebp, 0x104
push ebp
lea eax, [esp + 0x14]
push eax
push 0x10
call fcn.00422888
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esp + 0x10]
push eax
push dword [ebx + 0xbc]
call esi
sub esp, 0x10
lea ecx, [ebx + 0xdc]
call fcn.0040abf6
push 0
push dword [ebx + 0xe0]
call edi
push ebp
lea eax, [esp + 0x14]
push eax
push 0x12
call fcn.00422888
lea eax, [esp + 0x10]
push eax
push dword [ebx + 0x13c]
call esi
sub esp, 0x10
lea ecx, [ebx + 0x15c]
call fcn.0040abf6
push 0
push dword [ebx + 0x160]
call edi
push ebp
lea ecx, [esp + 0x14]
push ecx
push 0x11
call fcn.00422888
lea ecx, [esp + 0x10]
push ecx
push dword [ebx + 0x1bc]
call esi
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
add esp, 0x208
ret 0x10
Function at 0x42f1db
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x68c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.0040ac4f
lea ecx, [esp + 0x28]
call fcn.00405a58
lea ecx, [esp + 0x240]
call fcn.00405a58
push str.metatester.exe
push dword [0x44d22c]
mov ebx, 0x442874
lea eax, [esp + 0x30]
push ebx
push eax
call fcn.00409413
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0x10
push dword [esp + 0x2c]
call edi
cmp eax, 0xffffffff
je 0x42f246
push dword [esp + 0x2c]
lea ecx, [esp + 0x10]
call fcn.0040ac90
push str.metatester64.exe
push dword [0x44d22c]
lea eax, [esp + 0x30]
push ebx
push eax
call fcn.00409413
add esp, 0x10
push dword [esp + 0x2c]
call edi
cmp eax, 0xffffffff
je 0x42f277
push dword [esp + 0x2c]
lea ecx, [esp + 0x10]
call fcn.0040ac90
xor edi, edi
cmp dword [esp + 0x14], edi
jbe 0x42f32a
mov eax, dword [esi + 0x54]
add eax, 0x824
push eax
push 1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x464]
call fcn.004334bf
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esp + 0x45c]
call fcn.0043351e
cmp eax, 1
je 0x42f31e
push dword [esp + 0x24c]
push dword [esp + 0x248]
push 0x25
call fcn.00422888
lea ecx, [esp + 0x240]
call fcn.004059ee
mov eax, dword [esi + 0x54]
add eax, 0x848
push eax
push eax
push dword [esp + 0x24c]
lea eax, [esp + 0x34]
push eax
call fcn.00409413
mov eax, dword [esi + 0x54]
add esp, 0x10
add eax, 0x848
push 0x40
push eax
push dword [esp + 0x34]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x458]
call fcn.004334fd
push 5
jmp 0x42f356
lea ecx, [esp + 0x458]
call fcn.004334fd
push edi
push edi
push 0xf0
push dword [esi + 0xc8]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
mov eax, dword [esi + 0x54]
je 0x42f34d
or dword [eax + 0x840], 1
jmp 0x42f354
and dword [eax + 0x840], 0xfffffffe
push 6
mov eax, 0x444620
pop esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x240], eax
mov dword [esp + 0x244], edi
mov dword [esp + 0x248], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0xc], 0x44251c
call fcn.00409706
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret