joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426090
Capabilities:
Create process on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x552a7c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x290], ecx
push 0x52ee84
lea ecx, [ebp - 4]
call fcn.0041d0c0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x290]
call fcn.00425950
test eax, eax
je 0x42630a
lea ecx, [ebp - 0x214]
call fcn.0041d080
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 4]
call fcn.0041d2b0
push eax
call fcn.0041b5b0
add esp, 8
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004f7580
add esp, 0xc
lea ecx, [ebp - 0x280]
push ecx
call fcn.00418f20
add esp, 4
mov ecx, eax
call fcn.0041d2b0
push eax
push 0x104
lea edx, [ebp - 0x210]
push edx
push str.6.2.1.188
push str.360se_minver
push 0x52eeb8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x280]
call fcn.0041d100
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x214]
call fcn.0041d2b0
push eax
call fcn.0041b3f0
add esp, 8
test eax, eax
jl 0x4262ff
push 0x52eecc
lea ecx, [ebp - 0x218]
call fcn.0041d0c0
mov ecx, dword [ebp - 0x290]
mov edx, dword [ecx]
push edx
push str.__set_adfilter_mode_d
lea eax, [ebp - 0x218]
push eax
call fcn.0041e770
add esp, 0xc
call fcn.004233c0
test eax, eax
je 0x4261d0
lea ecx, [ebp - 0x218]
call fcn.0041d2b0
push eax
lea ecx, [ebp - 4]
call fcn.0041d2b0
push eax
mov ecx, dword [ebp - 0x290]
call fcn.00425b70
jmp 0x4262f4
push 0x52ef00
lea ecx, [ebp - 0x27c]
call fcn.0041d0c0
lea ecx, [ebp - 0x218]
push ecx
push 0x52ef04
lea edx, [ebp - 4]
push edx
push 0x52ef0c
lea eax, [ebp - 0x284]
push eax
call fcn.0041d250
add esp, 0xc
push eax
lea ecx, [ebp - 0x288]
push ecx
call fcn.0041bc20
add esp, 0xc
push eax
lea edx, [ebp - 0x28c]
push edx
call fcn.0041bbc0
add esp, 0xc
push eax
lea ecx, [ebp - 0x27c]
call fcn.0041d120
lea ecx, [ebp - 0x28c]
call fcn.0041d100
lea ecx, [ebp - 0x288]
call fcn.0041d100
lea ecx, [ebp - 0x284]
call fcn.0041d100
mov dword [ebp - 0x278], 0
push 0x40
push 0
lea eax, [ebp - 0x274]
push eax
call fcn.004f7580
add esp, 0xc
mov dword [ebp - 0x24c], 1
mov dword [ebp - 0x278], 0x44
xor ecx, ecx
mov word [ebp - 0x248], cx
mov dword [ebp - 0x228], 0
xor edx, edx
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x220], edx
mov dword [ebp - 0x21c], edx
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x278]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x27c]
call fcn.0041d2e0
push eax
lea ecx, [ebp - 0x27c]
call fcn.0041d2c0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x27c]
call fcn.0041d100
lea ecx, [ebp - 0x218]
call fcn.0041d100
lea ecx, [ebp - 0x214]
call fcn.0041d100
lea ecx, [ebp - 4]
call fcn.0041d100
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret
Function at 0x427d30
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x3c], 0
push 0x542610
lea ecx, [ebp - 4]
call fcn.0041d0c0
call fcn.00415eb0
test eax, eax
je 0x427da6
push 0x52f164
lea eax, [ebp - 0x10]
push eax
call fcn.004162d0
add esp, 4
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.0041bc20
add esp, 0xc
push eax
lea ecx, [ebp - 4]
call fcn.0041d120
lea ecx, [ebp - 0x14]
call fcn.0041d100
lea ecx, [ebp - 0x10]
call fcn.0041d100
lea edx, [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041d0a0
lea ecx, [ebp - 4]
call fcn.0041d100
mov eax, dword [ebp + 8]
jmp 0x427f5f
push 0x52f164
lea eax, [ebp - 0x18]
push eax
call fcn.004163f0
add esp, 4
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.0041bc20
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.0041d100
call fcn.00427f70
test eax, eax
je 0x427eb6
push 0
push 0x80
push 3
push 0
push 7
push 0x40000000
lea ecx, [ebp - 8]
call fcn.0041d2b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x427e9b
push str.CreateFile_fail
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.00419510
test eax, eax
je 0x427e30
lea edx, [ebp - 0x20]
push edx
call fcn.004195b0
add esp, 4
or dword [ebp - 0x3c], 1
mov dword [ebp - 0x40], eax
jmp 0x427e45
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.00416040
add esp, 8
or dword [ebp - 0x3c], 2
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x1c], ecx
push 0x52f118
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.0041bc20
add esp, 0xc
push eax
lea ecx, [ebp - 4]
call fcn.0041d120
lea ecx, [ebp - 0x28]
call fcn.0041d100
mov ecx, dword [ebp - 0x3c]
and ecx, 2
je 0x427e85
and dword [ebp - 0x3c], 0xfffffffd
lea ecx, [ebp - 0x24]
call fcn.0041d100
mov edx, dword [ebp - 0x3c]
and edx, 1
je 0x427e99
and dword [ebp - 0x3c], 0xfffffffe
lea ecx, [ebp - 0x20]
call fcn.0041d100
jmp 0x427eb1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
call fcn.0041d120
jmp 0x427f40
call fcn.00419510
test eax, eax
je 0x427ed4
lea edx, [ebp - 0x30]
push edx
call fcn.004195b0
add esp, 4
or dword [ebp - 0x3c], 4
mov dword [ebp - 0x44], eax
jmp 0x427eec
push 0x542610
lea eax, [ebp - 0x34]
push eax
call fcn.00428290
add esp, 8
or dword [ebp - 0x3c], 8
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x2c], ecx
push 0x52f118
mov edx, dword [ebp - 0x2c]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.0041bc20
add esp, 0xc
push eax
lea ecx, [ebp - 4]
call fcn.0041d120
lea ecx, [ebp - 0x38]
call fcn.0041d100
mov ecx, dword [ebp - 0x3c]
and ecx, 8
je 0x427f2c
and dword [ebp - 0x3c], 0xfffffff7
lea ecx, [ebp - 0x34]
call fcn.0041d100
mov edx, dword [ebp - 0x3c]
and edx, 4
je 0x427f40
and dword [ebp - 0x3c], 0xfffffffb
lea ecx, [ebp - 0x30]
call fcn.0041d100
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041d0a0
lea ecx, [ebp - 8]
call fcn.0041d100
lea ecx, [ebp - 4]
call fcn.0041d100
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x427f70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x552a7c]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x220]
push eax
call fcn.00428130
add esp, 4
mov ecx, eax
call fcn.0041d2b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x219], al
lea ecx, [ebp - 0x220]
call fcn.0041d100
movzx ecx, byte [ebp - 0x219]
test ecx, ecx
je 0x427fca
xor eax, eax
jmp 0x4280d9
lea ecx, [ebp - 8]
call fcn.0041d080
push 0x52f208
lea edx, [ebp - 4]
push edx
call fcn.00415de0
add esp, 8
lea ecx, [ebp - 4]
call fcn.0041d2b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4280a6
call fcn.004280f0
test eax, eax
je 0x4280a6
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.0041d2b0
push eax
call fcn.0041b5b0
add esp, 8
test eax, eax
je 0x4280a4
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.004f7580
add esp, 0xc
push 0x103
lea eax, [ebp - 0x218]
push eax
push str.3.5.0.1020
push str.scan_minver
push 0x52f1c4
call fcn.00428150
add esp, 0x14
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 8]
call fcn.0041d2b0
push eax
call fcn.0041b3f0
add esp, 8
test eax, eax
jl 0x4280a4
mov dword [ebp - 0x224], 1
lea ecx, [ebp - 4]
call fcn.0041d100
lea ecx, [ebp - 8]
call fcn.0041d100
mov eax, dword [ebp - 0x224]
jmp 0x4280d9
jmp 0x4280b9
call fcn.004280f0
push eax
push str.IsClousSec3Available__d
call fcn.0042d4d0
add esp, 8
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 4]
call fcn.0041d100
lea ecx, [ebp - 8]
call fcn.0041d100
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret

Function at 0x4280f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
call fcn.004163f0
add esp, 4
push 0x52f238
lea ecx, [ebp - 4]
call fcn.0041d180
lea ecx, [ebp - 4]
call fcn.0041d2b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 8], eax
lea ecx, [ebp - 4]
call fcn.0041d100
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x42d500
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea ecx, [ebp - 4]
call fcn.0041d080
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 4]
call fcn.0041e7a0
push 0x52dae0
lea ecx, [ebp - 4]
call fcn.0041d180
lea edx, [ebp - 4]
push edx
push 0x542610
lea eax, [ebp - 8]
push eax
call fcn.0041d250
add esp, 0xc
mov ecx, eax
call fcn.0041d2b0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 8]
call fcn.0041d100
lea ecx, [ebp - 4]
call fcn.0041d100
mov esp, ebp
pop ebp
ret
Function at 0x42d720
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x552a7c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
jne 0x42d752
xor eax, eax
jmp 0x42d805
mov ecx, dword [ebp + 0xc]
call fcn.0041e020
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.004f7580
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x244], 0
cmp dword [ebp - 0x23c], 0
je 0x42d7e7
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp + 8]
jne 0x42d7cc
lea ecx, [ebp - 0x214]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0041d140
jmp 0x42d7e7
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x240]
push eax
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x23c], eax
jmp 0x42d7a7
mov ecx, dword [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0xc]
call fcn.0041d2e0
xor edx, edx
test eax, eax
setg dl
mov eax, edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret

Function at 0x42d820
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x552a7c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
call fcn.0041e020
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
jne 0x42d85a
xor eax, eax
jmp 0x42d904
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.004f7580
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x244], 0
cmp dword [ebp - 0x23c], 0
je 0x42d8e4
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp + 8]
jne 0x42d8c9
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x244], ecx
jmp 0x42d8e4
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x240]
push eax
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x23c], eax
jmp 0x42d8a7
mov ecx, dword [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x244]
push eax
call fcn.0042daa0
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret
Function at 0x42dd50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x10]
shl eax, 1
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004f7580
add esp, 0xc
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042db90
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42dd9a
jmp 0x42de39
cmp dword [ebp - 4], 0
jne 0x42ddd7
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push 0x52f918
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x42ddd7
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x10]
shl eax, 1
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004f7580
add esp, 0xc
jmp 0x42de39
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42dde7
jmp 0x42de39
mov eax, dword [ebp + 8]
push eax
call fcn.00432c60
add esp, 4
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0xffffffff
je 0x42de08
cmp dword [ebp + 8], 0
je 0x42de08
cmp dword [ebp + 8], 4
jne 0x42de25
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 0x10]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.004f7580
add esp, 0xc
jmp 0x42de39
mov dword [ebp - 4], 0
mov eax, 1
test eax, eax
jne 0x42dd64
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x42de40
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3b0
mov eax, dword [0x552a7c]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
mov word [ebp - 0x3a8], ax
push 0x18e
push 0
lea ecx, [ebp - 0x3a6]
push ecx
call fcn.004f7580
add esp, 0xc
lea edx, [ebp - 0x3a8]
push edx
push 0xc7
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x42de8f
xor eax, eax
jmp 0x42dfbc
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.004f7580
add esp, 0xc
mov edx, dword [0x52f934]
mov dword [ebp - 0x10], edx
mov ax, word [0x52f938]
mov word [ebp - 0xc], ax
mov dword [ebp - 0x3ac], 0
lea ecx, [ebp - 0x3a8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov ax, word [edx]
mov word [ebp - 0x10], ax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x42df97
lea eax, [ebp - 0x218]
push eax
call fcn.004f7670
add esp, 4
mov dword [ebp - 0x3b0], eax
mov ecx, 0x5c
mov edx, dword [ebp - 0x3b0]
mov word [ebp + edx*2 - 0x218], cx
mov eax, dword [ebp - 0x3b0]
add eax, 1
mov dword [ebp - 0x3b0], eax
xor ecx, ecx
mov edx, dword [ebp - 0x3b0]
mov word [ebp + edx*2 - 0x218], cx
mov eax, dword [ebp - 0x3b0]
push eax
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x3ac], eax
je 0x42df97
mov eax, dword [ebp - 0x3b0]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2]
push edx
lea eax, [ebp - 0x10]
push eax
push 0x52f93c
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0042d470
add esp, 0x14
mov eax, 1
jmp 0x42dfbc
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
mov edx, dword [ebp - 4]
add edx, 2
mov dword [ebp - 4], edx
test ecx, ecx
je 0x42dfac
jmp 0x42df97
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
test ecx, ecx
jne 0x42ded4
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret
Function at 0x42e380
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x552a7c]
xor eax, ebp
mov dword [ebp - 4], eax
push str.00000000000000000000000000000000
mov ecx, dword [ebp + 8]
call fcn.0041d140
mov dword [ebp - 0x210], 0
xor eax, eax
mov word [ebp - 0x208], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x206]
push ecx
call fcn.004f7580
add esp, 0xc
mov dword [ebp - 0x20c], 0x200
mov dword [ebp - 0x214], 1
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x214]
push ecx
push 0x52fa4c
push 0x52fa54
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42e42d
xor edx, edx
mov word [ebp - 0x1c8], dx
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041d140
mov dword [ebp - 0x210], 1
cmp dword [ebp - 0x210], 0
jne 0x42e51f
push 0x52fa84
push 0
lea ecx, [ebp - 0x2a4]
push ecx
call fcn.004381d0
add esp, 8
push eax
lea edx, [ebp - 0x218]
push edx
call fcn.0041bc20
add esp, 0xc
lea ecx, [ebp - 0x2a4]
call fcn.0041d100
lea ecx, [ebp - 0x218]
call fcn.0041d2b0
push eax
call fcn.0045ff30
add esp, 4
test eax, eax
je 0x42e514
lea ecx, [ebp - 0x218]
call fcn.0041d2b0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x42e514
push str.GetCIDW
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x42e507
xor ecx, ecx
mov word [ebp - 0x2a0], cx
push 0x7e
push 0
lea edx, [ebp - 0x29e]
push edx
call fcn.004f7580
add esp, 0xc
push 0x40
lea eax, [ebp - 0x2a0]
push eax
call dword [ebp - 0x220]
test eax, eax
je 0x42e507
lea ecx, [ebp - 0x2a0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041d140
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x218]
call fcn.0041d100
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret
Function at 0x42e9d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x552a7c]
xor eax, ebp
mov dword [ebp - 0xc], eax
call fcn.00415eb0
test eax, eax
je 0x42ea1c
lea eax, [ebp - 0x224]
push eax
call fcn.004162d0
add esp, 4
push eax
mov ecx, dword [ebp + 8]
call fcn.0041d120
lea ecx, [ebp - 0x224]
call fcn.0041d100
mov ecx, dword [ebp + 8]
call fcn.0041d2e0
jmp 0x42eadb
mov ecx, dword [ebp + 8]
call fcn.0041e020
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
push 0x52fad0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42ead9
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.004f7580
add esp, 0xc
mov dword [ebp - 0x220], 0x208
mov dword [ebp - 0x21c], 1
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x21c]
push eax
push 0
push 0x532730
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041d140
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
call fcn.0041d300
movzx eax, al
neg eax
sbb eax, eax
add eax, 1
jmp 0x42eadb
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret

Function at 0x42ecb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0
call fcn.0042ed10
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
sub esi, eax
mov dword [ebp - 8], esi
push 4
lea edx, [ebp - 8]
push edx
push 4
push 0x52fdec
push 0x52fe00
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [ebp - 4], 0
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42ee40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 4]
call fcn.0041d080
lea eax, [ebp - 4]
push eax
call fcn.0042e9d0
add esp, 4
test eax, eax
je 0x42eec4
push str._safemon360tray.exe
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.0041bc20
add esp, 0xc
or dword [ebp - 0x14], 1
mov ecx, eax
call fcn.0041d2b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42eec4
push str.hipsver.dll
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.0041bc20
add esp, 0xc
or dword [ebp - 0x14], 2
mov ecx, eax
call fcn.0041d2b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42eec4
mov dword [ebp - 0x18], 1
jmp 0x42eecb
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x14]
and eax, 2
je 0x42eee5
and dword [ebp - 0x14], 0xfffffffd
lea ecx, [ebp - 0x10]
call fcn.0041d100
mov ecx, dword [ebp - 0x14]
and ecx, 1
je 0x42eef9
and dword [ebp - 0x14], 0xfffffffe
lea ecx, [ebp - 0xc]
call fcn.0041d100
lea ecx, [ebp - 4]
call fcn.0041d100
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x42ef10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 4]
call fcn.0041d080
lea eax, [ebp - 4]
push eax
call fcn.0042e9d0
add esp, 4
test eax, eax
je 0x42ef69
push 0x52fec8
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.0041bc20
add esp, 0xc
or dword [ebp - 0x10], 1
mov ecx, eax
call fcn.0041d2b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42ef69
mov dword [ebp - 0x14], 1
jmp 0x42ef70
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
and ecx, 1
je 0x42ef8a
and dword [ebp - 0x10], 0xfffffffe
lea ecx, [ebp - 0xc]
call fcn.0041d100
lea ecx, [ebp - 4]
call fcn.0041d100
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x42f500
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov dword [ebp - 4], 0
cmp dword [ebp + 0x20], 0
je 0x42f5ce
call fcn.004233c0
test eax, eax
je 0x42f5ce
call fcn.00434a00
test eax, eax
jne 0x42f5ce
mov dword [ebp - 0x40], 0
push 0x38
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.004f7580
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x1040
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], 0x530004
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 1
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42f5c9
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0x1c], 0
je 0x42f5b8
mov edx, dword [ebp + 0x1c]
mov dword [edx], 0
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 1
jmp 0x42f6d7
lea ecx, [ebp - 0x9c]
call fcn.0041d080
cmp dword [ebp + 0x10], 0
je 0x42f5fd
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x530010
lea edx, [ebp - 0x9c]
push edx
call fcn.0041e770
add esp, 0x10
jmp 0x42f615
mov eax, dword [ebp + 0xc]
push eax
push 0x530020
lea ecx, [ebp - 0x9c]
push ecx
call fcn.0041e770
add esp, 0xc
mov dword [ebp - 0x98], 0
push 0x40
push 0
lea edx, [ebp - 0x94]
push edx
call fcn.004f7580
add esp, 0xc
mov dword [ebp - 0x50], 0
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x98], 0x44
mov ecx, 5
mov word [ebp - 0x68], cx
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x9c]
call fcn.0041d2b0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42f6cc
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0x1c], 0
je 0x42f6b8
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], 0
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x9c]
call fcn.0041d100
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret