joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415064
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ecx
push ebx
push ebp
push edi
xor ebx, ebx
mov dword [esp + 0x10], ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
movzx eax, word [esp + 0x18]
push 0x473310
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebp, eax
test ebp, ebp
je 0x415199
push esi
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp esi, 0x10
jbe 0x415198
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x415198
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x415198
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x415191
push esi
push ebp
push eax
mov dword [esp + 0x28], ebx
call fcn.0041c430
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push ebx
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x41518a
mov ecx, dword [esp + 0x1c]
call fcn.004151dc
mov ebp, eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test ebp, ebp
je 0x41518a
push dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
push 0xfc
push 0x1e0
mov dword [esp + 0x1c], ebx
call fcn.0041536a
test al, al
je 0x415181
push dword [esp + 0x28]
lea eax, [esp + 0x14]
push eax
push dword [ebp + 4]
call dword [sym.imp.gdiplus.dll_GdipCreateHBITMAPFromBitmap]
test eax, eax
je 0x41515a
mov dword [ebp + 8], eax
jmp 0x415181
mov esi, dword [esp + 0x10]
test esi, esi
je 0x415181
push dword [esp + 0x28]
mov eax, dword [esp + 0x18]
push esi
push dword [eax + 4]
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
test esi, esi
je 0x41517f
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov bl, 1
mov eax, dword [ebp]
mov ecx, ebp
push 1
call dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
pop edi
pop ebp
mov al, bl
pop ebx
pop ecx
pop ecx
ret 0x10

Function at 0x416945
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, ecx
call fcn.004169d4
mov ebx, dword [esp + 0x70]
test ebx, ebx
je 0x4169c9
xor ebp, ebp
cmp word [ebx], bp
je 0x4169c9
push edi
push 0x44
lea eax, [esp + 0x30]
push ebp
push eax
call fcn.0041c9b0
xor eax, eax
mov dword [esp + 0x1c], 0xc
lea edi, [esp + 0x28]
mov dword [esp + 0x24], 1
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
push ebp
push ebp
push 8
push ebp
push ebp
push ebp
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
test eax, eax
je 0x4169c9
mov ecx, dword [esp + 0x18]
mov al, 1
mov dword [esi], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0xc], ecx
jmp 0x4169cb
xor al, al
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x14
Function at 0x416b75
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x416c85
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x416c85
lea ecx, [ebp - 0x240]
call fcn.00403625
push edi
push ebx
mov eax, ecx
push str._sFonts_s
push eax
call fcn.004011fb
add esp, 0x10
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x416c85
cmp byte [ebx + 0x3698], 0
jne 0x416c85
lea ecx, [ebp - 0x458]
call fcn.00403625
push edi
mov eax, ecx
push str.https:__download.mql5.com_cdn_web_components__s
push eax
call fcn.004011fb
lea esi, [ebx + 0x210]
add esp, 0xc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x454]
call dword [eax + 0x38]
cmp eax, 0xc8
jne 0x416c85
lea ecx, [ebp - 0x28]
call fcn.00403a89
mov eax, ecx
lea ecx, [ebx + 0x3670]
push eax
call fcn.0040350f
xor esi, esi
cmp dword [ebp - 0x1c], esi
ja 0x416c3a
cmp dword [ebp - 0x20], 0x4e20
jbe 0x416c7d
push ecx
push ecx
push dword [ebp - 0x23c]
lea ecx, [ebp - 0x28]
call fcn.0040421d
test al, al
je 0x416c7d
push ecx
push edi
push ecx
push dword [ebp + 8]
mov edx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionFonts
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00403c5f
push edi
push str.value_sunitfile
push str.Install_Component
push esi
push esi
push 0x4b40c0
call fcn.0043f374
add esp, 0x28
lea ecx, [ebp - 0x28]
call fcn.00403aac
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x416c8c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
cmp dword [ebp + 0xc], 0
push esi
push edi
mov edi, ecx
je 0x416d81
lea ecx, [ebp - 0x240]
call fcn.00403625
push dword [ebp + 0xc]
mov eax, ecx
push edi
push 0x470f90
push eax
call fcn.004011fb
add esp, 0x10
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x416d81
cmp byte [edi + 0x3698], 0
jne 0x416d81
lea ecx, [ebp - 0x458]
call fcn.00403625
push dword [ebp + 8]
mov eax, ecx
push str.https:__download.mql5.com_cdn_web_components__s
push eax
call fcn.004011fb
lea esi, [edi + 0x210]
add esp, 0xc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x454]
call dword [eax + 0x38]
cmp eax, 0xc8
jne 0x416d81
lea ecx, [ebp - 0x28]
call fcn.00403a89
mov eax, ecx
lea ecx, [edi + 0x3670]
push eax
call fcn.0040350f
xor esi, esi
cmp dword [ebp - 0x1c], esi
ja 0x416d49
cmp dword [ebp - 0x20], 0x186a0
jbe 0x416d79
push ecx
push ecx
push dword [ebp - 0x23c]
lea ecx, [ebp - 0x28]
call fcn.0040421d
test al, al
je 0x416d79
push dword [ebp + 8]
push str.value_sunitfile
push str.Install_Component
push esi
push esi
push 0x4b40c0
call fcn.0043f374
add esp, 0x18
lea ecx, [ebp - 0x28]
call fcn.00403aac
pop edi
pop esi
leave
ret 8
Function at 0x416e22
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x493450]
sub esp, 0x11c
push esi
push edi
xor edi, edi
mov esi, ecx
test eax, eax
jg 0x416e8b
push pe_nt_image_headers32
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.0041c9b0
add esp, 0xc
mov dword [ebp - 0x11c], 0x11c
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x416efa
imul eax, dword [ebp - 0x118], 0x64
add eax, dword [ebp - 0x114]
mov dword [0x493454], eax
mov eax, dword [ebp - 0x110]
mov dword [0x493450], eax
cmp eax, 0x1db1
jl 0x416efa
push esi
push edi
push edi
push 0x24
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x416efa
push ebx
mov ecx, esi
call fcn.00416aac
push str.oledlg.dll
mov bl, al
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x416ec9
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [esi + 0x3699], 1
cmp byte [esi + 0x3699], 0
je 0x416ed6
test bl, bl
je 0x416ef9
lea edi, [esi + 0x208]
mov ecx, edi
call fcn.00403b68
test al, al
jne 0x416ef9
push 0x400000
push esi
push 0x416df0
mov ecx, edi
call fcn.00403b07
pop ebx
pop edi
pop esi
leave
ret

Function at 0x418bd1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
test edx, edx
je 0x418c23
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x20119
push ebx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x418c23
push ebx
push ebx
push ebx
push ebx
push str.EnableCertPaddingCheck
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
xor ecx, ecx
movzx ebx, bl
inc ecx
test eax, eax
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x418c25
xor al, al
pop ebx
leave
ret
Function at 0x41b574
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41b5b3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41b5b3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41b5b3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41b5b3
cmp dword [ecx + 0x74], 0xe
jbe 0x41b5b3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x430085
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x462890
push 0x462888
push str.FlsAlloc
push 0x1f
call fcn.0042ff04
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4300b9
push dword [ebp + 8]
mov ecx, esi
call dword [0x45f6b8]
call esi
jmp 0x4300bf
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x430103
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4628a0
push 0x462898
push str.FlsGetValue
push 0x21
call fcn.0042ff04
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43013a
push dword [ebp + 8]
mov ecx, esi
call dword [0x45f6b8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x430142
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4628a8
push 0x4628a0
push str.FlsSetValue
push 0x22
call fcn.0042ff04
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43017c
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x45f6b8]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x432161
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x47c014]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4321ac
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004322fc
test al, al
jne 0x4321a6
sub edx, 2
cmp edx, edi
jne 0x43218c
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4321ce
lea eax, [edi + 2]
cmp edx, eax
je 0x4321ce
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004320ad
add esp, 0x10
jmp 0x4322c8
push esi
lea ecx, [ebp - 0x255]
call fcn.004322fc
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x432211
push dword [ebp - 0x25c]
jmp 0x4321be
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x43224e
cmp word [ebp - 0x226], 0
je 0x43226f
cmp word [ebp - 0x226], ax
jne 0x43224e
cmp word [ebp - 0x224], 0
je 0x43226f
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004320ad
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4322bb
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x432228
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4322a3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4322c8
push 0x431edd
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00428ad0
add esp, 0x10
jmp 0x432298
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b1f6
leave
ret

