joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cce10
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xc
mov eax, 0x5334d4
call fcn.004f1d7f
xor ebx, ebx
mov esi, 0x5aca00
push str.CreateShellLink_start...
push esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
call fcn.004dddd9
pop ecx
pop ecx
lea eax, [ebp - 0x10]
push eax
push 0x54429c
push 1
push ebx
push 0x54437c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jns 0x4cce6a
push edi
push str.CoCreateInstance__0x_x
push esi
call fcn.004dddd9
mov esi, dword [ebp + 0xc]
add esp, 0xc
jmp 0x4ccf57
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x4cce8c
cmp word [edx], bx
je 0x4cce8c
mov eax, dword [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x4ccea2
cmp word [esi], bx
je 0x4ccea2
mov eax, dword [ebp - 0x10]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
push 5
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test esi, esi
je 0x4ccee9
call fcn.004cf6f3
test eax, eax
je 0x4ccee9
push dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.004cc606
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], ebx
test eax, eax
je 0x4ccedb
push esi
push eax
call fcn.00425f00
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4ccee9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push 0x5442dc
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, dword [ebp + 0xc]
test eax, eax
js 0x4ccf47
push dword [ebp + 0x10]
mov ebx, 0x5aca00
push esi
push dword [ebp + 8]
push 0x53e910
push ebx
call fcn.004dddd9
mov eax, dword [ebp - 0x14]
add esp, 0x14
mov ecx, dword [eax]
push 1
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x18]
mov edi, eax
test edi, edi
jns 0x4ccf3e
push edi
push str.Save__0x_x
push ebx
call fcn.004dddd9
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor ebx, ebx
test edi, edi
setns bl
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
push ebx
push str.CreateShellLink_return:_d__file:_ws__cmd:_ws__link:_ws
push 0x5aca00
call fcn.004dddd9
add esp, 0x18
mov eax, ebx
call fcn.004f1d4d
ret
Function at 0x4cd1c4
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x408]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push eax
push 0xf003f
push esi
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4cd279
lea eax, [ebp - 0x414]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x404]
push eax
push esi
jmp 0x4cd24b
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call fcn.004cd1c4
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4cd28a
lea eax, [ebp - 0x414]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x404]
push eax
push ecx
push dword [ebp - 0x408]
mov dword [ebp - 0x40c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4cd216
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x4cd279

Function at 0x4cd647
Capabilities:
Acquire debug privileges

Disassembly:
push 0x2c
push 0x578e20
call fcn.004f8200
xor esi, esi
mov ebx, esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x2c], esi
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], esi
lea eax, [ebp - 0x30]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4cd6db
lea eax, [ebp - 0x3c]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x4cd6db
xor edi, edi
inc edi
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 2
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x4cd6db
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
cmovne ebx, edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.004cd6f4
mov eax, ebx
call fcn.004f8248
ret
Function at 0x4cdb36
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4cdbf6
lea eax, [ebp - 0x214]
mov dword [ebp - 0x210], esi
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], esi
push eax
push edi
call fcn.004cdc09
add esp, 0xc
test al, al
je 0x4cdbf6
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.004f28b0
mov ecx, dword [ebp - 0x214]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x210]
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [ebp - 0x20c]
push ecx
push str._d._d._d._d
push 0x104
push eax
call fcn.004f5350
lea eax, [ebp - 0x20c]
push eax
call fcn.0043a8c3
add esp, 0x2c
mov ecx, ebx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0043a84a
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret

Function at 0x4cdc09
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
xor ebx, ebx
push edi
mov dword [eax], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
mov dword [eax], ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x4cdc90
push esi
push edi
call fcn.004f046c
pop ecx
mov esi, eax
push esi
push edi
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4cdc84
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
push 0x559c0c
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4cdc84
cmp dword [ebp - 8], ebx
je 0x4cdc84
mov ecx, dword [ebp - 0xc]
mov bl, 1
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
test esi, esi
je 0x4cdc8f
push esi
call fcn.004f2acf
pop ecx
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cdd3d
Capabilities:
Accept command line arguments

