joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a420
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2014
call fcn.005e00d0
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x2010], eax
push ebp
push esi
mov esi, dword [esp + 0x2024]
xor ebp, ebp
push 0x2000
lea eax, [esp + 0x1c]
push ebp
push eax
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], ebp
call fcn.005dfd60
add esp, 0xc
push ebp
lea ecx, [esp + 0xc]
push ecx
push 0x2000
lea edx, [esp + 0x24]
push edx
push 0xc
lea eax, [esp + 0x20]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x40a59c
cmp dword [esp + 0x2028], ebp
je 0x40a4ac
mov ecx, dword [esp + 0x20]
push ecx
push str._n__Page83.NumberOfIdentifiers:__d_n
call fcn.005e1b3a
add esp, 8
lea esi, [esp + 0x24]
cmp dword [esp + 0x20], ebp
jbe 0x40a59c
push ebx
push edi
lea esp, [esp]
xor bl, bl
cmp dword [esi + 0xc], 0
jne 0x40a4e1
mov eax, dword [esi + 4]
cmp eax, 1
je 0x40a4df
cmp eax, 2
je 0x40a4df
cmp eax, 3
je 0x40a4df
cmp eax, 8
jne 0x40a4e1
mov bl, 1
cmp dword [esp + 0x2030], 0
je 0x40a589
push ebp
push str._n__Page83.Identifier_n
call fcn.005e1b3a
mov edx, dword [esi + 4]
push edx
push str._____Type:__d_n
call fcn.005e1b3a
mov eax, dword [esi + 0xc]
push eax
push str._____Association:__d_n
call fcn.005e1b3a
movzx ecx, word [esi + 8]
push ecx
push str._____Size:__d_n
call fcn.005e1b3a
add esp, 0x20
mov eax, str.TRUE
test bl, bl
jne 0x40a536
mov eax, str.FALSE
push eax
push str._____IsGloballyUnique___s_n
call fcn.005e1b3a
push str._____Data:
call fcn.005e1b3a
xor edx, edx
add esp, 0xc
xor edi, edi
cmp dx, word [esi + 8]
jae 0x40a57c
jmp 0x40a560
movzx eax, byte [esi + edi + 0x10]
push eax
push 0x60f4e0
call fcn.005e1b3a
movzx ecx, word [esi + 8]
inc edi
add esp, 8
cmp edi, ecx
jl 0x40a560
push 0x60f4dc
call fcn.005e1b3a
add esp, 4
movzx edx, word [esi + 0xa]
inc ebp
add esi, edx
cmp ebp, dword [esp + 0x28]
jb 0x40a4c0
pop edi
pop ebx
mov ecx, dword [esp + 0x2018]
pop esi
pop ebp
xor ecx, esp
call fcn.005dfbbe
add esp, 0x2014
ret
Function at 0x40bb80
Capabilities:
Receive http response

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x606ca8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6aae14]
xor eax, ebp
mov dword [ebp + 0x200], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [esi + 0x470]
inc eax
push eax
mov dword [ebp - 4], 0
call fcn.005ddec6
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40bce6
mov ecx, dword [esi + 0x470]
inc ecx
push ecx
push 0
push ebx
call fcn.005dfd60
mov edx, dword [esi + 0x470]
inc edx
push edx
lea edi, [esi + 0x47c]
push str.WinHttpReadData___u_
push edi
call fcn.004085b0
add esp, 0x18
cmp dword [0x6acea4], 0
je 0x40bc24
push edi
push 0x60e7f4
push 0
call fcn.004f0f30
add esp, 0xc
mov eax, dword [esi + 0x470]
lea ecx, [eax + 1]
add dword [esi + 0x454], ecx
mov ecx, dword [esi + 0x454]
push ecx
inc eax
push eax
lea edx, [esi + 0x350]
push str.HttpReadData___u___Total:__u_
push edx
call fcn.004f0f30
add esp, 0x10
push 1
call fcn.004f4130
mov eax, dword [esi + 0x470]
mov ecx, dword [esi + 0x46c]
add esp, 4
push 0
push eax
push ebx
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x40bcff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea edx, [ebp]
push str._s:_Error__d_encountered.
push edx
mov dword [ebp - 0x14], eax
call fcn.004085b0
add esp, 0x10
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040b590
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [esi + 0x230]
mov byte [ebp - 4], 1
mov dword [esi + 0x22c], 1
call fcn.0040b0a0
cmp dword [ebp - 0x18], 8
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x228], edx
jb 0x40bcdd
mov eax, dword [ebp - 0x2c]
push eax
call fcn.005e0d9a
add esp, 4
push ebx
call fcn.005e132a
add esp, 4
xor al, al
jmp 0x40bd01
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.005dfbbe
add ebp, 0x204
mov esp, ebp
pop ebp
ret
Function at 0x40f2c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
lea ebp, [esp - 0x1104]
mov eax, 0x1104
call fcn.005e00d0
push 0xffffffffffffffff
push 0x606f18
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x6aae14]
xor eax, ebp
mov dword [ebp + 0x1100], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x110c]
mov esi, dword [ebp + 0x1110]
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x820
mov dword [ebp - 0x14], eax
lea ecx, [ebp + 0x8de]
xor eax, eax
push ebx
push ecx
mov word [ebp + 0x8dc], ax
call fcn.005dfd60
add esp, 0xc
lea ecx, [ebp]
call fcn.0040afd0
push ebx
push 0x40cc90
lea ecx, [ebp]
mov byte [ebp - 4], 1
mov byte [esi], bl
call fcn.004087a0
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp]
call fcn.004090f0
push 0x410
lea edx, [ebp + 0x8dc]
push edx
push 0xffffffffffffffff
push edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x40f421
push ebx
push str.GetDetectionCount
push ebx
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [ebp + 0x8dc]
push eax
lea ecx, [ebp]
call fcn.0040d6c0
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [ebp - 0x18]
push edx
call fcn.004dca10
lea eax, [ebp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0xf
call fcn.004d5a60
mov ecx, dword [ebp + 8]
add esp, 4
test ecx, ecx
jne 0x40f3cd
cmp dword [0x6acea4], ebx
je 0x40f421
call fcn.004dcdb0
cmp eax, ebx
je 0x40f421
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
test eax, eax
jge 0x40f408
fadd qword [0x60ecc0]
fdiv qword [0x60ecb8]
sub esp, 8
fstp qword [esp]
push str.ES:___.2f_Secs__n
call fcn.005e0e7f
add esp, 0xc
lea ecx, [ebp]
mov byte [ebp - 4], bl
call fcn.0040b290
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1100]
xor ecx, ebp
call fcn.005dfbbe
add ebp, 0x1104
mov esp, ebp
pop ebp
ret
Function at 0x410a10
Capabilities:
Create thread