Function at 0x432402
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x432413
pop esi
ret
push ebx
push edi
push esi
call fcn.004323cb
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0042e342
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x43243b
push ebx
push esi
push edi
call fcn.0041c430
add esp, 0xc
push 0
call fcn.0042e308
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x43280b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00432450
Function at 0x438680
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4386ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4386ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x43eb67
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x101c
call fcn.0041bae0
cmp dword [esp + 0x1020], 0
push ebx
push ebp
push esi
push edi
je 0x43ebc6
mov esi, 0x4b40c0
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4b8ccc]
jmp 0x43ebbb
push dword [esp + 0x1030]
push ebx
call fcn.0042a7b9
pop ecx
pop ecx
test eax, eax
jne 0x43ebb5
lea ecx, [ebx + 0x894]
call fcn.00401b89
test al, al
je 0x43ebd5
mov ebx, dword [ebx + 0x18e0]
test ebx, ebx
jne 0x43eb93
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x101c
ret 8
lea eax, [esp + 0x28]
mov dword [esp + 0x18], 0x46cfac
mov ecx, 0x800
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x24], ecx
cmp byte [ebx + 0x80], al
mov dword [esp + 0x20], eax
mov word [esp + 0x28], ax
lea eax, [ecx - 1]
je 0x43ec1b
mov edi, dword [ebx + 0x89c]
cmp edi, ecx
cmovae edi, eax
lea esi, [edi + edi]
push esi
push dword [ebx + 0x898]
jmp 0x43ec30
mov edi, dword [ebx + 0x10ac]
cmp edi, ecx
cmovae edi, eax
lea esi, [edi + edi]
push esi
push dword [ebx + 0x10a8]
lea eax, [esp + 0x30]
push eax
call fcn.0041c430
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + 0x2c], edi
add esp, 0xc
mov word [esi + eax], cx
xor eax, eax
mov byte [ebx + 0x80], al
mov ebx, dword [esp + 0x1034]
test ebx, ebx
je 0x43ed12
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x43ec8d
mov edx, dword [esp + 0x20]
test edx, edx
je 0x43ec91
push 0x46cfe8
push ecx
call fcn.0041bcae
pop ecx
pop ecx
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x43ec8d
sub eax, ecx
sar eax, 1
jns 0x43ecc4
mov edx, dword [esp + 0x20]
test ecx, ecx
je 0x43ed12
lea eax, [edx + 0xc]
cmp eax, dword [esp + 0x24]
jae 0x43ecc8
lea edi, [ecx + edx*2]
mov esi, str._firstfalse
push 6
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add ecx, 0xc
mov dword [esp + 0x20], ecx
xor edx, edx
mov word [eax + ecx*2], dx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test ecx, ecx
je 0x43ed12
mov esi, ebx
xor ebp, ebp
lea edi, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, bp
jne 0x43ecd3
sub esi, edi
sar esi, 1
je 0x43ed12
lea eax, [esi + edx]
cmp eax, dword [esp + 0x24]
jae 0x43ed12
lea eax, [esi + esi]
push eax
lea eax, [ecx + edx*2]
push ebx
push eax
call fcn.0041c430
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [esp + 0x1c]
add ecx, esi
xor edx, edx
mov dword [esp + 0x20], ecx
mov word [eax + ecx*2], dx
push 0x4b40c0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 1
xor eax, eax
push eax
push eax
push dword [esp + 0x28]
push 0x46cfdc
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov al, 1
jmp 0x43ebc8
Function at 0x443896
Capabilities:
Identify system language via api