Disassembly:
push 0x7c
mov eax, 0x533666
call fcn.004f1db2
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x88], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x4cddb7
push 0x53e3e8
push eax
call fcn.004f620b
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4cddb1
add esi, 0xa
push 0x20
push esi
call fcn.004f4f0d
pop ecx
xor ebx, ebx
pop ecx
test eax, eax
jne 0x4cdd9f
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4cdd8d
sub ecx, edx
sar ecx, 1
lea eax, [esi + ecx*2]
sub eax, esi
mov ecx, edi
sar eax, 1
push eax
push esi
call fcn.0043a84a
jmp 0x4cde90
mov esi, dword [ebp - 0x88]
push ebx
lea ecx, [ebp - 0x88]
call fcn.0043c206
xor ebx, ebx
push 0x559c0c
mov dword [ebp - 4], ebx
call fcn.0043a8c3
pop ecx
push eax
push 0x559c0c
lea ecx, [ebp - 0x88]
call fcn.004516f5
push str.browserpacket.xml
call fcn.0043a8c3
pop ecx
push eax
push str.browserpacket.xml
lea ecx, [ebp - 0x88]
call fcn.004516f5
lea ecx, [ebp - 0x84]
call fcn.004c34ac
push dword [ebp - 0x88]
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.004c3643
test eax, eax
je 0x4cde70
push ebx
push str.packetpid
lea ecx, [ebp - 0x84]
call fcn.004c36ab
test eax, eax
je 0x4cde4a
push edi
push 0x55a790
lea ecx, [ebp - 0x84]
call fcn.004c377e
push ebx
push str.packet_spid
lea ecx, [ebp - 0x84]
call fcn.004c36ab
test eax, eax
je 0x4cde70
push esi
push 0x53e430
lea ecx, [ebp - 0x84]
call fcn.004c377e
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], bl
call fcn.00480410
mov ecx, dword [ebp - 0x88]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00436fdb
mov eax, dword [0x5ac92c]
cmp dword [eax - 0xc], ebx
je 0x4cdea6
push 0x5ac92c
mov ecx, edi
call fcn.0043c2e8
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jne 0x4cded8
push 0xc
pop eax
call fcn.004f5710
mov eax, esp
push 3
push 5
push 0x53e438
push eax
call fcn.00495a40
mov esi, eax
push esi
call fcn.0043a8c3
pop ecx
push eax
push esi
mov ecx, edi
call fcn.0043a84a
lea esp, [ebp - 0x98]
call fcn.004f1d61
ret
Function at 0x4ce312
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
add eax, 0x41
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ecx + 4]
jb 0x4ce376
ja 0x4ce371
mov eax, dword [ebp - 0x14]
cmp eax, dword [ecx]
jb 0x4ce376
xor eax, eax
inc eax
jmp 0x4ce378
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret

Function at 0x4ce4cf
Capabilities:
Check if file exists

Disassembly:
push 0x230
mov eax, 0x53371d
call fcn.004f1db2
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x234]
xor esi, esi
push eax
inc esi
call fcn.0043c206
lea eax, [ebp - 0x234]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004cf906
mov edi, str.liebao.exe
push edi
call fcn.0043a8c3
pop ecx
pop ecx
push eax
push edi
lea ecx, [ebp - 0x234]
call fcn.004516f5
push esi
call fcn.004cd305
pop ecx
push dword [ebp - 0x234]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ce603
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x238], ebx
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x23c], ebx
push eax
push dword [ebp - 0x234]
call fcn.004cdc09
add esp, 0xc
test al, al
je 0x4ce603
lea eax, [ebp - 0x230]
push ebx
push eax
call fcn.004cda0e
xor eax, eax
mov byte [ebp - 4], 1
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.004f28b0
mov ecx, dword [ebp - 0x23c]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x238]
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [ebp - 0x218]
push ecx
push str._d._d._d._d
push 0x104
push eax
call fcn.004f5350
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004cc98e
add esp, 0x38
cmp eax, esi
je 0x4ce5f0
test eax, eax
jne 0x4ce5f2
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call fcn.00417d20
push ebx
call fcn.004cd305
pop ecx
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
call fcn.00436fdb
mov eax, esi
call fcn.004f1d61
ret
Function at 0x4ce620
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov dword [ebp - 0x234], eax
push 0x228
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], esi
push esi
push eax
call fcn.004f28b0
add esp, 0xc
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4ce6d7
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4ce6d0
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
mov ecx, dword [ebp - 0x228]
cmp ecx, ebx
je 0x4ce6b9
test ecx, ecx
je 0x4ce6b9
cmp ecx, 4
je 0x4ce6b9
push dword [ebp - 0x234]
lea eax, [ebp - 0x20c]
push eax
call fcn.004f3482
pop ecx
pop ecx
test eax, eax
je 0x4ce6cc
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4ce68e
jmp 0x4ce6cf
xor esi, esi
inc esi
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret
Function at 0x4ceeac
Capabilities:
Check if file exists

Disassembly:
push 0x244
mov eax, 0x5337d7
call fcn.004f1db2
push str.LockDefaultViaDuba_Begin_r_n
mov esi, 0x5aca00
push esi
call fcn.004dddd9
pop ecx
pop ecx
call fcn.004ce467
test al, al
jne 0x4ceee8
push str.LockDefaultViaDuba_KDubaDetectLockLiebao_no_IsModuleSupport_r_n
push esi
call fcn.004dddd9
pop ecx
pop ecx
jmp 0x4cf0c0
xor ebx, ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x234], ebx
push 0x20019
push str.SoftwarekingsoftKISCommon
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x23c]
mov dword [ebp - 4], ebx
call fcn.0043c6fa
test eax, eax
je 0x4cef37
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LockDefaultViaDuba_Open_SoftwarekingsoftKISCommon_errcode_d_r_n
push esi
call fcn.004dddd9
add esp, 0xc
jmp 0x4cf09d
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.004f28b0
add esp, 0xc
mov dword [ebp - 0x240], 0x104
lea eax, [ebp - 0x240]
lea ecx, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x218]
push eax
push str.ProgramPath
call fcn.0043c788
test eax, eax
je 0x4cefa2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push eax
push str.LockDefaultViaDuba_QueryStringValue_ws_errcode_d_r_n
push esi
call fcn.004dddd9
add esp, 0x10
jmp 0x4cf09d
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4cefc8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push eax
push str.LockDefaultViaDuba_PathFileExists_ws_errcode_d_r_n
jmp 0x4cef94
lea edi, [ebp - 0x218]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x4cefd1
push 6
pop ecx
mov esi, str.kismain.exe
lea eax, [ebp - 0x218]
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00417260
mov esi, str.__defendmon:lockliebao
mov byte [ebp - 4], 1
push esi
call fcn.00416680
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.00418190
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov esi, 0x5aca00
cmovae eax, dword [ebp - 0x230]
push eax
push str.LockDefaultViaDuba_cmdline_ws_r_n
push esi
call fcn.004dddd9
xor eax, eax
lea edi, [ebp - 0x250]
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x250]
stosd dword es:[edi], eax
push ebx
push ebx
push ebx
stosd dword es:[edi], eax
push ebx
push ecx
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push ebx
call fcn.0043b852
push eax
push str.LockDefaultViaDuba_ExecuteAsDesktopUserEx3_hr0x_x_r_n
push esi
call fcn.004dddd9
add esp, 0x38
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x230]
push ebx
push 1
call fcn.00417d20
lea ecx, [ebp - 0x23c]
call fcn.0043c6e0
push str.LockDefaultViaDuba_End_r_n
push esi
call fcn.004dddd9
pop ecx
pop ecx
lea ecx, [ebp - 0x23c]
call fcn.0043c6e0
call fcn.004f1d61
ret
Function at 0x4cf647
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push 0
push 0x3000010
push 1
push 0
push 3
push 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
test ebx, ebx
je 0x4cf67a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x4cf685
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop ebx
pop ebp
ret

Function at 0x4cf688
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
call fcn.004f28b0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4cf6e3
cmp dword [ebp - 0x11c], 6
jne 0x4cf6e3
cmp dword [ebp - 0x118], 0
jne 0x4cf6e3
xor eax, eax
inc eax
jmp 0x4cf6e5
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret

Function at 0x4cf6f3
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
call fcn.004f28b0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4cf741
cmp dword [ebp - 0x11c], 6
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret

Function at 0x4cf7ae
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
call fcn.004f28b0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4cf809
cmp dword [ebp - 0x11c], 6
jb 0x4cf809
cmp dword [ebp - 0x118], 2
jb 0x4cf809
xor eax, eax
inc eax
jmp 0x4cf80b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret
Function at 0x4cf9dd
Capabilities:
Create process on windows
Terminate process

Disassembly:
push 0x5c
mov eax, 0x533889
call fcn.004f1d7f
push dword [ebp + 0x18]
mov ebx, dword [ebp + 0x10]
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.RunApp_szPath_ws_szCmd_ws_dwWaitTime_d_bShow_d_bWaitTimeTermination_d_r_n
push 0x5aca00
call fcn.004dddd9
xor esi, esi
lea eax, [ebp - 0x64]
push 0x40
push esi
push eax
mov dword [ebp - 0x14], esi
call fcn.004f28b0
mov dword [ebp - 0x24], esi
lea edi, [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x68], 0x44
stosd dword es:[edi], eax
add esp, 0x28
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
inc edi
mov dword [ebp - 0x3c], edi
call fcn.00437474
push eax
lea ecx, [ebp - 0x10]
call fcn.0043a4ef
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
push dword [ebp + 8]
push str.__s___s
push eax
call fcn.0043ab29
add esp, 0x10
cmp dword [ebp + 0x14], esi
je 0x4cfa66
push 0xa
pop eax
jmp 0x4cfa68
xor eax, eax
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
mov esi, dword [ebp - 0x10]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4cfab2
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KFunction::RunApp_CreateProcessW_error:_d__wait:_d__show:_d__path:_ws__cmd:_ws
push 0x5aca00
call fcn.004dddd9
mov ebx, dword [ebp - 0x14]
add esp, 0x1c
jmp 0x4cfaf4
test ebx, ebx
je 0x4cfaf2
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4cfaf2
cmp dword [ebp + 0x18], 0
je 0x4cfaf2
push 0
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x4cfaf2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.TerminateProcess_errcode_d_r_n
push 0x5aca00
call fcn.004dddd9
add esp, 0xc
mov ebx, edi
cmp dword [ebp - 0x24], 0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4cfb09
push dword [ebp - 0x24]
call edi
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x20], 0
je 0x4cfb18
push dword [ebp - 0x20]
call edi
and dword [ebp - 0x20], 0
lea ecx, [esi - 0x10]
call fcn.00436fdb
mov eax, ebx
call fcn.004f1d4d
ret
Function at 0x4cfb28
Capabilities:
Create process on windows

Disassembly:
push 0x5c
mov eax, 0x5338ac
call fcn.004f1d7f
xor esi, esi
lea eax, [ebp - 0x64]
push 0x40
push esi
push eax
mov dword [ebp - 0x14], esi
call fcn.004f28b0
mov dword [ebp - 0x24], esi
lea edi, [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x68], 0x44
stosd dword es:[edi], eax
add esp, 0xc
mov ebx, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
inc edi
mov dword [ebp - 0x3c], edi
call fcn.00437474
push eax
lea ecx, [ebp - 0x10]
call fcn.0043a4ef
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
push dword [ebp + 8]
push str.__s___s
push eax
call fcn.0043ab29
add esp, 0x10
cmp dword [ebp + 0x18], esi
je 0x4cfb94
push 0xa
pop eax
jmp 0x4cfb96
xor eax, eax
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
mov esi, dword [ebp - 0x10]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4cfbe1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp + 0xc]
mov ebx, eax
push dword [ebp + 8]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
push str.KFunction::RunApp_CreateProcessW_error:_d__wait:_d__show:_d__path:_ws__cmd:_ws
push 0x5aca00
call fcn.004dddd9
add esp, 0x1c
jmp 0x4cfc0e
cmp dword [ebp + 0x14], 0
mov eax, dword [ebp - 0x24]
je 0x4cfbfb
test eax, eax
je 0x4cfbfb
push dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x24]
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x14], edi
je 0x4cfc11
push dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4cfc22
push eax
call edi
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x20], 0
je 0x4cfc31
push dword [ebp - 0x20]
call edi
and dword [ebp - 0x20], 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esi - 0x10]
call fcn.00436fdb
mov eax, dword [ebp - 0x14]
call fcn.004f1d4d
ret
Function at 0x4d0859
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x53f020
xor ecx, ecx
push 1
push ecx
push 0x53f010
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
mov dword [edi], ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x4d0892
push esi
push str.CoCreateInstance_failed:_0x_08lx_n
jmp 0x4d08c3
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jns 0x4d08ad
push esi
push str.get_LocalPolicy_failed:_0x_08lx_n
jmp 0x4d08c3
mov eax, dword [ebp - 4]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jns 0x4d08d0
push esi
push str.get_CurrentProfile_failed:_0x_08lx_n
push 0x5aca00
call fcn.004dddd9
add esp, 0xc
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4d08dd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4d08ea
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4