Disassembly:
sub esp, 0xa38
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0xa34], eax
push esi
mov esi, dword [esp + 0xa40]
test esi, esi
je 0x410b3b
cmp byte [esi], 0
je 0x410b3b
push 0xa30
lea eax, [esp + 0xc]
push 0
push eax
call fcn.005dfd60
lea edx, [esp + 0x18]
add esp, 0xc
mov eax, esi
sub edx, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x410a60
mov eax, dword [esp + 0xa44]
lea edx, [esp + 0x214]
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x410a80
mov eax, dword [esp + 0xa48]
lea edx, [esp + 0x41c]
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x410aa0
mov eax, dword [esp + 0xa4c]
test eax, eax
je 0x410acc
cmp byte [eax], cl
je 0x410acc
lea edx, [esp + 0x624]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x410ac2
mov eax, dword [esp + 0xa54]
mov ecx, dword [esp + 0xa50]
mov dword [esp + 4], 0
mov dword [esp + 0xa34], ecx
test eax, eax
je 0x410b0a
cmp byte [eax], 0
je 0x410b0a
lea edx, [esp + 0x82c]
sub edx, eax
jmp 0x410b00
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x410b00
lea edx, [esp + 4]
push edx
push 0
push fcn.00410870
call fcn.005e07ac
add esp, 0xc
cmp dword [esp + 4], 0
mov dword [esp + 8], eax
jne 0x410b3b
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop
push 1
call esi
cmp dword [esp + 4], 0
je 0x410b30
mov ecx, dword [esp + 0xa38]
pop esi
xor ecx, esp
call fcn.005dfbbe
add esp, 0xa38
ret
Function at 0x4124f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x6aae14]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x20c]
push str.SOFTWAREMicroWorldFBackUpFBCache
xor ebx, ebx
xor edi, edi
push eax
xor esi, esi
mov dword [ebp - 0x620], ebx
mov dword [ebp - 0x624], edi
call fcn.005dfb23
lea ecx, [ebp - 0x620]
push ecx
push 0x20019
push ebx
lea edx, [ebp - 0x20c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004dc0a0
add esp, 0x1c
test eax, eax
jne 0x412697
push 0x103
lea eax, [ebp - 0x107]
push ebx
push eax
mov byte [ebp - 0x108], bl
call fcn.005dfd60
push 0x40f
lea ecx, [ebp - 0x61b]
push ebx
push ecx
mov byte [ebp - 0x61c], bl
call fcn.005dfd60
mov eax, dword [ebp - 0x620]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
add esp, 0x18
push 0x104
lea edx, [ebp - 0x108]
push edx
push ebx
push eax
call edi
test eax, eax
jne 0x412658
lea esp, [esp]
cmp byte [ebp - 0x108], bl
je 0x412658
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x61c]
push 0x612438
push eax
call fcn.005dfb23
add esp, 0x10
push ebx
push ebx
lea ecx, [ebp - 0x61c]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004e9480
cmp eax, 1
je 0x4125f9
inc esi
jmp 0x4125ff
inc dword [ebp - 0x624]
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x103
lea edx, [ebp - 0x107]
push ebx
push edx
mov byte [ebp - 0x108], bl
call fcn.005dfd60
push 0x40f
lea eax, [ebp - 0x61b]
push ebx
push eax
mov byte [ebp - 0x61c], bl
call fcn.005dfd60
mov edx, dword [ebp - 0x620]
add esp, 0x18
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push esi
push edx
call edi
test eax, eax
je 0x4125b0
mov eax, dword [ebp - 0x620]
cmp eax, ebx
je 0x41266f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x620], ebx
push ebx
push ebx
push str.SOFTWAREMicroWorldFBackUpFBCache
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004e9480
mov eax, dword [ebp - 0x624]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret
Function at 0x412e60
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x6aae14]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test esi, esi
je 0x413055
lea eax, [ebp - 0x10c]
push eax
push esi
push edi
push 0x612808
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10c], 0x104
mov byte [esi], 0
call fcn.004d5770
test al, al
jne 0x412ed5
lea ecx, [ebp - 0x108]
push 0x104
push ecx
call fcn.004d8c20
lea edx, [ebp - 0x108]
push edx
push str._AVPMAPP__ReadReg_fails___s_
push 0
call fcn.004f0f30
add esp, 0x14
jmp 0x412ee5
push esi
push str._AVPMAPP__TmpBuf:__s_
push 0
call fcn.004f0f30
add esp, 0xc
cmp byte [esi], 0
jne 0x412efe
push str._AVPMAPP__Setting_Default_A_
push 0
call fcn.004f0f30
add esp, 8
jmp 0x412fc9
push esi
call fcn.004ec720
add esp, 4
test eax, eax
jne 0x412f4c
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call fcn.005dfd60
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str._AVPMAPP__Setting_Default_B____s_._LastErr_u
push 0
call fcn.004f0f30
lea ecx, [ebp - 0x108]
push ecx
push esi
call fcn.00412c40
add esp, 0x18
jmp 0x412fc9
call fcn.004d9b00
test eax, eax
je 0x413007
push 0x61276c
push edi
call fcn.004dd620
add esp, 8
test eax, eax
jne 0x413007
push esi
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x108]
push eax
call fcn.004e24e0
add esp, 4
push 0x612760
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x108]
push 0
push edx
call fcn.004e8c10
add esp, 8
test eax, eax
jne 0x413007
lea eax, [ebp - 0x108]
push eax
push str._AVPMAPP__Setting_Default_C____s_
push 0
call fcn.004f0f30
add esp, 0xc
push esi
push edi
mov byte [esi], 0
call fcn.004ece10
push esi
push str._AVPMAPP__SetDef:__s_
push 0
call fcn.004f0f30
add esp, 0x14
cmp byte [esi], 0
je 0x413055
push esi
call fcn.004ec720
add esp, 4
cmp eax, 1
jne 0x413007
push esi
push edi
push 0x612808
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004e7720
cmp byte [esi], 0
je 0x413055
cmp dword [ebp + 0x10], 0
jne 0x41302b
push esi
call fcn.004e2520
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret
push 0
push esi
call fcn.004e8c10
add esp, 8
test eax, eax
jne 0x41304c
pop edi
mov byte [esi], al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret
push esi
call fcn.004e24e0
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret

Function at 0x413850
Capabilities:
Create thread

Disassembly:
push 1
call fcn.00413550
add esp, 4
test eax, eax
jne 0x41387a
push eax
push eax
push 0x413830
call fcn.005e07ac
push 0
push eax
push str.AVM_Rld
call fcn.00411ca0
add esp, 0x18
ret
Function at 0x4151e0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
push connect
push 0
push 0
or ebx, 0xffffffff
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x41525e
mov eax, dword [ebp + 8]
push esi
push connect
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x415256
lea ecx, [ebp - 0x1c]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [ebp - 0x18]
dec eax
cmp eax, 6
ja case.0x415231.3
jmp dword [eax*4 + 0x415268]
mov ebx, 2
jmp 0x41524f
mov ebx, 1
jmp 0x41524f
xor ebx, ebx
jmp 0x41524f
mov ebx, 3
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x415960
Capabilities:
Create thread
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x6aae14]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x68627c
push str.LogRotate
push 0x60d814
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004d5820
cmp dword [0x68627c], 0
je 0x415a31
push 0
push 0
push 0
call fcn.00414300
push 0
push 0
push 0x415170
call fcn.005e07ac
add esp, 0x18
cmp dword [0x6ae144], 0
je 0x415a31
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.005dfd60
add esp, 0xc
push 0x6afef0
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push 0x612e34
push str.SecServer
push 0x60da74
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp dword [0x6b0768], 0
je 0x415a13
cmp byte [ebp - 0x108], 0x31
jne 0x415a31
push 0
push 0
push 0x415290
call fcn.005e07ac
push 0
push eax
push str.AVM_1Apa
call fcn.00411ca0
add esp, 0x18
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret
Function at 0x415e20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x66fa08
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x6aae14]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x124], edi
mov byte [ebp - 0x120], 0
push 0x103
push edi
lea eax, [ebp - 0x11f]
push eax
call fcn.005dfd60
add esp, 0xc
mov dword [ebp - 4], edi
push ebx
push 0x104
lea ecx, [ebp - 0x120]
push ecx
push 0x60c81c
push str.DisableRDPConnections
push 0x6132c4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x120], 0
je 0x415f48
mov dword [ebp - 0x124], 1
lea edx, [ebp - 0x120]
push edx
call fcn.005e08f3
add esp, 4
mov esi, eax
test esi, esi
jbe 0x415ed4
lea esi, [edi + 1]
lea eax, [ebp - 0x124]
push eax
push str.fDenyTSConnections
push str.SYSTEMCurrentControlSetControlTerminal_Server
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004d5820
mov eax, dword [ebp - 0x124]
cmp eax, esi
je 0x415f0f
mov edi, 1
push eax
push esi
push str._RDP__Setting_DenyTSConnections_to__u__Previous_Val:__u_
push 0
call fcn.004f0f30
add esp, 0x10
test edi, edi
je 0x415f48
push esi
push str.fDenyTSConnections
push str.SYSTEMCurrentControlSetControlTerminal_Server
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004f48a0
test al, al
jne 0x415f3e
push esi
push str._RDP__Failed_to_set_DenyTSConnections_value_to__u_
push 0
call fcn.004f0f30
add esp, 0xc
jmp 0x415f48
cmp esi, 1
jne 0x415f48
call fcn.00415a40
push ebx
push 0x104
lea ecx, [ebp - 0x120]
push ecx
push 0x60c81c
push str.RDPPort
push 0x6132c4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x120], 0
je 0x41603d
lea edx, [ebp - 0x120]
push edx
call fcn.005e08f3
add esp, 4
mov esi, eax
lea eax, [esi - 1]
cmp eax, 0xfffd
ja 0x41600f
xor edi, edi
mov dword [ebp - 0x124], 0xd3d
lea ecx, [ebp - 0x124]
push ecx
push str.PortNumber
push str.SystemCurrentControlSetControlTerminal_ServerWinStationsRDP_Tcp
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004d5820
mov eax, dword [ebp - 0x124]
cmp eax, esi
je 0x415fd9
mov edi, 1
push eax
push esi
push str._RDP__Setting_RDP_PortNumber_to__u__Previous_Val:__u_
push 0
call fcn.004f0f30
add esp, 0x10
test edi, edi
je 0x41603d
push esi
push str.PortNumber
push str.SystemCurrentControlSetControlTerminal_ServerWinStationsRDP_Tcp
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004f48a0
test al, al
jne 0x416008
push esi
push str._RDP__Failed_to_set_RDP_PortNumber_value_to__u_
push 0
call fcn.004f0f30
add esp, 0xc
jmp 0x41603d
call fcn.00415a40
jmp 0x41603d
push str.PortNumber
push str.SystemCurrentControlSetControlTerminal_ServerWinStationsRDP_Tcp
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004e9430
jmp 0x41603d
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret
Function at 0x417600
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x66fa28
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x6aae14]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov byte [ebp - 0x224], 0
push 0x103
push 0
lea eax, [ebp - 0x223]
push eax
call fcn.005dfd60
add esp, 0xc
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x224]
push ecx
push 0
push 0
call fcn.0050edd0
cmp byte [ebp - 0x224], 0
je 0x41784c
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x120]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
call esi
lea ecx, [ebp - 0x120]
push ecx
call fcn.004e24e0
add esp, 4
push str.eScan.lnk
lea edx, [ebp - 0x120]
push edx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
call edi
push 1
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.004e8950
add esp, 0x18
test eax, eax
je 0x417751
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x120]
push edx
call esi
lea eax, [ebp - 0x120]
push eax
call fcn.004e24e0
add esp, 4
push str.protection.lnk
lea ecx, [ebp - 0x120]
push ecx
call edi
push 1
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x120]
push edx
call fcn.004e8950
add esp, 0x18
test eax, eax
je 0x417751
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x120]
push ecx
call esi
lea edx, [ebp - 0x120]
push edx
call fcn.004e24e0
add esp, 4
push 0x613ae0
lea eax, [ebp - 0x120]
push eax
call edi
push 1
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x120]
push ecx
call fcn.004e8950
add esp, 0x18
test eax, eax
jne 0x41784c
lea esi, [eax + 1]
lea edx, [ebp - 0x468]
push edx
lea eax, [ebp - 0x120]
push eax
call fcn.004e0820
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
je 0x41784c
test esi, esi
je 0x417826
mov ebx, dword [ebp - 0x468]
test bl, 0x10
jne 0x417812
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x328]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x328]
push eax
call fcn.004e24e0
add esp, 4
lea ecx, [ebp - 0x43c]
push ecx
lea edx, [ebp - 0x328]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [ebp + 8], 0
je 0x4177f9
test bl, 6
je 0x417812
push 0x80
lea eax, [ebp - 0x328]
push eax
jmp 0x41780c
test bl, 2
je 0x417803
test bl, 4
jne 0x417812
push 6
lea ecx, [ebp - 0x328]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [ebp - 0x468]
push edx
push edi
call fcn.004d5ad0
mov esi, eax
jmp 0x41778a
cmp edi, 0xffffffff
je 0x41784c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x41784c
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret
Function at 0x418e10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6aae14]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x67e110], 0
je 0x418f12
cmp dword [ebp + 8], 0
jne 0x418e47
mov eax, dword [0x732760]
cmp eax, dword [0x732764]
je 0x418f12
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x6af8c8
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push str.PBAE_Status
push 0x61434c
push 0x614348
call esi
cmp dword [0x732760], 0
push 0x6af8c8
lea edx, [ebp - 0x108]
push 0x104
push edx
je 0x418ed5
push str.Active
push str.LblActive
push str.EScanPro
call esi
push 0
push str.eScan_Monitor
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 0x60c810
push 0
push str.eScan_Ransomware_Protection
push 0x301
call fcn.00513910
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret
push str.Inactive
push str.LblInactive
push str.EScanPro
call esi
push 0
push str.eScan_Monitor
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 0x60c810
push 0
push str.eScan_Ransomware_Protection
push 0x302
call fcn.00513910
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret

Function at 0x418f40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x6aae14]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0
push 0x418f20
call fcn.005e07ac
add esp, 0xc
cmp eax, 0xffffffff
jne 0x418fa7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x108]
push str.Error:_beginthread_5y_BX__fails_with_error__d
push eax
call fcn.005dfb23
push 0
push 1
lea ecx, [ebp - 0x108]
push ecx
push 0x6aec98
call fcn.004311c0
add esp, 0x1c
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret
push 0
push eax
push str.AVM_2cBX
call fcn.00411ca0
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 0xc
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret