joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e010
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x19c], ecx
lea eax, [ebp - 0x198]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x42e05c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DllMain_WSAStartup__d_n
push str.CSafeLogging::InitCommunicationComponent
call fcn.0040c230
add esp, 0xc
xor eax, eax
jmp 0x42e08b
mov ecx, dword [ebp - 0x19c]
mov edx, dword [ecx + 8]
push edx
mov ecx, dword [ebp - 0x19c]
add ecx, 0x30
call fcn.00406190
push eax
mov ecx, dword [ebp - 0x19c]
add ecx, 0xc8
call fcn.0042bdc0
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret

Function at 0x42e0a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x42e16e
cmp dword [ebp + 8], 0
je 0x42e16e
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x54], 0xffffffff
je 0x42e16e
mov dword [ebp - 4], 0
push 2
push 0
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.004061b0
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00406190
push eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [ebp - 4]
push ecx
push 3
push 0x5fac30
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 4]
push eax
push 2
push 0x5fac34
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov eax, 1
jmp 0x42e170
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42e180
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x114], 0
cmp dword [ebp + 8], 0
je 0x42e1af
cmp dword [ebp + 0xc], 0
jne 0x42e1b6
xor eax, eax
jmp 0x42e397
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.00568440
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x124], cx
xor edx, edx
mov dword [ebp - 0x122], edx
mov dword [ebp - 0x11e], edx
mov dword [ebp - 0x11a], edx
mov word [ebp - 0x116], dx
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x11e]
push ecx
movzx edx, word [ebp - 0x122]
push edx
movzx eax, word [ebp - 0x124]
push eax
push str.HSCT_LOG___d__02d__02d.txt
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call fcn.005618f5
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x42e245
xor eax, eax
jmp 0x42e397
mov ecx, dword [ebp - 0x23c]
add ecx, 0x14
call fcn.0045ba80
movzx edx, al
test edx, edx
je 0x42e2fd
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x12c], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
and eax, 0xffff
movzx ecx, ax
and ecx, 0xff
movzx edx, cl
mov dword [ebp - 0x12c], edx
cmp dword [ebp - 0x12c], 6
jb 0x42e2ea
mov byte [ebp - 0x238], 0
push 0x103
push 0
lea eax, [ebp - 0x237]
push eax
call fcn.00568440
add esp, 0xc
lea ecx, [ebp - 0x238]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x238]
push edx
mov ecx, dword [ebp - 0x23c]
add ecx, 0x14
call fcn.00406110
jmp 0x42e2fd
push 0x5fac54
mov ecx, dword [ebp - 0x23c]
add ecx, 0x14
call fcn.00406110
mov ecx, dword [ebp - 0x23c]
add ecx, 0x14
call fcn.004061b0
sub eax, 1
push eax
mov ecx, dword [ebp - 0x23c]
add ecx, 0x14
call fcn.00418ab0
movsx eax, byte [eax]
cmp eax, 0x5c
je 0x42e338
push 0x5fac58
mov ecx, dword [ebp - 0x23c]
add ecx, 0x14
call fcn.00408140
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [ebp - 0x23c]
add ecx, 0x14
call fcn.00408140
mov ecx, dword [ebp - 0x23c]
add ecx, 0x14
call fcn.004061b0
cmp eax, dword [ebp + 0xc]
jb 0x42e364
xor eax, eax
jmp 0x42e397
mov ecx, dword [ebp - 0x23c]
add ecx, 0x14
call fcn.004061b0
push eax
mov ecx, dword [ebp - 0x23c]
add ecx, 0x14
call fcn.00406190
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005617aa
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret 8
Function at 0x42e3b0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0xc8
call fcn.0042bde0
mov ecx, dword [ebp - 4]
call fcn.0042e520
test eax, eax
jne 0x42e3e0
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [ebp - 4]
cmp dword [edx + 0x4c], 0
je 0x42e400
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], 0
mov ecx, dword [ebp - 4]
call fcn.0042e560
test eax, eax
jne 0x42e41b
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [ebp - 4]
cmp dword [edx + 0x50], 0
je 0x42e43b
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x54], 0xffffffff
je 0x42e45b
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [eax + 0x54], 0xffffffff
mov ecx, dword [ebp - 4]
add ecx, 0x90
call fcn.0042ec30
mov esp, ebp
pop ebp
ret
Function at 0x434570
Capabilities:
Check if file exists
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58d3a3
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 0
je 0x4345eb
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
add ecx, 1
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x94]
mov al, byte [edx]
mov byte [ebp - 0x99], al
add dword [ebp - 0x94], 1
cmp byte [ebp - 0x99], 0
jne 0x4345b9
mov ecx, dword [ebp - 0x94]
sub ecx, dword [ebp - 0x98]
mov dword [ebp - 0xa0], ecx
jne 0x4345f2
xor eax, eax
jmp 0x434726
cmp dword [ebp + 0x10], 0
je 0x434613
cmp dword [ebp + 0x14], 0
je 0x43460c
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x434613
mov dword [ebp + 0x10], 0
mov dword [ebp - 0x10], 0x11
lea eax, [ebp - 0x10]
push eax
push 0x640878
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x640878
push str.Get_local_computer_name_S
push str.LoggingHelper::LogInit
call fcn.0040c230
add esp, 0xc
call fcn.004344c0
call fcn.00432110
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x434724
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00406050
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x50]
call fcn.00406050
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x70]
call fcn.00406050
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00406050
mov byte [ebp - 4], 3
lea edx, [ebp - 0x70]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x8c]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.0042ce40
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.004060d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.004060d0
cmp dword [ebp - 0x54], 0
je 0x434709
mov dword [ebp - 0x90], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.004060d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004060d0
mov eax, dword [ebp - 0x90]
jmp 0x434726
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.004060d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004060d0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret
Function at 0x437110
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x684
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x684], ecx
mov dword [ebp - 0x430], 0
xor eax, eax
mov word [ebp - 0x680], ax
push 0x206
push 0
lea ecx, [ebp - 0x67e]
push ecx
call fcn.00568440
add esp, 0xc
xor edx, edx
mov word [ebp - 0x418], dx
push 0x40e
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.00568440
add esp, 0xc
movzx ecx, word [ebp - 0x680]
test ecx, ecx
jne 0x4371af
push 0x208
lea edx, [ebp - 0x680]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x680]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.BreakOffINet64.exe
lea ecx, [ebp - 0x680]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x680]
push edx
push str.__s__DisableNetCardDevice
lea eax, [ebp - 0x418]
push eax
call fcn.00437a30
add esp, 0xc
push 0x44
push 0
lea ecx, [ebp - 0x478]
push ecx
call fcn.00568440
add esp, 0xc
mov dword [ebp - 0x478], 0x44
xor edx, edx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], edx
mov dword [ebp - 0x420], edx
lea eax, [ebp - 0x680]
push eax
push str.wszProgramName__s
push 0x5f667c
call fcn.0040c230
add esp, 0xc
lea ecx, [ebp - 0x418]
push ecx
push str.wszCommandLine__s
push 0x5f66d4
call fcn.0040c230
add esp, 0xc
lea edx, [ebp - 0x42c]
push edx
lea eax, [ebp - 0x478]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0x680]
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x437293
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x680]
push eax
push str.Err__d_:_executing__s
push 0x5f6734
call fcn.0040c230
add esp, 0x10
mov eax, dword [ebp - 0x430]
jmp 0x43733f
mov ecx, dword [ebp - 0x428]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
mov edx, dword [ebp - 0x42c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x41c], 0
lea eax, [ebp - 0x41c]
push eax
mov ecx, dword [ebp - 0x42c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x437313
cmp dword [ebp - 0x41c], 0
jne 0x4372f8
push str.Disable_net_card_device_succeed._r_n
push 0x5f67b0
call fcn.0040c230
add esp, 8
mov dword [ebp - 0x430], 1
jmp 0x437311
mov edx, dword [ebp - 0x41c]
push edx
push str.Disable_net_card_device_failed___d_._r_n
push 0x5f6830
call fcn.0040c230
add esp, 0xc
jmp 0x43732c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Err__d_:_GetExitCodeProcess._r_n
push str.CNetCmdBreakOffINetMgr::DisableNetCardDevice64
call fcn.0040c230
add esp, 0xc
mov eax, dword [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x430]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret
Function at 0x43f9e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
call fcn.00402270
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov byte [ebp - 0x17], al
mov ecx, dword [ebp - 0x28]
add ecx, 0x3c
call fcn.00406290
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43fa27
mov dword [ebp - 0x2c], 0
jmp 0x43fa76
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x3fffffff
jle 0x43fa49
mov dword [ebp - 0x30], 0
jmp 0x43fa70
mov eax, dword [ebp - 8]
shl eax, 1
call fcn.00570840
mov dword [ebp - 0x34], esp
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
shl eax, 1
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.004022d0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
push 0xa
lea edx, [ebp - 0x20]
push edx
push 0x5f62f0
push str.remote_desktop_state
push 0x5f630c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406110
xor eax, eax
lea esp, [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret 4

Function at 0x441700
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x640b0c
push 7
call fcn.00434770
add esp, 8
mov ecx, 0x640c90
call fcn.00442f20
push 0x640c90
push 4
call fcn.00434770
add esp, 8
push 0x640b48
push 5
call fcn.00434770
add esp, 8
push 0x640c00
push 2
call fcn.00434770
add esp, 8
push 0x640c00
push 3
call fcn.00434770
add esp, 8
push 0x640bc4
push 6
call fcn.00434770
add esp, 8
push 0x640b88
push 8
call fcn.00434770
add esp, 8
mov byte [ebp - 0x210], 0
push 0x207
push 0
lea eax, [ebp - 0x20f]
push eax
call fcn.00568440
add esp, 0xc
push 0x207
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push 0x5f4900
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4417f8
push 0
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
call fcn.00469400
lea eax, [ebp - 0x210]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00434570
add esp, 0x10
test eax, eax
jne 0x441837
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Err:_LoggingInit_failed__err_d__OUT_r_n
push str.InitNetReportComponent
call fcn.0040c230
add esp, 0xc
xor eax, eax
jmp 0x44183c
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret
Function at 0x4428e0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b4f5
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x61b000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [eax], vtable.CNetCmdPolicyInspectionMgr.0
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xb0], 1
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0xac], 0
je 0x4429ad
push 0xbb8
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x442980
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x10]
push edx
push str._CNetCmdPolicyInspectionMgr_Wait_trace_thread_fail__ret_d__err_d._n
push 0x5f23ac
call fcn.0040c230
add esp, 0x10
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x44299d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x10]
push edx
push str._CNetCmdPolicyInspectionMgr_Wait_trace_thread_thread_exit_OK..._n
push str.CNetCmdPolicyInspectionMgr::CNetCmdPolicyInspectionMgr
call fcn.0040c230
add esp, 0x10
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xac], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
add ecx, 0xb4
call fcn.0042ecc0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0x94
call fcn.00440140
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x7c
call fcn.00440140
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x5c
call fcn.004428c0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x3c
call fcn.00442780
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
call fcn.00436ca0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x442f20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0xb0], 0
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x442ee0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 0xac], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xac], 0
je 0x442f69
mov eax, 1
jmp 0x442f7d
push str._NetCmdPolicyInspectionMgr__CreateThread_Failed__n
push str.CNetCmdPolicyInspectionMgr::StartHandlerWork
call fcn.0040c230
add esp, 8
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x446ac0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [eax], vtable.AuthorizeMonitor.0
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], 1
mov edx, dword [ebp - 8]
cmp dword [edx + 4], 0
je 0x446b1c
push 0xbb8
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x446b0f
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [eax + 4], 0
mov esp, ebp
pop ebp
ret

