joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415368
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 0x473350
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebp, eax
test ebp, ebp
je 0x41549d
push esi
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp esi, 0x10
jbe 0x41549c
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 0x41549c
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x41549c
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x415495
push esi
push ebp
push eax
mov dword [esp + 0x28], ebx
call fcn.0041c780
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push ebx
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x41548e
mov ecx, dword [esp + 0x1c]
call fcn.004154e0
mov ebp, eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test ebp, ebp
je 0x41548e
push dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
push 0xfc
push 0x1e0
mov dword [esp + 0x1c], ebx
call fcn.0041566e
test al, al
je 0x415485
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 0x41545e
mov dword [ebp + 8], eax
jmp 0x415485
mov esi, dword [esp + 0x10]
test esi, esi
je 0x415485
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 0x415483
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 0x416c21
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [eax + 4]
push esi
mov esi, ecx
call fcn.00416ca2
xor ebx, ebx
test ebp, ebp
je 0x416c97
cmp word [ebp], bx
je 0x416c97
push edi
push 0x44
lea eax, [esp + 0x24]
push ebx
push eax
call fcn.0041cd00
xor eax, eax
lea edi, [esp + 0x1c]
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 + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push ebx
push ebx
push 8
push ebx
push ebx
push ebx
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
test eax, eax
je 0x416c97
mov eax, dword [esp + 0xc]
mov bl, 1
mov dword [esi], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0xc], eax
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x54
ret 0x14
Function at 0x416e43
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 0x416f53
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x416f53
lea ecx, [ebp - 0x240]
call fcn.00403638
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 0x416f53
cmp byte [ebx + 0x3ab0], 0
jne 0x416f53
lea ecx, [ebp - 0x458]
call fcn.00403638
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 + 0x34]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x454]
call dword [eax + 0x3c]
cmp eax, 0xc8
jne 0x416f53
lea ecx, [ebp - 0x28]
call fcn.00403ac5
mov eax, ecx
lea ecx, [ebx + 0x3a80]
push eax
call fcn.00403522
xor esi, esi
cmp dword [ebp - 0x1c], esi
ja 0x416f08
cmp dword [ebp - 0x20], 0x4e20
jbe 0x416f4b
push ecx
push ecx
push dword [ebp - 0x23c]
lea ecx, [ebp - 0x28]
call fcn.0040427c
test al, al
je 0x416f4b
push ecx
push edi
push ecx
push dword [ebp + 8]
mov edx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionFonts
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00403d10
push edi
push str.value_sunitfile
push str.Install_Component
push esi
push esi
push 0x4b40d0
call fcn.0043f2a4
add esp, 0x28
lea ecx, [ebp - 0x28]
call fcn.00403ae8
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x416f5a
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 0x41704f
lea ecx, [ebp - 0x240]
call fcn.00403638
push dword [ebp + 0xc]
mov eax, ecx
push edi
push 0x470fa8
push eax
call fcn.004011fb
add esp, 0x10
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41704f
cmp byte [edi + 0x3ab0], 0
jne 0x41704f
lea ecx, [ebp - 0x458]
call fcn.00403638
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 + 0x34]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x454]
call dword [eax + 0x3c]
cmp eax, 0xc8
jne 0x41704f
lea ecx, [ebp - 0x28]
call fcn.00403ac5
mov eax, ecx
lea ecx, [edi + 0x3a80]
push eax
call fcn.00403522
xor esi, esi
cmp dword [ebp - 0x1c], esi
ja 0x417017
cmp dword [ebp - 0x20], 0x186a0
jbe 0x417047
push ecx
push ecx
push dword [ebp - 0x23c]
lea ecx, [ebp - 0x28]
call fcn.0040427c
test al, al
je 0x417047
push dword [ebp + 8]
push str.value_sunitfile
push str.Install_Component
push esi
push esi
push 0x4b40d0
call fcn.0043f2a4
add esp, 0x18
lea ecx, [ebp - 0x28]
call fcn.00403ae8
pop edi
pop esi
leave
ret 8
Function at 0x4170f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x493460]
sub esp, 0x11c
push esi
push edi
xor edi, edi
mov esi, ecx
test eax, eax
jg 0x417159
push 0x118
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.0041cd00
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 0x4171c8
imul eax, dword [ebp - 0x118], 0x64
add eax, dword [ebp - 0x114]
mov dword [0x493464], eax
mov eax, dword [ebp - 0x110]
mov dword [0x493460], eax
cmp eax, 0x1db1
jl 0x4171c8
push esi
push edi
push edi
push 0x24
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x4171c8
push ebx
mov ecx, esi
call fcn.00416d7a
push str.oledlg.dll
mov bl, al
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x417197
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [esi + 0x3ab1], 1
cmp byte [esi + 0x3ab1], 0
je 0x4171a4
test bl, bl
je 0x4171c7
lea edi, [esi + 0x208]
mov ecx, edi
call fcn.00403ba4
test al, al
jne 0x4171c7
push 0x400000
push esi
push 0x4170be
mov ecx, edi
call fcn.00403b43
pop ebx
pop edi
pop esi
leave
ret
Function at 0x4180ed
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x66c
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
lea ecx, [esp + 0x268]
mov dword [esp + 0x14], edi
call fcn.004049dc
cmp dword [ebp + 0xc], 0x80
mov bl, 1
ja 0x4182a6
mov ecx, esi
call fcn.00401b89
test al, al
jne 0x4182a6
cmp dword [esi + 8], 3
jbe 0x4182a6
push dword [edi + 4]
lea eax, [esp + 0x26c]
push dword [esi + 4]
push 0x470fa8
push eax
call fcn.004011fb
add esp, 0x10
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x270]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4182a8
test byte [esp + 0x18], 0x10
je 0x418224
mov edx, 0x46fdec
lea ecx, [esp + 0x44]
call fcn.00415a8b
test eax, eax
je 0x418289
mov edx, 0x470fa0
lea ecx, [esp + 0x44]
call fcn.00415a8b
test eax, eax
je 0x418289
lea eax, [esp + 0x44]
push eax
push dword [esi + 4]
lea eax, [esp + 0x270]
push 0x470fa8
push eax
call fcn.004011fb
and dword [esp + 0x20], 0
lea ecx, [esp + 0x278]
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x24]
inc eax
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004180ed
add esp, 0x18
push dword [esp + 0x26c]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x418252
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x418287
push 0x80
push dword [esp + 0x270]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esp + 0x26c]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x418283
lea eax, [esp + 0x44]
push eax
push dword [esi + 4]
lea eax, [esp + 0x270]
push 0x470fa8
push eax
call fcn.004011fb
add esp, 0x10
push dword [esp + 0x26c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x418259
mov eax, dword [ebp + 8]
inc dword [eax]
jmp 0x418289
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x418287
push 0x80
push dword [esp + 0x270]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esp + 0x26c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x418289
xor bl, bl
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x418170
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4182a8
xor bl, bl
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4182d9
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
push esi
lea eax, [esp + 0x1c]
mov dword [esp + 0xc], 0x4654d8
push edi
mov dword [esp + 0x14], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x1c], 0x10
xor edi, edi
mov word [esp + 0x20], ax
push 0x476bd4
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], edi
call fcn.0040349c
lea eax, [esp + 0xc]
mov dword [esp + 0x10], 0x476bd0
push edi
push eax
lea edx, [esp + 0x18]
mov dword [esp + 0x14], edi
mov ecx, esi
call fcn.004180ed
pop ecx
pop ecx
test al, al
je 0x418374
push dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
call edi
test eax, eax
jne 0x418370
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x418374
push 0x80
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esi + 4]
call edi
test eax, eax
setne al
jmp 0x418376
mov al, 1
jmp 0x418376
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x418e9c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
test edx, edx
je 0x418eee
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 0x418eee
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 0x418ef0
xor al, al
pop ebx
leave
ret
Function at 0x41b8c4
Capabilities:
Parse pe header

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

Function at 0x4303d5
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.00430254
mov esi, eax
add esp, 0x10
test esi, esi
je 0x430409
push dword [ebp + 8]
mov ecx, esi
call dword [0x45f6b8]
call esi
jmp 0x43040f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x430453
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.00430254
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43048a
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 0x430492
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.00430254
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4304cc
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 0x4324b1
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x47c010]
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 0x4324fc
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0043264c
test al, al
jne 0x4324f6
sub edx, 2
cmp edx, edi
jne 0x4324dc
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x43251e
lea eax, [edi + 2]
cmp edx, eax
je 0x43251e
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004323fd
add esp, 0x10
jmp 0x432618
push esi
lea ecx, [ebp - 0x255]
call fcn.0043264c
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 0x432561
push dword [ebp - 0x25c]
jmp 0x43250e
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 0x43259e
cmp word [ebp - 0x226], 0
je 0x4325bf
cmp word [ebp - 0x226], ax
jne 0x43259e
cmp word [ebp - 0x224], 0
je 0x4325bf
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004323fd
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x43260b
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x432578
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4325f3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x432618
push 0x43222d
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00428e20
add esp, 0x10
jmp 0x4325e8
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.0041b546
leave
ret

Function at 0x432752
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x432763
pop esi
ret
push ebx
push edi
push esi
call fcn.0043271b
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0042e692
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x43278b
push ebx
push esi
push edi
call fcn.0041c780
add esp, 0xc
push 0
call fcn.0042e658
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x432b5b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004327a0
Function at 0x4389d0
Capabilities:
Parse pe header

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

Disassembly:
mov eax, 0x101c
call fcn.0041be30
cmp dword [esp + 0x1020], 0
push ebx
push ebp
push esi
push edi
je 0x43eaf6
mov esi, 0x4b40d0
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4b90f4]
jmp 0x43eaeb
push dword [esp + 0x1030]
push ebx
call fcn.0042ab09
pop ecx
pop ecx
test eax, eax
jne 0x43eae5
lea ecx, [ebx + 0x894]
call fcn.00401b89
test al, al
je 0x43eb05
mov ebx, dword [ebx + 0x18e0]
test ebx, ebx
jne 0x43eac3
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 0x43eb4b
mov edi, dword [ebx + 0x89c]
cmp edi, ecx
cmovae edi, eax
lea esi, [edi + edi]
push esi
push dword [ebx + 0x898]
jmp 0x43eb60
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.0041c780
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 0x43ec42
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x43ebbd
mov edx, dword [esp + 0x20]
test edx, edx
je 0x43ebc1
push 0x46cfe8
push ecx
call fcn.0041bffe
pop ecx
pop ecx
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x43ebbd
sub eax, ecx
sar eax, 1
jns 0x43ebf4
mov edx, dword [esp + 0x20]
test ecx, ecx
je 0x43ec42
lea eax, [edx + 0xc]
cmp eax, dword [esp + 0x24]
jae 0x43ebf8
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 0x43ec42
mov esi, ebx
xor ebp, ebp
lea edi, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, bp
jne 0x43ec03
sub esi, edi
sar esi, 1
je 0x43ec42
lea eax, [esi + edx]
cmp eax, dword [esp + 0x24]
jae 0x43ec42
lea eax, [esi + esi]
push eax
lea eax, [ecx + edx*2]
push ebx
push eax
call fcn.0041c780
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 0x4b40d0
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 0x43eaf8
Function at 0x443aa2
Capabilities:
Identify system language via api

Disassembly:
sub esp, 0x380
push esi
mov esi, dword [esp + 0x38c]
test esi, esi
jne 0x443abb
xor al, al
jmp 0x443ce4
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.0040529f
lea ebx, [ebp + 1]
push ebx
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0041cd00
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.00403dd1
add esp, 0x2c
mov edi, 0x2710
test al, al
je 0x443b29
lea eax, [esp + 0x10]
push eax
call fcn.0042a7b4
pop ecx
test edx, edx
jg 0x443b64
jl 0x443b29
cmp eax, edi
jae 0x443b64
push ebx
push 0xfe
lea eax, [esp + 0x18]
mov edx, str.SOFTWAREMetaQuotes_Software
push eax
push 0x46d090
mov ecx, closesocket
call fcn.00403dd1
add esp, 0x10
test al, al
je 0x443b6b
lea eax, [esp + 0x10]
push eax
call fcn.0042a7b4
pop ecx
test edx, edx
jg 0x443b64
jl 0x443b6b
cmp eax, edi
jb 0x443b6b
mov ax, word [esp + 0x10]
jmp 0x443b72
xor eax, eax
mov word [esp + 0x10], ax
test ax, ax
je 0x443bbc
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 0x443bbc
push str.utm_uniq
mov edx, ebp
mov ecx, esi
call fcn.004073db
lea eax, [esp + 0x110]
mov edx, ebp
push eax
mov ecx, esi
call fcn.004073db
cmp byte [0x4b9f70], 0
je 0x443be1
push str.utm_link
mov edx, ebp
mov ecx, esi
call fcn.004073db
push 0x4b9f70
mov edx, ebp
mov ecx, esi
call fcn.004073db
push ebp
lea eax, [esp + 0x194]
push eax
push str.https:__www.mql5.com
call fcn.004439c2
test al, al
je 0x443cc8
push 0x4b9590
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x4b9ffc], 0
je 0x443cbd
mov edi, dword [0x4b9ff8]
jmp 0x443cb5
lea eax, [esp + 0x190]
push eax
push edi
call fcn.004438ec
test al, al
je 0x443ca8
lea ebp, [edi + 0x80]
mov edx, str.utm_campaign
xor ecx, ecx
movzx eax, byte [ecx + ebp]
cmp al, byte [edx + ecx]
jne 0x443c4f
inc ecx
cmp ecx, 0xd
jne 0x443c3e
jmp 0x443c65
mov edx, str.utm_source
xor ecx, ecx
movzx eax, byte [ecx + ebp]
cmp al, byte [edx + ecx]
jne 0x443ca8
inc ecx
cmp ecx, 0xb
jne 0x443c56
lea ebx, [edi + 0xc0]
cmp byte [ebx], 0
je 0x443ca8
push 0x46d1a0
mov edx, 0xff
mov ecx, esi
call fcn.004073db
push ebp
mov ebp, 0xff
mov ecx, esi
mov edx, ebp
call fcn.004073db
push 0x46d1a4
mov edx, ebp
mov ecx, esi
call fcn.004073db
push ebx
mov edx, ebp
mov ecx, esi
call fcn.004073db
push edi
mov ecx, 0x4b9ff0
call fcn.00407348
mov edi, eax
test edi, edi
jne 0x443c1f
push 0x4b9590
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebp
pop ebx
jmp 0x443cdc
cmp al, 0x20
jne 0x443cd6
mov byte [esi], 0x2b
jmp 0x443cdb
jge 0x443cdb
mov byte [esi], 0x5f
inc esi
mov al, byte [esi]
test al, al
jne 0x443ccd
inc al
pop esi
add esp, 0x380
ret 0xc
Function at 0x44419f
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
test esi, esi
je 0x444293
xor ebx, ebx
cmp word [esi], bx
je 0x444293
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
push edi
push ebp
push esi
call fcn.00444093
test al, al
je 0x4441d8
mov al, 1
jmp 0x444295
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 0x444293
mov edx, dword [esp + 0x34]
test edx, edx
je 0x444293
mov eax, edx
movzx ecx, di
cmp dword [eax + 4], ecx
je 0x444234
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x444226
jmp 0x444288
mov ecx, dword [eax + 0x18]
push 0x17
pop eax
cmp di, ax
jne 0x444275
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 0x444271
mov eax, dword [esp + 0x3c]
inc ecx
cmp ecx, 4
jne 0x44425d
jmp 0x444288
mov bl, 1
jmp 0x444288
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 0x444295
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc

Function at 0x444f1e
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.004463f0
mov edx, 0x46f29c
pop ecx
test al, al
je 0x444f5e
lea esi, [ebp - 0x100]
xor ecx, ecx
movzx eax, byte [esi + ecx]
cmp al, byte [edx + ecx]
jne 0x444f71
inc ecx
cmp ecx, 3
jne 0x444f4f
push ecx
push edx
push ecx
push 0x3f
pop edx
mov ecx, 0x4b9f30
call fcn.0044033b
pop esi
leave
ret
lea eax, [ebp - 0x100]
push eax
push str._s_en
push 0x3f
push 0x4b9f30
call fcn.00407378
add esp, 0x10
jmp 0x444f6e