Disassembly:
sub esp, 0x380
push esi
mov esi, dword [esp + 0x38c]
test esi, esi
jne 0x4438af
xor al, al
jmp 0x443ad8
push ebx
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ebp, 0xff
push eax
push str.utm_codepage_u
push ebp
push esi
call fcn.004051b5
lea ebx, [ebp + 1]
push ebx
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0041c9b0
push ebx
push 0xfe
lea eax, [esp + 0x34]
mov edx, str.SOFTWAREMetaQuotes_Software
push eax
push 0x46d090
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00403d72
add esp, 0x2c
mov edi, 0x2710
test al, al
je 0x44391d
lea eax, [esp + 0x10]
push eax
call fcn.0042a464
pop ecx
test edx, edx
jg 0x443958
jl 0x44391d
cmp eax, edi
jae 0x443958
push ebx
push 0xfe
lea eax, [esp + 0x18]
mov edx, str.SOFTWAREMetaQuotes_Software
push eax
push 0x46d090
mov ecx, closesocket
call fcn.00403d72
add esp, 0x10
test al, al
je 0x44395f
lea eax, [esp + 0x10]
push eax
call fcn.0042a464
pop ecx
test edx, edx
jg 0x443958
jl 0x44395f
cmp eax, edi
jb 0x44395f
mov ax, word [esp + 0x10]
jmp 0x443966
xor eax, eax
mov word [esp + 0x10], ax
test ax, ax
je 0x4439b0
push 0
push 0
push 0x7f
lea eax, [esp + 0x11c]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x24]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x4439b0
push str.utm_uniq
mov edx, ebp
mov ecx, esi
call fcn.004071a6
lea eax, [esp + 0x110]
mov edx, ebp
push eax
mov ecx, esi
call fcn.004071a6
cmp byte [0x4b9b50], 0
je 0x4439d5
push str.utm_link
mov edx, ebp
mov ecx, esi
call fcn.004071a6
push 0x4b9b50
mov edx, ebp
mov ecx, esi
call fcn.004071a6
push ebp
lea eax, [esp + 0x194]
push eax
push str.https:__www.mql5.com
call fcn.004437b6
test al, al
je 0x443abc
push 0x4b9170
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x4b9bdc], 0
je 0x443ab1
mov edi, dword [0x4b9bd8]
jmp 0x443aa9
lea eax, [esp + 0x190]
push eax
push edi
call fcn.004436e0
test al, al
je 0x443a9c
lea ebp, [edi + 0x80]
mov edx, str.utm_campaign
xor ecx, ecx
movzx eax, byte [ecx + ebp]
cmp al, byte [edx + ecx]
jne 0x443a43
inc ecx
cmp ecx, 0xd
jne 0x443a32
jmp 0x443a59
mov edx, str.utm_source
xor ecx, ecx
movzx eax, byte [ecx + ebp]
cmp al, byte [edx + ecx]
jne 0x443a9c
inc ecx
cmp ecx, 0xb
jne 0x443a4a
lea ebx, [edi + 0xc0]
cmp byte [ebx], 0
je 0x443a9c
push 0x46d168
mov edx, 0xff
mov ecx, esi
call fcn.004071a6
push ebp
mov ebp, 0xff
mov ecx, esi
mov edx, ebp
call fcn.004071a6
push 0x46d16c
mov edx, ebp
mov ecx, esi
call fcn.004071a6
push ebx
mov edx, ebp
mov ecx, esi
call fcn.004071a6
push edi
mov ecx, 0x4b9bd0
call fcn.00407113
mov edi, eax
test edi, edi
jne 0x443a13
push 0x4b9170
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebp
pop ebx
jmp 0x443ad0
cmp al, 0x20
jne 0x443aca
mov byte [esi], 0x2b
jmp 0x443acf
jge 0x443acf
mov byte [esi], 0x5f
inc esi
mov al, byte [esi]
test al, al
jne 0x443ac1
inc al
pop esi
add esp, 0x380
ret 0xc
Function at 0x443f8f
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
test esi, esi
je 0x444083
xor ebx, ebx
cmp word [esi], bx
je 0x444083
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
push edi
push ebp
push esi
call fcn.00443e83
test al, al
je 0x443fc8
mov al, 1
jmp 0x444085
lea eax, [esp + 0x34]
mov dword [esp + 0x10], ebx
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x38], ebx
push eax
xorps xmm0, xmm0
mov dword [esp + 0x1c], ebx
push ebx
push esi
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 6
call dword [sym.imp.WS2_32.dll_GetAddrInfoW]
test eax, eax
jne 0x444083
mov edx, dword [esp + 0x34]
test edx, edx
je 0x444083
mov eax, edx
movzx ecx, di
cmp dword [eax + 4], ecx
je 0x444024
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x444016
jmp 0x444078
mov ecx, dword [eax + 0x18]
push 0x17
pop eax
cmp di, ax
jne 0x444065
lea eax, [ebp + 8]
mov edi, eax
mov dword [esp + 0x3c], eax
lea esi, [ecx + 8]
push 0x17
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov word [ebp], cx
mov esi, 0x493440
mov ecx, ebx
mov eax, dword [eax + ecx*4]
cmp eax, dword [esi + ecx*4]
jne 0x444061
mov eax, dword [esp + 0x3c]
inc ecx
cmp ecx, 4
jne 0x44404d
jmp 0x444078
mov bl, 1
jmp 0x444078
mov eax, dword [ecx + 4]
mov dword [ebp + 4], eax
push 2
pop eax
mov word [ebp], ax
cmp dword [ecx + 4], ebx
setne bl
push edx
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
mov al, bl
jmp 0x444085
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
Function at 0x444f87
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
lea edx, [ebp - 0x100]
call fcn.00445f62
mov edx, 0x46f1cc
pop ecx
test al, al
je 0x444fc7
lea esi, [ebp - 0x100]
xor ecx, ecx
movzx eax, byte [esi + ecx]
cmp al, byte [edx + ecx]
jne 0x444fda
inc ecx
cmp ecx, 3
jne 0x444fb8
push ecx
push edx
push ecx
push 0x3f
pop edx
mov ecx, 0x4b9b10
call fcn.00440482
pop esi
leave
ret
lea eax, [ebp - 0x100]
push eax
push str._s_en
push 0x3f
push 0x4b9b10
call fcn.00407143
add esp, 0x10
jmp 0x444fd7
Function at 0x4450f4
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
push edi
mov edi, 0x4b9170
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor esi, esi
mov dword [0x4b9690], eax
cmp byte [0x4b9c00], 0
jne 0x44515c
push 0x190
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.0041c9b0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x445155
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
jmp 0x4452cb
mov byte [0x4b9c00], 1
mov ebx, 0x4b9280
push ebx
push esi
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, 0x103
mov ebp, 0x4b9488
push ebx
mov edx, esi
mov ecx, ebp
call fcn.00403dea
push ebx
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.00403dea
lea eax, [esp + 0x14]
mov edx, esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0043c5ad
test eax, eax
js 0x4451bc
mov eax, dword [esp + 0x14]
mov edx, esi
push ecx
push 0x470050
push ecx
lea ecx, [esp + 0x24]
sub edx, eax
lea ecx, [ecx + eax*2]
call fcn.0043c4eb
lea ecx, [esp + 0x18]
call fcn.004092f9
lea eax, [esp + 0x14]
mov edx, esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0043c5ad
test eax, eax
js 0x4451f4
mov eax, dword [esp + 0x14]
mov edx, esi
push ecx
push str.Terminal
push ecx
lea ecx, [esp + 0x24]
sub edx, eax
lea ecx, [ecx + eax*2]
call fcn.0043c4eb
lea ecx, [esp + 0x18]
call fcn.004092f9
lea eax, [esp + 0x14]
mov edx, esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0043c5ad
test eax, eax
js 0x44522c
mov eax, dword [esp + 0x14]
mov edx, esi
push ecx
push str.Community
push ecx
lea ecx, [esp + 0x24]
sub edx, eax
lea ecx, [ecx + eax*2]
call fcn.0043c4eb
lea ecx, [esp + 0x18]
call fcn.004092f9
push str.MetaQuotesTerminalCommunitydns.dat
mov edx, esi
mov ecx, ebx
call fcn.00403ba5
push str.MetaQuotesTerminalCommunitycookies.dat
mov edx, esi
mov ecx, ebp
call fcn.00403ba5
call fcn.00444f87
call fcn.00444f09
call fcn.00444a99
call fcn.00444997
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push str..mql5.com
call fcn.00444642
push str..mql5.net
call fcn.00444642
push str..finteza.com
call fcn.00444642
push str..metaquotes.net
call fcn.00444642
push str..metatrader.com
call fcn.00444642
call fcn.00444e96
test al, al
je 0x4452c9
mov esi, 0x4b9bf4
mov ecx, esi
call fcn.00403b68
test al, al
jne 0x4452c9
push 0x400000
push edi
push 0x44363a
mov ecx, esi
call fcn.00403b07
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 0xc