joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b74c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0055e2a0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x418], dx
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.0055e2a0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x210]
push edx
push 0x104
lea eax, [ebp - 0x418]
push eax
call fcn.00429540
lea ecx, [ebp - 0x41c]
call fcn.00426ee0
push 0x5a842c
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b75b1
cmp dword [ebp + 0x10], 0
je 0x4b7593
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._funname_s__from_s__cmdex_s
lea eax, [ebp - 0x41c]
push eax
call fcn.0042fa10
add esp, 0x14
jmp 0x4b75af
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._funname_s__from_s
lea eax, [ebp - 0x41c]
push eax
call fcn.0042fa10
add esp, 0x10
jmp 0x4b75c3
push 0x5a84bc
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b75e1
lea ecx, [ebp - 0x41c]
call fcn.00426fe0
jmp 0x4b7627
lea eax, [ebp - 0x418]
push eax
call fcn.004b86a0
add esp, 4
test eax, eax
jne 0x4b7601
lea ecx, [ebp - 0x41c]
call fcn.00426fe0
jmp 0x4b7627
lea ecx, [ebp - 0x41c]
call fcn.004273c0
push eax
lea ecx, [ebp - 0x418]
push ecx
call fcn.004b5ed0
add esp, 8
lea ecx, [ebp - 0x41c]
call fcn.00426fe0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret

Function at 0x4b7640
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.0055e2a0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.....360Util.dll
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b76a4
xor eax, eax
jmp 0x4b76d7
lea ecx, [ebp - 0x210]
push ecx
call fcn.004b86a0
add esp, 4
test eax, eax
jne 0x4b76bb
xor eax, eax
jmp 0x4b76d7
lea edx, [ebp - 0x210]
push edx
call fcn.004356b0
add esp, 4
test eax, eax
jne 0x4b76d2
xor eax, eax
jmp 0x4b76d7
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
Function at 0x4b7c30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0
push 0x110
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.0055e2a0
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jb 0x4b7c8a
mov eax, 1
jmp 0x4b7c8c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret

Function at 0x4b7e20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
je 0x4b7e32
cmp dword [ebp + 0xc], 0
jne 0x4b7e36
xor eax, eax
jmp 0x4b7e82
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
shl eax, 1
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 8]
push eax
push 0x5a8678
push 0x5a8688
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4b7e80
push str.safemon
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, 1
jmp 0x4b7e82
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4b7f00
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c8
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
je 0x4b7f1f
cmp dword [ebp + 0xc], 0
jne 0x4b7f26
xor eax, eax
jmp 0x4b8043
lea eax, [ebp - 0x400]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x4b8033
mov dword [ebp - 8], 0
jmp 0x4b7f52
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
movzx eax, word [ebp + edx*2 - 0x400]
test eax, eax
je 0x4b8033
push 0x5a8728
mov ecx, dword [ebp - 8]
lea edx, [ebp + ecx*2 - 0x400]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4b7f99
push 0x5a8730
mov eax, dword [ebp - 8]
lea ecx, [ebp + eax*2 - 0x400]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4b7f9b
jmp 0x4b7f49
mov edx, dword [ebp - 8]
mov ax, word [ebp + edx*2 - 0x400]
mov word [ebp - 0x14], ax
mov ecx, dword [ebp - 8]
mov dx, word [ebp + ecx*2 - 0x3fe]
mov word [ebp - 0x12], dx
xor eax, eax
mov word [ebp - 0x10], ax
push 0x64
lea ecx, [ebp - 0x4c8]
push ecx
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x4b7fda
xor eax, eax
jmp 0x4b8043
lea eax, [ebp - 0x4c8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x4c8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00562fef
add esp, 0xc
test eax, eax
jne 0x4b802e
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, 1
jmp 0x4b8043
jmp 0x4b7f49
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
Function at 0x4b80d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4b8102
xor eax, eax
jmp 0x4b81d6
push 0x104
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4b8123
xor eax, eax
jmp 0x4b81d6
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x228]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4b8159
xor eax, eax
jmp 0x4b81d6
mov eax, dword [ebp - 0x10]
push eax
call fcn.00562686
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4b8172
xor eax, eax
jmp 0x4b81d6
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
lea eax, [ebp - 0x228]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4b81c7
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x22c]
push edx
push 0x5a8738
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.dll_VerQueryValueW
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00562255
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret

Function at 0x4b86e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret 0x18
Function at 0x4b9210
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
test eax, eax
jne 0x4b922e
xor eax, eax
jmp 0x4b9314
mov dword [ebp - 0x14], 1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jne 0x4b9250
mov eax, 1
jmp 0x4b9314
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
je 0x4b9307
push 1
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x4b92a7
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetActiveWindow]
jmp 0x4b92f5
mov edx, dword [ebp - 0x10]
push edx
call fcn.004b9160
add esp, 4
test eax, eax
je 0x4b92ee
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x4b92df
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetActiveWindow]
test eax, eax
je 0x4b92dd
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4b92e6
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_FreeConsole]
jmp 0x4b92f5
mov dword [ebp - 0x14], 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x4b9311
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret

Function at 0x4b9320
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x108], 0
push 0xff
push 0
lea eax, [ebp - 0x107]
push eax
call fcn.0055e2a0
add esp, 0xc
mov dword [ebp - 0x10c], 0
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x4b9392
movzx edx, byte [ebp - 0xf6]
and edx, 0x80
jne 0x4b9392
push 0
push 1
push 0
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
mov dword [ebp - 0x10c], 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x10c], 0
je 0x4b93b9
push 0
push 3
push 0
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
Function at 0x4b9490
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
call fcn.00495c20
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4b95ab
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.0055e2a0
add esp, 0xc
push 0x22c
push 0
lea ecx, [ebp - 0x238]
push ecx
call fcn.0055e2a0
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4b95a1
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.00426f30
lea ecx, [ebp - 0x23c]
call fcn.004468a0
lea ecx, [ebp - 0x23c]
call fcn.00446840
lea edx, [ebp - 0x23c]
push edx
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
call fcn.00495a60
mov ecx, eax
call fcn.00427000
push 0x22c
push 0
lea ecx, [ebp - 0x238]
push ecx
call fcn.0055e2a0
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x23c]
call fcn.00426fe0
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4b9519
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
Function at 0x4ba370
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4ba3cd
cmp dword [ebp - 0x11c], 6
jae 0x4ba3ad
xor eax, eax
jmp 0x4ba3cf
cmp dword [ebp - 0x11c], 6
jne 0x4ba3c6
cmp dword [ebp - 0x118], 0
sbb eax, eax
add eax, 1
jmp 0x4ba3cf
mov eax, 1
jmp 0x4ba3cf
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret

Function at 0x4ba3e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.0055e2a0
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
jne 0x4ba439
cmp dword [ebp - 0x118], 2
jne 0x4ba439
mov eax, 1
jmp 0x4ba43b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret

Function at 0x4ba8a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2018
call fcn.0055f2e0
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 0
jne 0x4ba8c4
xor al, al
jmp 0x4ba983
mov byte [ebp - 0x2010], 0
push 0x1fff
push 0
lea eax, [ebp - 0x200f]
push eax
call fcn.0055e2a0
add esp, 0xc
mov dword [ebp - 8], 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4ba907
cmp dword [ebp - 0xc], 0x1fff
jbe 0x4ba90b
xor al, al
jmp 0x4ba983
mov byte [ebp - 1], 0
lea eax, [ebp - 0x2010]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4ba980
mov dword [ebp - 0x2014], 0
mov dword [ebp - 0x2018], 0
lea eax, [ebp - 0x2018]
push eax
lea ecx, [ebp - 0x2014]
push ecx
push 0x5a8bc8
lea edx, [ebp - 0x2010]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4ba980
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x2014]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x2014]
mov edx, dword [ecx + 0xc]
mov dword [eax], edx
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
Function at 0x4baa50
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x9c], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4baa8e
mov eax, dword [ebp - 0x9c]
jmp 0x4bab5f
mov edx, dword [ebp - 8]
push edx
call fcn.00562686
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4bab4d
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0x5a8be4
mov edx, dword [ebp - 0x10]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4bab4d
cmp dword [ebp + 0xc], 0
je 0x4bab4d
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
and ecx, 0xffff
movzx edx, cx
push edx
push 0x5a8c18
push 0x80
lea eax, [ebp - 0x98]
push eax
call fcn.00424750
add esp, 0x14
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4bab4d
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00429540
test eax, eax
jl 0x4bab4d
mov dword [ebp - 0x9c], 1
mov edx, dword [ebp - 0x10]
push edx
call fcn.00562255
add esp, 4
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret

Function at 0x4bacd0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2018
call fcn.0055f2e0
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4bad06
cmp dword [ebp - 8], 0x1fff
jbe 0x4bad0a
xor eax, eax
jmp 0x4bad6d
lea edx, [ebp - 0x2010]
push edx
mov eax, dword [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4bad6b
lea edx, [ebp - 0x2018]
push edx
lea eax, [ebp - 0x2014]
push eax
push 0x5a8c80
lea ecx, [ebp - 0x2010]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4bad6b
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2014]
mov ecx, dword [eax + 0xc]
mov dword [edx], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2014]
mov ecx, dword [eax + 8]
mov dword [edx + 4], ecx
mov eax, 1
jmp 0x4bad6d
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
Function at 0x4bad80
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
and eax, 0xffff
movzx ecx, ax
and ecx, 0xff
movzx edx, cl
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
and eax, 0xffff
movzx ecx, ax
shr ecx, 8
and ecx, 0xff
movzx edx, cl
mov dword [ebp - 0xc], edx
cmp dword [ebp - 4], 5
jbe 0x4badca
mov al, 1
jmp 0x4baddd
cmp dword [ebp - 4], 5
jne 0x4baddb
cmp dword [ebp - 0xc], 1
sbb eax, eax
add eax, 1
jmp 0x4baddd
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x4bd080
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x2c]
cmp ecx, 1
jne 0x4bd0a0
mov edx, dword [ebp - 0xc]
mov al, byte [edx + 0xd]
jmp 0x4bd18a
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x2c], 1
mov ecx, dword [ebp - 0xc]
add ecx, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 0xc]
mov dword [edx + 8], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], eax
push 0x5f232c
push 0x20
call fcn.00563fac
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4bd101
mov ecx, dword [ebp - 8]
call fcn.004c0430
mov dword [ebp - 0x10], eax
jmp 0x4bd108
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 4
mov edx, dword [ebp - 0xc]
push edx
push 0x4bc940
push 0
push 0
call fcn.00563efc
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x28], 0xffffffff
je 0x4bd176
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x28], 0
je 0x4bd176
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 8], 0xffffffff
je 0x4bd176
mov edx, dword [ebp - 0xc]
cmp dword [edx + 8], 0
je 0x4bd176
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0xffffffff
je 0x4bd176
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0
je 0x4bd176
mov edx, dword [ebp - 0xc]
cmp dword [edx], 0
jne 0x4bd17a
xor al, al
jmp 0x4bd18a
mov eax, dword [ebp - 0xc]
mov byte [eax + 0xd], 1
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0xc], 0
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x4bd190
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov byte [eax + 0xc], 1
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0xd]
test edx, edx
jne 0x4bd1ad
jmp 0x4bd205
mov eax, dword [ebp - 8]
mov byte [eax + 0xd], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xbb8
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x102
jne 0x4bd1ee
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [eax + 0x28], 0xffffffff
mov esp, ebp
pop ebp
ret

Function at 0x4bd210
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0xd]
test ecx, ecx
jne 0x4bd224
jmp 0x4bd241
mov edx, dword [ebp - 4]
mov byte [edx + 0xc], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0xffffffff
je 0x4bd241
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret
Function at 0x4be1f0
Capabilities:
Create process on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov ecx, 0x5eb4f8
call fcn.004c4380
mov ecx, eax
call fcn.004c4360
mov ecx, eax
call fcn.004273c0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4be221
mov eax, dword [ebp - 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x4be228
mov dword [ebp - 8], str.http:__www.360totalsecurity.com_d_ts__s__s_
lea ecx, [ebp - 0x10]
call fcn.00426ee0
mov dword [ebp - 4], 0x400
mov edx, dword [ebp - 4]
push edx
lea ecx, [ebp - 0x10]
call fcn.004a10e0
mov dword [ebp - 0xc], eax
push 0x5adea0
lea eax, [ebp - 0x20]
push eax
call fcn.00434c10
add esp, 4
mov ecx, eax
call fcn.004273c0
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x20]
call fcn.00426fe0
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0042bd10
lea ecx, [ebp - 0x18]
call fcn.00426ee0
mov dword [ebp - 4], 0x80
mov edx, dword [ebp - 4]
push edx
lea ecx, [ebp - 0x18]
call fcn.004a10e0
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x10]
call fcn.004273c0
push eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0x5adeb8
push 0x5adebc
push 0x5aded0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.0042bd10
lea ecx, [ebp - 0x14]
call fcn.00426ee0
mov dword [ebp - 4], 0x80
mov edx, dword [ebp - 4]
push edx
lea ecx, [ebp - 0x14]
call fcn.004a10e0
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x10]
call fcn.004273c0
push eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0x5aded8
push 0x5adedc
push 0x5adeec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0042bd10
lea ecx, [ebp - 0x14]
call fcn.00446840
lea ecx, [ebp - 0x18]
call fcn.004273e0
movzx edx, al
test edx, edx
jne 0x4be381
lea ecx, [ebp - 0x14]
call fcn.004273e0
movzx eax, al
test eax, eax
jne 0x4be381
lea ecx, [ebp - 0x1c]
call fcn.00426ee0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0042fa10
add esp, 0x10
push 5
push 0
push 0
lea ecx, [ebp - 0x1c]
call fcn.004273c0
push eax
push str.Open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x1c]
call fcn.00426fe0
lea ecx, [ebp - 0x14]
call fcn.00426fe0
lea ecx, [ebp - 0x18]
call fcn.00426fe0
lea ecx, [ebp - 0x10]
call fcn.00426fe0
mov esp, ebp
pop ebp
ret