joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b5eb
Capabilities:
Create thread

Disassembly:
push ecx
push ecx
push ebx
mov ebx, ecx
push ebp
push esi
push edi
mov eax, dword [ebx + 0x5560]
lea esi, [ebx + 0x820]
test eax, eax
je 0x41b671
xor ebp, ebp
mov edi, esi
inc ebp
or dword [edi], 0xffffffff
lea eax, [edi + 8]
and dword [edi + 4], 0
push ebp
push dword [esp + 0x20]
mov dword [esp + 0x1c], ebp
push 0xff
push eax
mov dword [edi + 0x218], ebx
call fcn.00403ccb
and dword [edi + 0x20c], 0
add esp, 0x10
and dword [edi + 0x214], 0
mov ecx, ebx
mov dword [edi + 0x208], ebp
mov dword [edi + 0x210], 0x3b9aca00
call fcn.0041b42c
mov dword [edi + 0x21c], eax
test eax, eax
je 0x41b6da
mov eax, dword [ebx + 0x5560]
inc ebp
add edi, 0x268
cmp dword [esp + 0x14], eax
jb 0x41b608
push 0xd
push 1
push dword [esp + 0x24]
push eax
push str._u_threads_to_scan__s___u____u_
push str.Parallel
push 0x4b9590
call fcn.004465e5
xor edi, edi
add esp, 0x1c
cmp dword [ebx + 0x5560], edi
jbe 0x41b6cf
lea eax, [esi + 4]
push eax
push 0x10000
push esi
push 0x41b5aa
push 0x40000
push 0
call fcn.0042bafc
add esp, 0x18
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x41b6da
inc edi
add esi, 0x268
cmp edi, dword [ebx + 0x5560]
jb 0x41b69b
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 0xc
xor al, al
jmp 0x41b6d1

Function at 0x41b704
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0041b6de
push 0x20
lea esi, [ebx + 0x828]
xor ecx, ecx
pop edi
cmp dword [esi - 8], 0xffffffff
je 0x41b74c
push dword [ebx + 0x5564]
push dword [esi - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41b73d
push 0
push dword [esi - 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esi - 8], 0xffffffff
xor ecx, ecx
xor eax, eax
mov dword [esi - 4], ecx
mov word [esi], ax
mov dword [esi + 0x200], ecx
mov dword [esi + 0x204], ecx
mov dword [esi + 0x208], ecx
mov dword [esi + 0x20c], ecx
mov dword [esi + 0x210], ecx
mov dword [esi + 0x214], ecx
mov dword [esi + 0x218], ecx
mov byte [esi + 0x21c], cl
add esi, 0x268
sub edi, 1
jne 0x41b719
pop edi
pop esi
pop ebx
ret

Function at 0x41c9c4
Capabilities:
Parse pe header

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

Function at 0x4314d5
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.00431354
mov esi, eax
add esp, 0x10
test esi, esi
je 0x431509
push dword [ebp + 8]
mov ecx, esi
call dword [0x45f6c0]
call esi
jmp 0x43150f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x431553
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.00431354
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43158a
push dword [ebp + 8]
mov ecx, esi
call dword [0x45f6c0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x431592
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.00431354
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4315cc
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x45f6c0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x4335b1
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 0x4335fc
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0043374c
test al, al
jne 0x4335f6
sub edx, 2
cmp edx, edi
jne 0x4335dc
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x43361e
lea eax, [edi + 2]
cmp edx, eax
je 0x43361e
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004334fd
add esp, 0x10
jmp 0x433718
push esi
lea ecx, [ebp - 0x255]
call fcn.0043374c
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 0x433661
push dword [ebp - 0x25c]
jmp 0x43360e
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 0x43369e
cmp word [ebp - 0x226], 0
je 0x4336bf
cmp word [ebp - 0x226], ax
jne 0x43369e
cmp word [ebp - 0x224], 0
je 0x4336bf
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004334fd
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x43370b
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x433678
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4336f3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x433718
push 0x43332d
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00429f20
add esp, 0x10
jmp 0x4336e8
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.0041c646
leave
ret
Function at 0x433852
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x433863
pop esi
ret
push ebx
push edi
push esi
call fcn.0043381b
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0042f792
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x43388b
push ebx
push esi
push edi
call fcn.0041d880
add esp, 0xc
push 0
call fcn.0042f758
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x433c5b
Capabilities:
Set environment variable

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

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

Disassembly:
mov eax, 0x101c
call fcn.0041cf30
cmp dword [esp + 0x1020], 0
push ebx
push ebp
push esi
push edi
je 0x43fba9
mov esi, 0x4b40c0
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4b90ec]
jmp 0x43fb9e
push dword [esp + 0x1030]
push ebx
call fcn.0042bc09
pop ecx
pop ecx
test eax, eax
jne 0x43fb98
lea ecx, [ebx + 0x894]
call fcn.00401b89
test al, al
je 0x43fbb8
mov ebx, dword [ebx + 0x18e0]
test ebx, ebx
jne 0x43fb76
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], 0x46cf54
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 0x43fbfe
mov edi, dword [ebx + 0x89c]
cmp edi, ecx
cmovae edi, eax
lea esi, [edi + edi]
push esi
push dword [ebx + 0x898]
jmp 0x43fc13
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.0041d880
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 0x43fcf5
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x43fc70
mov edx, dword [esp + 0x20]
test edx, edx
je 0x43fc74
push 0x46cf90
push ecx
call fcn.0041d0fe
pop ecx
pop ecx
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x43fc70
sub eax, ecx
sar eax, 1
jns 0x43fca7
mov edx, dword [esp + 0x20]
test ecx, ecx
je 0x43fcf5
lea eax, [edx + 0xc]
cmp eax, dword [esp + 0x24]
jae 0x43fcab
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 0x43fcf5
mov esi, ebx
xor ebp, ebp
lea edi, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, bp
jne 0x43fcb6
sub esi, edi
sar esi, 1
je 0x43fcf5
lea eax, [esi + edx]
cmp eax, dword [esp + 0x24]
jae 0x43fcf5
lea eax, [esi + esi]
push eax
lea eax, [ecx + edx*2]
push ebx
push eax
call fcn.0041d880
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 0x46cf84
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov al, 1
jmp 0x43fbab
Function at 0x444ac2
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov eax, 0x8000
push 0x45f8cc
push eax
mov dword [ebp - 4], eax
call fcn.0041bf4d
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x444b43
lea eax, [ebp - 4]
push eax
push esi
push 0
push 0x1e
push 0x17
pop edi
push edi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
jne 0x444b2a
mov eax, esi
test dword [eax + 0x38], 0x100
je 0x444b23
mov ecx, dword [eax + 0x10]
jmp 0x444b1f
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x444b1c
cmp word [edx], di
jne 0x444b1c
cmp byte [edx + 8], 0xfe
jne 0x444b49
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x444b0a
mov eax, dword [eax + 8]
test eax, eax
jne 0x444afc
mov eax, dword [ebp - 4]
mov ecx, esi
test eax, eax
je 0x444b3c
mov byte [ecx], 0
inc ecx
sub eax, 1
jne 0x444b33
push esi
call fcn.0041bf56
pop ecx
xor al, al
pop edi
pop esi
leave
ret
mov eax, dword [ebp - 4]
mov ecx, esi
test eax, eax
je 0x444b5b
mov byte [ecx], 0
inc ecx
sub eax, 1
jne 0x444b52
push esi
call fcn.0041bf56
pop ecx
mov al, 1
jmp 0x444b45
Function at 0x444c46
Capabilities:
Identify system language via api

Disassembly:
sub esp, 0x380
push esi
mov esi, dword [esp + 0x38c]
test esi, esi
jne 0x444c5f
xor al, al
jmp 0x444e88
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.00405214
lea ebx, [ebp + 1]
push ebx
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0041de00
push ebx
push 0xfe
lea eax, [esp + 0x34]
mov edx, str.SOFTWAREMetaQuotes_Software
push eax
push 0x46d038
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00403e35
add esp, 0x2c
mov edi, 0x2710
test al, al
je 0x444ccd
lea eax, [esp + 0x10]
push eax
call fcn.0042b8b4
pop ecx
test edx, edx
jg 0x444d08
jl 0x444ccd
cmp eax, edi
jae 0x444d08
push ebx
push 0xfe
lea eax, [esp + 0x18]
mov edx, str.SOFTWAREMetaQuotes_Software
push eax
push 0x46d038
mov ecx, SysReAllocStringLen
call fcn.00403e35
add esp, 0x10
test al, al
je 0x444d0f
lea eax, [esp + 0x10]
push eax
call fcn.0042b8b4
pop ecx
test edx, edx
jg 0x444d08
jl 0x444d0f
cmp eax, edi
jb 0x444d0f
mov ax, word [esp + 0x10]
jmp 0x444d16
xor eax, eax
mov word [esp + 0x10], ax
test ax, ax
je 0x444d60
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 0x444d60
push str.utm_uniq
mov edx, ebp
mov ecx, esi
call fcn.00407473
lea eax, [esp + 0x110]
mov edx, ebp
push eax
mov ecx, esi
call fcn.00407473
cmp byte [0x4b9f70], 0
je 0x444d85
push str.utm_link
mov edx, ebp
mov ecx, esi
call fcn.00407473
push 0x4b9f70
mov edx, ebp
mov ecx, esi
call fcn.00407473
push ebp
lea eax, [esp + 0x194]
push eax
push str.https:__www.mql5.com
call fcn.00444b66
test al, al
je 0x444e6c
push 0x4b9590
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x4b9ffc], 0
je 0x444e61
mov edi, dword [0x4b9ff8]
jmp 0x444e59
lea eax, [esp + 0x190]
push eax
push edi
call fcn.004449ec
test al, al
je 0x444e4c
lea ebp, [edi + 0x80]
mov edx, str.utm_campaign
xor ecx, ecx
movzx eax, byte [ecx + ebp]
cmp al, byte [edx + ecx]
jne 0x444df3
inc ecx
cmp ecx, 0xd
jne 0x444de2
jmp 0x444e09
mov edx, str.utm_source
xor ecx, ecx
movzx eax, byte [ecx + ebp]
cmp al, byte [edx + ecx]
jne 0x444e4c
inc ecx
cmp ecx, 0xb
jne 0x444dfa
lea ebx, [edi + 0xc0]
cmp byte [ebx], 0
je 0x444e4c
push 0x46d148
mov edx, 0xff
mov ecx, esi
call fcn.00407473
push ebp
mov ebp, 0xff
mov ecx, esi
mov edx, ebp
call fcn.00407473
push 0x46d14c
mov edx, ebp
mov ecx, esi
call fcn.00407473
push ebx
mov edx, ebp
mov ecx, esi
call fcn.00407473
push edi
mov ecx, 0x4b9ff0
call fcn.004073e0
mov edi, eax
test edi, edi
jne 0x444dc3
push 0x4b9590
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebp
pop ebx
jmp 0x444e80
cmp al, 0x20
jne 0x444e7a
mov byte [esi], 0x2b
jmp 0x444e7f
jge 0x444e7f
mov byte [esi], 0x5f
inc esi
mov al, byte [esi]
test al, al
jne 0x444e71
inc al
pop esi
add esp, 0x380
ret 0xc
Function at 0x4452e2
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x2c
cmp dword [esp + 0x30], 0
push ebx
push ebp
push esi
push edi
je 0x445474
mov esi, dword [esp + 0x48]
test esi, esi
je 0x445474
mov ebp, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
cmp dword [ebp], edi
jge 0x445474
lea eax, [esp + 0x14]
mov dword [esp + 0x20], 1
push eax
xor ecx, ecx
mov dword [esp + 0x28], 6
lea eax, [esp + 0x1c]
mov dword [esp + 0x50], ecx
push eax
push ecx
push dword [esp + 0x4c]
xorps xmm0, xmm0
mov dword [esp + 0x28], ecx
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ecx
call dword [sym.imp.WS2_32.dll_GetAddrInfoW]
test eax, eax
jne 0x44546e
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x44546e
push 2
pop edx
mov ax, word [esp + 0x54]
test ax, ax
je 0x445384
movzx eax, ax
cmp dword [ebx + 4], eax
jne 0x445459
mov eax, dword [ebx + 4]
push 0x17
pop ecx
cmp eax, ecx
jne 0x4453f9
cmp byte [0x4ba021], 0
je 0x445459
mov eax, dword [ebx + 0x18]
mov edx, 0x493440
add eax, 8
xor ecx, ecx
mov dword [esp + 0x40], eax
mov eax, dword [eax + ecx*4]
cmp eax, dword [edx + ecx*4]
jne 0x4453c3
mov eax, dword [esp + 0x40]
inc ecx
cmp ecx, 4
jne 0x4453ac
jmp 0x445456
mov eax, dword [ebp]
cmp eax, edi
jge 0x445456
imul edx, eax, 0x1c
xor eax, eax
push 7
pop ecx
push dword [esp + 0x44]
add edx, esi
mov esi, dword [esp + 0x44]
mov edi, edx
rep stosd dword es:[edi], eax
lea edi, [edx + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [esp + 0x48]
push 0x17
jmp 0x445435
cmp eax, edx
jne 0x445459
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x40], eax
cmp dword [eax + 4], 0
je 0x445459
mov eax, dword [ebp]
cmp eax, edi
jge 0x445459
imul edx, eax, 0x1c
xor eax, eax
push 7
pop ecx
push dword [esp + 0x44]
add edx, esi
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
call dword [sym.imp.WS2_32.dll_htons]
push 2
mov edx, dword [ebp]
mov edi, dword [esp + 0x54]
imul ecx, edx, 0x1c
inc dword [esp + 0x50]
movzx eax, ax
mov word [ecx + esi + 2], ax
pop eax
mov word [ecx + esi], ax
lea eax, [edx + 1]
mov dword [ebp], eax
push 2
pop edx
mov ebx, dword [ebx + 0x1c]
test ebx, ebx
jne 0x44536e
push dword [esp + 0x14]
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
mov eax, dword [esp + 0x4c]
jmp 0x445476
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x18
Function at 0x445ed8
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.0044719b
mov edx, 0x46f1bc
pop ecx
test al, al
je 0x445f18
lea esi, [ebp - 0x100]
xor ecx, ecx
movzx eax, byte [esi + ecx]
cmp al, byte [edx + ecx]
jne 0x445f2b
inc ecx
cmp ecx, 3
jne 0x445f09
push ecx
push edx
push ecx
push 0x3f
pop edx
mov ecx, 0x4b9f30
call fcn.0044136a
pop esi
leave
ret
lea eax, [ebp - 0x100]
push eax
push str._s_en
push 0x3f
push 0x4b9f30
call fcn.00407410
add esp, 0x10
jmp 0x445f28
Function at 0x446083
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
push edi
mov edi, 0x4b9590
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor esi, esi
mov dword [0x4b9ab0], eax
cmp byte [0x4ba020], 0
jne 0x4460eb
push 0x190
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.0041de00
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4460e4
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
jmp 0x446264
mov byte [0x4ba020], 1
mov ebx, 0x4b96a0
push ebx
push esi
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, 0x103
mov ebp, 0x4b98a8
push ebx
mov edx, esi
mov ecx, ebp
call fcn.00403ead
push ebx
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.00403ead
lea eax, [esp + 0x14]
mov edx, esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0043d9fe
test eax, eax
js 0x44614b
mov eax, dword [esp + 0x14]
mov edx, esi
push ecx
push 0x4700c0
push ecx
lea ecx, [esp + 0x24]
sub edx, eax
lea ecx, [ecx + eax*2]
call fcn.0043d93c
lea ecx, [esp + 0x18]
call fcn.004095c6
lea eax, [esp + 0x14]
mov edx, esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0043d9fe
test eax, eax
js 0x446183
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.0043d93c
lea ecx, [esp + 0x18]
call fcn.004095c6
lea eax, [esp + 0x14]
mov edx, esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0043d9fe
test eax, eax
js 0x4461bb
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.0043d93c
lea ecx, [esp + 0x18]
call fcn.004095c6
push str.MetaQuotesTerminalCommunitydns.dat
mov edx, esi
mov ecx, ebx
call fcn.00403c4d
push str.MetaQuotesTerminalCommunitycookies.dat
mov edx, esi
mov ecx, ebp
call fcn.00403c4d
call fcn.00445ed8
call fcn.00445e5a
call fcn.004459ea
call fcn.004458e8
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push str..mql5.com
call fcn.00445591
push str..mql5.net
call fcn.00445591
push str..finteza.com
call fcn.00445591
push str..metaquotes.net
call fcn.00445591
push str..metatrader.com
call fcn.00445591
call fcn.00444ac2
mov byte [0x4ba021], al
call fcn.00445de7
test al, al
je 0x446262
mov esi, 0x4ba014
mov ecx, esi
call fcn.00403c08
test al, al
jne 0x446262
push 0x400000
push edi
push 0x444946
mov ecx, esi
call fcn.00403ba7
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 0xc
Function at 0x44902c
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x894
push ebx
push ebp
push esi
push edi
push 0x428
lea eax, [esp + 0x47c]
mov ebx, ecx
push 0
push eax
call fcn.0041de00
add esp, 0xc
mov dword [esp + 0x10], 0x4679a8
lea eax, [esp + 0x58]
or esi, 0xffffffff
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], esi
push dword [esp + 0x8ac]
push 0x104
push eax
call fcn.0040331f
mov edi, dword [esp + 0x8a8]
mov dword [esp + 0x48], 0x46cf7c
test edi, edi
je 0x44926a
cmp dword [esp + 0x8ac], 0
je 0x44926a
lea eax, [esp + 0x24]
xor ebp, ebp
push eax
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x44926a
push edi
push 0x104
lea eax, [esp + 0x278]
push eax
lea ecx, [esp + 0x26c]
call fcn.0040331f
mov dword [esp + 0x260], 0x46cf7c
cmp dword [esp + 0x268], ebp
jbe 0x44926a
push ecx
push 3
push 1
push SysReAllocStringLen
push dword [esp + 0x274]
lea ecx, [esp + 0x24]
call fcn.00401442
test al, al
je 0x449266
lea eax, [esp + 0x478]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov esi, dword [esp + 0x14]
xorps xmm0, xmm0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x488], ebp
mov dword [esp + 0x490], eax
mov dword [esp + 0x48c], ebp
movlpd qword [esp + 0x18], xmm0
cmp esi, 0xffffffff
je 0x449156
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x44915f
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x898], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x89c], ecx
test edx, edx
je 0x4491a6
test eax, eax
je 0x4491c2
mov ecx, ebp
test edx, edx
je 0x4491a6
cmp word [eax + ecx*2], 0x5c
jne 0x4491a1
push 0x2f
pop edx
mov word [eax + ecx*2], dx
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
inc ecx
cmp ecx, edx
jb 0x44918b
test eax, eax
je 0x4491c2
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x49c]
push 0x200
push eax
call fcn.0042a52a
add esp, 0x10
lea eax, [esp + 0x478]
mov ecx, ebx
push eax
call fcn.00448966
test al, al
je 0x44926a
cmp dword [ebx + 0x2b0], ebp
jne 0x4491fc
push 0x45f8cc
push 0x400080
call fcn.0041bf4d
mov dword [ebx + 0x2b0], eax
pop ecx
pop ecx
test eax, eax
je 0x44926a
mov ebp, dword [ebx + 0x2b0]
cmp esi, 0xffffffff
je 0x44925b
test ebp, ebp
je 0x44925b
xor edi, edi
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push 0
push eax
mov eax, 0x400000
sub eax, edi
push eax
lea eax, [edi + ebp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x449243
cmp dword [esp + 0x10], 0
je 0x449243
add edi, dword [esp + 0x10]
cmp edi, 0x400000
jb 0x44920d
test edi, edi
je 0x44925b
push edi
push dword [ebx + 0x2b0]
mov ecx, ebx
call fcn.004488a3
test al, al
jne 0x4491fc
jmp 0x44926a
mov ecx, ebx
call fcn.0044853a
mov bl, al
jmp 0x44926c
mov esi, dword [esp + 0x14]
xor bl, bl
and dword [esp + 0x4c], 0
and dword [esp + 0x50], 0
mov dword [esp + 0x48], 0x4654d8
cmp esi, 0xffffffff
je 0x44928a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x894
ret 8
Function at 0x449d18
Capabilities:
Create process on windows
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
lea eax, [ebp - 0x244]
push ebx
push edi
mov ebx, 0x208
xor edi, edi
push ebx
push edi
push eax
call fcn.0041de00
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
push edi
push edi
push 0x26
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x244]
call fcn.0040f7a5
test al, al
jne 0x449dcf
call fcn.004097f4
test al, al
je 0x449dcf
call fcn.00409797
test al, al
jne 0x449dcf
push 0x3c
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.0041de00
push ebx
lea eax, [ebp - 0x44c]
push edi
push eax
call fcn.0041de00
add esp, 0x18
mov dword [ebp - 0x3c], 0x3c
lea eax, [ebp - 0x44c]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x4679ec
push 0x103
push eax
push edi
mov dword [ebp - 0x30], 0x471228
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
neg eax
sbb al, al
inc al
jmp 0x449dd1
mov al, 1
pop edi
pop ebx
leave
ret