joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435920
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x534738]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x435966
cmp word [ebx], dx
jne 0x435966
or byte [eax + edi + 0x28], 4
jmp 0x43596b
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x435ace
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x435aae
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x4359ac
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4359e2
cmp eax, edx
jae 0x4359f0
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x435987
jmp 0x435ace
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x435aa9
cmp dword [ebp - 0x18], 0
je 0x435aa9
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x534738]
test byte [eax + edi + 0x28], 0x48
je 0x435a7f
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x435a43
mov word [esi], cx
jmp 0x435a7a
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x534738]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x534738]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x534738]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x435ace
pop eax
cmp word [ebp - 4], ax
jne 0x435a8f
cmp esi, ebx
jne 0x435a8f
mov word [esi], ax
jmp 0x435acb
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00435775
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x435ace
push 0xd
pop eax
jmp 0x435a8a
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x534738]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x435ac8
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x435ace
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4380c5
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x51e010]
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 0x438110
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00438260
test al, al
jne 0x43810a
sub edx, 2
cmp edx, edi
jne 0x4380f0
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x438132
lea eax, [edi + 2]
cmp edx, eax
je 0x438132
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00438011
add esp, 0x10
jmp 0x43822c
push esi
lea ecx, [ebp - 0x255]
call fcn.00438260
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 0x438175
push dword [ebp - 0x25c]
jmp 0x438122
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 0x4381b2
cmp word [ebp - 0x226], 0
je 0x4381d3
cmp word [ebp - 0x226], ax
jne 0x4381b2
cmp word [ebp - 0x224], 0
je 0x4381d3
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00438011
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x43821f
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x43818c
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x438207
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x43822c
push 0x437e41
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00429f80
add esp, 0x10
jmp 0x4381fc
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.0041bf36
leave
ret

Function at 0x438366
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x438377
pop esi
ret
push ebx
push edi
push esi
call fcn.0043832f
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00431807
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x43839f
push ebx
push esi
push edi
call fcn.0041d170
add esp, 0xc
push 0
call fcn.004317cd
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x43876f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004383b4
Function at 0x43c165
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0043c0e1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x43c2d4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x43c2d4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x43c289
jg 0x43c1c1
test eax, eax
je 0x43c27f
push 1
push 0x1000
call fcn.00433390
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x43c1e4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x43c276
push 0x8000
push ebx
call fcn.004315d8
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x43c20d
jg 0x43c208
cmp ecx, 0x1000
jb 0x43c20d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0043708e
add esp, 0x10
cmp eax, 0xffffffff
je 0x43c252
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x43c208
jl 0x43c239
test ecx, ecx
jne 0x43c1fa
push dword [ebp - 0xc]
push ebx
call fcn.004315d8
push esi
call fcn.004317cd
add esp, 0xc
xor ebx, ebx
jmp 0x43c2e2
cmp byte [edi + 0x24], 0
je 0x43c269
cmp dword [edi + 0x20], 5
jne 0x43c269
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x43c274
mov ebx, dword [edi + 0x18]
jmp 0x43c276
xor ebx, ebx
push esi
call fcn.004317cd
pop ecx
jmp 0x43c2e2
test ecx, ecx
jg 0x43c24b
jl 0x43c289
test eax, eax
jae 0x43c24b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00435775
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x43c2a9
cmp byte [edi + 0x1c], 0
je 0x43c24b
jmp 0x43c2da
push ebx
call fcn.00437dd7
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x43c24b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x43c2e2
cmp byte [edi + 0x1c], 0
je 0x43c2df
mov ebx, dword [edi + 0x18]
jmp 0x43c2e2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00435775
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43dc90
Capabilities:
Parse pe header

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

Disassembly:
mov eax, 0x101c
call fcn.0041c820
cmp dword [esp + 0x1020], 0
push ebx
push ebp
push esi
push edi
je 0x443d23
mov esi, 0x555890
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x55a8b4]
jmp 0x443d18
push dword [esp + 0x1030]
push ebx
call fcn.0042bf95
pop ecx
pop ecx
test eax, eax
jne 0x443d12
lea ecx, [ebx + 0x894]
call fcn.00401887
test al, al
je 0x443d32
mov ebx, dword [ebx + 0x18e0]
test ebx, ebx
jne 0x443cf0
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], 0x509824
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 0x443d78
mov edi, dword [ebx + 0x89c]
cmp edi, ecx
cmovae edi, eax
lea esi, [edi + edi]
push esi
push dword [ebx + 0x898]
jmp 0x443d8d
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.0041d170
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 0x443e6f
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x443dea
mov edx, dword [esp + 0x20]
test edx, edx
je 0x443dee
push 0x509860
push ecx
call fcn.0041c9ee
pop ecx
pop ecx
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x443dea
sub eax, ecx
sar eax, 1
jns 0x443e21
mov edx, dword [esp + 0x20]
test ecx, ecx
je 0x443e6f
lea eax, [edx + 0xc]
cmp eax, dword [esp + 0x24]
jae 0x443e25
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 0x443e6f
mov esi, ebx
xor ebp, ebp
lea edi, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, bp
jne 0x443e30
sub esi, edi
sar esi, 1
je 0x443e6f
lea eax, [esi + edx]
cmp eax, dword [esp + 0x24]
jae 0x443e6f
lea eax, [esi + esi]
push eax
lea eax, [ecx + edx*2]
push ebx
push eax
call fcn.0041d170
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 0x555890
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 1
xor eax, eax
push eax
push eax
push dword [esp + 0x28]
push 0x509854
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov al, 1
jmp 0x443d25
Function at 0x448d27
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov eax, 0x8000
push 0x4f086c
push eax
mov dword [ebp - 4], eax
call fcn.0041b7ed
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x448da8
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 0x448d8f
mov eax, esi
test dword [eax + 0x38], 0x100
je 0x448d88
mov ecx, dword [eax + 0x10]
jmp 0x448d84
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x448d81
cmp word [edx], di
jne 0x448d81
cmp byte [edx + 8], 0xfe
jne 0x448dae
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x448d6f
mov eax, dword [eax + 8]
test eax, eax
jne 0x448d61
mov eax, dword [ebp - 4]
mov ecx, esi
test eax, eax
je 0x448da1
mov byte [ecx], 0
inc ecx
sub eax, 1
jne 0x448d98
push esi
call fcn.0041b7e8
pop ecx
xor al, al
pop edi
pop esi
leave
ret
mov eax, dword [ebp - 4]
mov ecx, esi
test eax, eax
je 0x448dc0
mov byte [ecx], 0
inc ecx
sub eax, 1
jne 0x448db7
push esi
call fcn.0041b7e8
pop ecx
mov al, 1
jmp 0x448daa
Function at 0x448eab
Capabilities:
Identify system language via api

Disassembly:
sub esp, 0x380
push esi
mov esi, dword [esp + 0x38c]
test esi, esi
jne 0x448ec4
xor al, al
jmp 0x4490ed
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.004055ca
lea ebx, [ebp + 1]
push ebx
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0041d6f0
push ebx
push 0xfe
lea eax, [esp + 0x34]
mov edx, 0x5098d4
push eax
push 0x509910
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00403ccc
add esp, 0x2c
mov edi, 0x2710
test al, al
je 0x448f32
lea eax, [esp + 0x10]
push eax
call fcn.0042bc40
pop ecx
test edx, edx
jg 0x448f6d
jl 0x448f32
cmp eax, edi
jae 0x448f6d
push ebx
push 0xfe
lea eax, [esp + 0x18]
mov edx, 0x5098d4
push eax
push 0x509910
mov ecx, closesocket
call fcn.00403ccc
add esp, 0x10
test al, al
je 0x448f74
lea eax, [esp + 0x10]
push eax
call fcn.0042bc40
pop ecx
test edx, edx
jg 0x448f6d
jl 0x448f74
cmp eax, edi
jb 0x448f74
mov ax, word [esp + 0x10]
jmp 0x448f7b
xor eax, eax
mov word [esp + 0x10], ax
test ax, ax
je 0x448fc5
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 0x448fc5
push str.utm_uniq
mov edx, ebp
mov ecx, esi
call fcn.00406c22
lea eax, [esp + 0x110]
mov edx, ebp
push eax
mov ecx, esi
call fcn.00406c22
cmp byte [0x55b730], 0
je 0x448fea
push str.utm_link
mov edx, ebp
mov ecx, esi
call fcn.00406c22
push 0x55b730
mov edx, ebp
mov ecx, esi
call fcn.00406c22
push ebp
lea eax, [esp + 0x194]
push eax
push str.https:__www.mql5.com
call fcn.00448dcb
test al, al
je 0x4490d1
push 0x55ad50
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x55b7bc], 0
je 0x4490c6
mov edi, dword [0x55b7b8]
jmp 0x4490be
lea eax, [esp + 0x190]
push eax
push edi
call fcn.00448c51
test al, al
je 0x4490b1
lea ebp, [edi + 0x80]
mov edx, str.utm_campaign
xor ecx, ecx
movzx eax, byte [ecx + ebp]
cmp al, byte [edx + ecx]
jne 0x449058
inc ecx
cmp ecx, 0xd
jne 0x449047
jmp 0x44906e
mov edx, str.utm_source
xor ecx, ecx
movzx eax, byte [ecx + ebp]
cmp al, byte [edx + ecx]
jne 0x4490b1
inc ecx
cmp ecx, 0xb
jne 0x44905f
lea ebx, [edi + 0xc0]
cmp byte [ebx], 0
je 0x4490b1
push 0x509a20
mov edx, 0xff
mov ecx, esi
call fcn.00406c22
push ebp
mov ebp, 0xff
mov ecx, esi
mov edx, ebp
call fcn.00406c22
push 0x509a24
mov edx, ebp
mov ecx, esi
call fcn.00406c22
push ebx
mov edx, ebp
mov ecx, esi
call fcn.00406c22
push edi
mov ecx, 0x55b7b0
call fcn.00406b8f
mov edi, eax
test edi, edi
jne 0x449028
push 0x55ad50
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebp
pop ebx
jmp 0x4490e5
cmp al, 0x20
jne 0x4490df
mov byte [esi], 0x2b
jmp 0x4490e4
jge 0x4490e4
mov byte [esi], 0x5f
inc esi
mov al, byte [esi]
test al, al
jne 0x4490d6
inc al
pop esi
add esp, 0x380
ret 0xc
Function at 0x449547
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x2c
cmp dword [esp + 0x30], 0
push ebx
push ebp
push esi
push edi
je 0x4496d9
mov esi, dword [esp + 0x48]
test esi, esi
je 0x4496d9
mov ebp, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
cmp dword [ebp], edi
jge 0x4496d9
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 0x4496d3
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x4496d3
push 2
pop edx
mov ax, word [esp + 0x54]
test ax, ax
je 0x4495e9
movzx eax, ax
cmp dword [ebx + 4], eax
jne 0x4496be
mov eax, dword [ebx + 4]
push 0x17
pop ecx
cmp eax, ecx
jne 0x44965e
cmp byte [0x55b7e1], 0
je 0x4496be
mov eax, dword [ebx + 0x18]
mov edx, 0x534bf8
add eax, 8
xor ecx, ecx
mov dword [esp + 0x40], eax
mov eax, dword [eax + ecx*4]
cmp eax, dword [edx + ecx*4]
jne 0x449628
mov eax, dword [esp + 0x40]
inc ecx
cmp ecx, 4
jne 0x449611
jmp 0x4496bb
mov eax, dword [ebp]
cmp eax, edi
jge 0x4496bb
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 0x44969a
cmp eax, edx
jne 0x4496be
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x40], eax
cmp dword [eax + 4], 0
je 0x4496be
mov eax, dword [ebp]
cmp eax, edi
jge 0x4496be
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 0x4495d3
push dword [esp + 0x14]
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
mov eax, dword [esp + 0x4c]
jmp 0x4496db
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x18
Function at 0x44a13d
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.0044b33d
mov edx, 0x50b5ac
pop ecx
test al, al
je 0x44a17d
lea esi, [ebp - 0x100]
xor ecx, ecx
movzx eax, byte [esi + ecx]
cmp al, byte [edx + ecx]
jne 0x44a190
inc ecx
cmp ecx, 3
jne 0x44a16e
push ecx
push edx
push ecx
push 0x3f
pop edx
mov ecx, 0x55b6f0
call fcn.004454f4
pop esi
leave
ret
lea eax, [ebp - 0x100]
push eax
push str._s_en
push 0x3f
push 0x55b6f0
call fcn.00406bbf
add esp, 0x10
jmp 0x44a18d
Function at 0x44a303
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
push edi
mov esi, 0x55ad50
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edi, edi
mov dword [0x55b270], eax
cmp byte [0x55b7e0], 0
jne 0x44a361
push 0x190
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.0041d6f0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x44a516
mov byte [0x55b7e0], 1
call fcn.00470d40
cmp eax, 1
jne 0x44a516
cmp dword [0x55b7e4], edi
jne 0x44a39b
call fcn.0047b810
mov ecx, eax
call fcn.00470ea0
mov dword [0x55b7e4], eax
test eax, eax
je 0x44a516
push ecx
mov ecx, eax
call fcn.00470f50
add esp, 4
mov ebx, 0x55ae60
push ebx
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, 0x103
mov ebp, 0x55b068
push ebx
mov edx, edi
mov ecx, ebp
call fcn.00403d44
push ebx
mov edx, edi
lea ecx, [esp + 0x1c]
call fcn.00403d44
lea eax, [esp + 0x14]
mov edx, edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00441b78
test eax, eax
js 0x44a3fb
mov eax, dword [esp + 0x14]
mov edx, edi
push ecx
push 0x50c510
push ecx
lea ecx, [esp + 0x24]
sub edx, eax
lea ecx, [ecx + eax*2]
call fcn.00441ab6
lea ecx, [esp + 0x18]
call fcn.00408ef3
lea eax, [esp + 0x14]
mov edx, edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00441b78
test eax, eax
js 0x44a433
mov eax, dword [esp + 0x14]
mov edx, edi
push ecx
push str.Terminal
push ecx
lea ecx, [esp + 0x24]
sub edx, eax
lea ecx, [ecx + eax*2]
call fcn.00441ab6
lea ecx, [esp + 0x18]
call fcn.00408ef3
lea eax, [esp + 0x14]
mov edx, edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00441b78
test eax, eax
js 0x44a46b
mov eax, dword [esp + 0x14]
mov edx, edi
push ecx
push str.Community
push ecx
lea ecx, [esp + 0x24]
sub edx, eax
lea ecx, [ecx + eax*2]
call fcn.00441ab6
lea ecx, [esp + 0x18]
call fcn.00408ef3
push str.MetaQuotesTerminalCommunitydns.dat
mov edx, edi
mov ecx, ebx
call fcn.00403a54
push str.MetaQuotesTerminalCommunitycookies.dat
mov edx, edi
mov ecx, ebp
call fcn.00403a54
call fcn.0044a13d
call fcn.0044a0bf
call fcn.00449c4f
call fcn.00449b4d
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push str..mql5.com
call fcn.004497f6
push str..mql5.net
call fcn.004497f6
push str..finteza.com
call fcn.004497f6
push str..metaquotes.net
call fcn.004497f6
push str..metatrader.com
call fcn.004497f6
call fcn.00448d27
mov byte [0x55b7e1], al
call fcn.0044a04c
test al, al
je 0x44a512
mov edi, 0x55b7d4
mov ecx, edi
call fcn.00403a0f
test al, al
jne 0x44a512
push 0x400000
push esi
push 0x448bab
mov ecx, edi
call fcn.004039ae
mov al, 1
jmp 0x44a51f
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 0xc