Function at 0x446bc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x446c50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x446c00
mov eax, 1
jmp 0x446c02
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x446c70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x358
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x348], ecx
call fcn.00402270
mov dword [ebp - 0x33c], eax
xor eax, eax
mov word [ebp - 0x328], ax
push 0x206
push 0
lea ecx, [ebp - 0x326]
push ecx
call fcn.00568440
add esp, 0xc
push 0x103
lea edx, [ebp - 0x328]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x10], 0
je 0x446d00
cmp dword [ebp - 0xc], 0x7a
je 0x446d00
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.UpgradeFunc.exe
lea ecx, [ebp - 0x328]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x446d08
or eax, 0xffffffff
jmp 0x446e6a
lea edx, [ebp - 0x328]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x446d21
or eax, 0xffffffff
jmp 0x446e6a
mov byte [ebp - 0x120], 0
push 0x103
push 0
lea eax, [ebp - 0x11f]
push eax
call fcn.00568440
add esp, 0xc
mov ecx, dword [ebp - 0x348]
cmp dword [ecx + 8], 0
jne 0x446e65
lea edx, [ebp - 0x338]
push edx
call fcn.0044b6e0
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x348]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0xc]
jle 0x446e55
push 0x104
push 0
lea edx, [ebp - 0x120]
push edx
call fcn.00568440
add esp, 0xc
lea eax, [ebp - 0x328]
mov dword [ebp - 0x32c], eax
cmp dword [ebp - 0x32c], 0
jne 0x446da9
mov dword [ebp - 0x34c], 0
jmp 0x446e13
mov ecx, dword [ebp - 0x32c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x3fffffff
jle 0x446dd1
mov dword [ebp - 0x350], 0
jmp 0x446e07
mov eax, dword [ebp - 8]
shl eax, 1
call fcn.00570840
mov dword [ebp - 0x354], esp
mov edx, dword [ebp - 0x33c]
push edx
mov eax, dword [ebp - 8]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x32c]
push ecx
mov edx, dword [ebp - 0x354]
push edx
call fcn.004022d0
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0x34c], eax
mov ecx, dword [ebp - 0x34c]
push ecx
push str.__s__stop_install_icshg
lea edx, [ebp - 0x120]
push edx
call fcn.00561878
add esp, 0xc
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x344], esp
lea eax, [ebp - 0x120]
push eax
call fcn.00406050
mov dword [ebp - 0x358], eax
call fcn.00415f10
add esp, 0x20
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x446d3e
mov eax, 1
lea esp, [ebp - 0x358]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret
Function at 0x4475b0
Capabilities:
Enumerate processes
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a70
call fcn.0056b140
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x1a70], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x1810], eax
lea eax, [ebp - 0x1834]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor ecx, ecx
mov word [ebp - 0x1808], cx
push 0x7fe
push 0
lea edx, [ebp - 0x1806]
push edx
call fcn.00568440
add esp, 0xc
push 0x400
lea eax, [ebp - 0x1808]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x1808]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
movzx edx, word [ebp - 0x1834]
cmp edx, 9
je 0x44763e
movzx eax, word [ebp - 0x1834]
cmp eax, 6
jne 0x447654
push str.MonitorProcess64.exe__eject_cmd
lea ecx, [ebp - 0x1808]
push ecx
call fcn.00447890
add esp, 8
jmp 0x447668
push str.MonitorProcess.exe__eject_cmd
lea edx, [ebp - 0x1808]
push edx
call fcn.00447890
add esp, 8
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x180c], eax
mov dword [ebp - 0x1a68], 0x22c
lea eax, [ebp - 0x1a68]
push eax
mov ecx, dword [ebp - 0x180c]
push ecx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x1a6c], eax
xor edx, edx
mov word [ebp - 0x1008], dx
push 0xffe
push 0
lea eax, [ebp - 0x1006]
push eax
call fcn.00568440
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1a6c], 0
je 0x447763
lea ecx, [ebp - 0x1a44]
push ecx
push 0x5f152c
call fcn.00492060
add esp, 8
test eax, eax
jne 0x447745
push 0x800
push 0
lea edx, [ebp - 0x1008]
push edx
call fcn.00568440
add esp, 0xc
mov eax, dword [ebp - 0x1a60]
push eax
lea ecx, [ebp - 0x1808]
push ecx
push str.__s__ld
lea edx, [ebp - 0x1008]
push edx
call fcn.004478b0
add esp, 0x10
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x1a60]
push ecx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
push 1
lea edx, [ebp - 0x1008]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
call fcn.00415580
add esp, 0x10
lea ecx, [ebp - 0x1a68]
push ecx
mov edx, dword [ebp - 0x180c]
push edx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x1a6c], eax
jmp 0x4476c0
cmp dword [ebp - 0x180c], 0
je 0x447779
mov eax, dword [ebp - 0x180c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret