joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415f47
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x45a258]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push edi
push 4
pop ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], eax
lea ecx, [ebp - 0x78]
push ecx
add eax, 0x50c
push eax
lea eax, [ebp - 0x7c]
push eax
push str.SafeTrayType
mov ebx, str.Software360Safe360Ent
push ebx
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call esi
mov eax, dword [ebp - 0x80]
xor ecx, ecx
add eax, 0x50c
inc ecx
cmp dword [eax], ecx
jne 0x41604a
lea eax, [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x80]
add eax, 0x428
push eax
lea eax, [ebp - 0x7c]
push eax
push str.SafeTrayTips
push ebx
push edi
mov dword [ebp - 0x78], 0xc8
mov dword [ebp - 0x7c], ecx
call esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.0042dec0
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.SafeTrayIcon
push ebx
push edi
mov dword [ebp - 0x78], 0x208
call esi
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416027
lea eax, [ebp - 0x74]
push eax
push 0x45fa00
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x10
push 0x10
push 0x10
push 1
lea eax, [ebp - 0x74]
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, dword [ebp - 0x80]
push eax
add esi, 0x4fc
call fcn.0041a7e6
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042deb1
add ebp, 0x198
leave
ret 4

Function at 0x4162f2
Capabilities:
Check if file exists

Disassembly:
push 0x224
mov eax, 0x449939
call fcn.0043306d
mov esi, ecx
xor ebx, ebx
mov eax, str.pdown.dll
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], ebx
call fcn.0040d605
test eax, eax
je 0x4163e7
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4163e7
push 0x8c
mov dword [ebp - 4], ebx
call fcn.0042e1e2
mov edi, eax
pop ecx
mov dword [ebp - 0x228], edi
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x416369
lea eax, [ebp - 0x220]
call fcn.00414485
jmp 0x41636b
xor eax, eax
mov byte [ebp - 4], bl
mov dword [esi + 0x54], eax
cmp eax, ebx
je 0x4163b3
push 0xc367
lea eax, [ebp - 0x228]
push eax
call fcn.0040291c
mov byte [ebp - 4], 2
mov ecx, dword [eax]
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 8]
mov dword [ebp - 0x22c], 1
cmp eax, ebx
je 0x4163b3
push ecx
push ebx
push ebx
call eax
add esp, 0xc
mov byte [ebp - 0x221], 1
cmp al, bl
jne 0x4163b9
mov byte [ebp - 0x221], bl
mov dword [ebp - 4], ebx
test byte [ebp - 0x22c], 1
je 0x4163d3
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
call fcn.00406004
cmp byte [ebp - 0x221], bl
je 0x4163e7
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0x6c]
cmp eax, ebx
je 0x4163e7
call eax
call fcn.004330c9
ret
Function at 0x416feb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x45a258]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 4
pop eax
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x424]
push eax
push str.DrvTipCount
push str.SOFTWARE360Safe
xor esi, esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x41c], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4170c9
inc eax
cmp dword [ebp - 0x41c], eax
je 0x41705a
cmp dword [ebp - 0x41c], 2
jne 0x4170c9
push str.AppRun_DrvTip
call fcn.0040e67d
pop ecx
test eax, eax
je 0x4170c9
xor eax, eax
push 0x40e
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push esi
push eax
call fcn.0042dec0
add esp, 0xc
mov eax, str.UtilsDrvTip360DrvTip.exe
lea ecx, [ebp - 0x418]
call fcn.0040d605
test eax, eax
je 0x4170bc
lea eax, [ebp - 0x418]
push eax
call fcn.0040d846
pop ecx
test al, al
je 0x4170bc
push esi
push esi
lea ecx, [ebp - 0x418]
call fcn.0040d71f
pop ecx
jmp 0x4170c8
push str.Utils360DrvTip.exe
xor esi, esi
call fcn.0040e111
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042deb1
leave
ret

Function at 0x4172a7
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x1b0]
sub esp, 0x230
mov eax, dword [0x45a258]
xor eax, ebp
mov dword [ebp + 0x1ac], eax
push esi
mov esi, ecx
mov eax, str.ipc360ipc.dat
lea ecx, [ebp - 0x5c]
call fcn.0040d605
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4173af
push ebx
push 0x24
xor ebx, ebx
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.0042dec0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push ebx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
cmp dword [esi + 0x514], eax
jne 0x41731f
cmp dword [esi + 0x510], ecx
je 0x4173ac
mov dword [esi + 0x510], ecx
mov dword [esi + 0x514], eax
mov dword [edi], ebx
mov eax, dword [0x45f57c]
cmp eax, ebx
je 0x4173ac
mov ecx, dword [eax]
xor ebx, ebx
inc ebx
push ebx
push 0x450a44
mov esi, str.traystub
push esi
push eax
call dword [ecx + 0xe4]
test eax, eax
je 0x417354
or dword [edi], ebx
mov eax, dword [0x45f57c]
mov ecx, dword [eax]
push ebx
push 0x450a60
push esi
push eax
call dword [ecx + 0xe4]
test eax, eax
je 0x417370
or dword [edi], 2
mov eax, dword [0x45f57c]
mov ecx, dword [eax]
push ebx
push 0x450a68
push esi
push eax
call dword [ecx + 0xe4]
test eax, eax
je 0x41738c
or dword [edi], 4
mov eax, dword [0x45f57c]
mov ecx, dword [eax]
push ebx
push 0x450a70
push esi
push eax
call dword [ecx + 0xe4]
test eax, eax
je 0x4173a8
or dword [edi], 8
mov eax, ebx
jmp 0x4173ae
xor eax, eax
pop ebx
mov ecx, dword [ebp + 0x1ac]
xor ecx, ebp
pop esi
call fcn.0042deb1
add ebp, 0x1b0
leave
ret
Function at 0x41756f
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x45a258]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 6
pop ecx
mov dword [ebp - 0x21c], eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x23c], ebx
lea edi, [ebp - 0x238]
push 0x1c
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x23c]
push ebx
push eax
mov dword [ebp - 0x218], ebx
call fcn.0042dec0
add esp, 0xc
push 1
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
cmp edi, ebx
je 0x417701
push 4
push str.wscsvc
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
cmp esi, ebx
jne 0x4175ef
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x417701
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x220], eax
call esi
push edi
call esi
cmp dword [ebp - 0x220], ebx
je 0x417701
cmp dword [ebp - 0x238], 4
jne 0x417701
mov edi, dword [ebp - 0x21c]
xor esi, esi
inc esi
push 6
add edi, 0x2c
mov dword [ebp - 0x218], esi
call fcn.0042308d
call fcn.00416c2d
test eax, eax
je 0x4176e8
cmp dword [0x460430], 6
jb 0x41767e
mov edi, str.UnregWscOld
push edi
mov eax, esi
call fcn.0041c36d
test eax, eax
je 0x41767e
push str.safemonWscControl.exe
mov esi, str._unregas
call fcn.0040e111
pop ecx
push edi
call fcn.0041c5ba
mov eax, str.deepscanqutmload.dll
lea ecx, [ebp - 0x214]
call fcn.0040d605
test eax, eax
je 0x4176c1
lea eax, [ebp - 0x214]
push eax
call fcn.004063b3
mov esi, eax
pop ecx
cmp esi, ebx
je 0x4176c1
push str.SetFixWDASList
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4176ba
push 1
call eax
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [0x46056c], ebx
je 0x4176e0
call fcn.0040ea09
test eax, eax
je 0x4176e0
push ebx
push str._install
call fcn.0040e62b
pop ecx
jmp 0x417700
push ebx
push str._regas:1_1
jmp 0x4176d8
cmp dword [0x460430], 6
jb 0x417701
push str.safemonWscControl.exe
mov esi, str._regas:1_1
call fcn.0040e111
pop ecx
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x218]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042deb1
leave
ret 4
Function at 0x41786d
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x45a258]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x4480fe
call fcn.00432fce
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push str.DisableAutorun
push str.SOFTWARE360Safe_safemon
mov esi, reloc.OLEAUT32.dll_SysReAllocString
xor ebx, ebx
push esi
mov dword [ebp - 0x18], ebx
call edi
test eax, eax
je 0x4178ca
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x10], ebx
mov ebx, str.360Safetray
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun360Disabled
push esi
mov dword [ebp - 0x14], 0x208
mov dword [ebp - 0x1c], 1
call edi
test eax, eax
jne 0x417900
mov dword [ebp - 0x10], 1
xor edi, edi
cmp dword [ebp - 0x18], edi
jne 0x41796a
cmp dword [ebp - 0x10], edi
jne 0x41796a
mov eax, str.safemon360Tray.exe
lea ecx, [ebp]
call fcn.0040d605
test eax, eax
je 0x41796a
mov eax, dword [0x45dc04]
mov ecx, 0x45dc04
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp]
push eax
push str.__s___start
lea eax, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.0040816c
mov edi, dword [ebp - 0x10]
mov eax, dword [edi - 0xc]
pop ecx
pop ecx
add eax, eax
push eax
push edi
push 1
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [edi - 0x10]
call fcn.00406004
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0042deb1
add ebp, 0x20c
leave
ret
Function at 0x4179e9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x45a258]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [0x461a28], 1
push ebx
push esi
jne 0x417a19
or dword [0x461a28], 1
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
mov dword [0x461a24], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x68]
mov edx, dword [0x461a24]
add edx, ecx
cmp edx, eax
jb 0x417a36
cmp eax, ecx
ja 0x417b6d
xor ebx, ebx
push ebx
push ebx
push ebx
push dword [edi + 4]
mov dword [edi + 0x68], eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, 0x460d40
cmp dword [0x460f48], ebx
jne 0x417a90
xor eax, eax
inc eax
mov dword [0x460f48], eax
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x218]
push eax
push esi
lea eax, [ebp - 0x214]
push eax
push str.DefaultTrayStart
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x218], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0x44d7e0
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x417ac6
push str.360safe.exe
mov esi, str._srctrayclick
call fcn.0040e111
lea ebx, [edi + 0x944]
mov dword [esp], str.opensafe
call fcn.0041c638
jmp 0x417b5a
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.0042dec0
add esp, 0xc
mov eax, esi
lea ecx, [ebp - 0x210]
call fcn.0040d605
test eax, eax
je 0x417b3a
lea eax, [ebp - 0x210]
push eax
call fcn.0040d846
pop ecx
test al, al
je 0x417b3a
mov esi, 0x45fa00
push esi
call fcn.0042e151
pop ecx
push eax
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x417b3a
push ebx
push str._srctrayclick
lea ecx, [ebp - 0x210]
call fcn.0040d71f
pop ecx
pop ecx
jmp 0x417b5c
push str.opensafe
lea ebx, [edi + 0x944]
call fcn.0041c638
push str.360safe.exe
mov esi, str._srctrayclick
call fcn.0040e111
pop ecx
xor ebx, ebx
cmp byte [edi + 0x60], bl
jne 0x417b6d
push ebx
push ebx
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042deb1
leave
ret
Function at 0x4191c7
Capabilities:
Check if file exists

Disassembly:
push 4
mov eax, 0x448074
call fcn.00432fce
push dword [ebp + 8]
xor esi, esi
call fcn.0042e151
pop ecx
test eax, eax
je 0x419241
push 0x460220
lea eax, [ebp - 0x10]
push eax
call fcn.0040291c
and dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], esi
je 0x419239
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00402ae3
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419236
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [ebp - 0x10]
push 0x10
push 0xc
call esi
push eax
push 0xb
call esi
push eax
push 1
push edi
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00406004
mov eax, esi
call fcn.004330a6
ret 4
Function at 0x41a042
Capabilities:
Accept command line arguments

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x45a258]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x44975f
call fcn.00432fce
mov esi, ecx
lea ecx, [esi + 0x24]
mov eax, dword [ecx]
push str.TrayNeedReboot
mov dword [ebp - 0x1c], esi
call dword [eax + 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040291c
push str.TRUE
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0040aa43
test eax, eax
jne 0x41a1b7
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp eax, ebx
je 0x41a1b7
xor ecx, ecx
cmp dword [ebp + 0x214], 0x11223344
mov word [ebp], cx
jne 0x41a118
mov eax, dword [0x45dc04]
mov ecx, 0x45dc04
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x104
lea eax, [ebp]
push eax
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.__spreboot:_d
lea eax, [ebp - 0x10]
call fcn.0040816c
mov edi, dword [ebp - 0x10]
push ebx
push edi
lea ecx, [ebp]
call fcn.0040d71f
add esp, 0x10
lea eax, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.00406004
jmp 0x41a1b1
push str._spreboot
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x41a1b7
mov eax, dword [0x45dc04]
mov edi, 0x45dc04
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0041a1e9
mov eax, dword [0x45dc04]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, dword [ebp - 0x10]
push eax
push edi
push str._s__spreboot:_d
lea eax, [ebp - 0x18]
call fcn.0040816c
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [ebp - 0x18]
push ebx
push esi
lea ecx, [ebp]
call fcn.0040d71f
pop ecx
pop ecx
lea eax, [esi - 0x10]
call fcn.00406004
lea eax, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.00406004
mov esi, dword [ebp - 0x1c]
push ebx
call fcn.0041816c
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00406004
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0042deb1
add ebp, 0x20c
leave
ret 4
Function at 0x41a251
Capabilities:
Accept command line arguments

Disassembly:
push 8
mov eax, 0x4481c0
call fcn.00432fce
mov eax, dword [0x45dc04]
mov ecx, 0x45dc04
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
call fcn.00403bd7
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
je 0x41a2e2
xor esi, esi
inc esi
cmp dword [ebp - 0x14], esi
jle 0x41a2e2
push str._start
push dword [ebx + esi*4]
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41a2dc
push 0x450fc8
push dword [ebx + esi*4]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x41a2dc
cmp dword [edi - 0xc], eax
je 0x41a2cd
lea eax, [ebp - 0x10]
push eax
call fcn.0041a725
push dword [ebx + esi*4]
lea eax, [ebp - 0x10]
push eax
call fcn.00402ae3
mov edi, dword [ebp - 0x10]
inc esi
cmp esi, dword [ebp - 0x14]
jl 0x41a29b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov eax, dword [ebp + 8]
push edi
push str._s__spreboot:_d
call fcn.0040816c
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [edi - 0x10]
call fcn.00406004
call fcn.004330a6
ret 4

Function at 0x41a39a
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x45a258]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [0x460590], 4
jne 0x41a425
push esi
xor eax, eax
push 0x4e
mov word [ebp - 0x54], ax
xor esi, esi
lea eax, [ebp - 0x52]
push esi
push eax
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x5c], 0x50
call fcn.0042dec0
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
push str.LastPopwndMD5
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [0x45eac4], esi
jne 0x41a406
cmp eax, esi
jne 0x41a424
lea eax, [ebp - 0x60]
push eax
push esi
push esi
push 0x41a431
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
je 0x41a424
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042deb1
leave
ret
Function at 0x41b206
Capabilities:
Query or enumerate registry value
Read .ini file
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3a4]
sub esp, 0x424
mov eax, dword [0x45a258]
xor eax, ebp
mov dword [ebp + 0x3a0], eax
mov eax, dword [ebp + 0x3ac]
push ebx
push esi
push edi
mov dword [ebp - 0x80], eax
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x198], ax
xor esi, esi
lea eax, [ebp + 0x19a]
inc esi
push eax
mov dword [ebp - 0x74], esi
call fcn.0042dec0
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x198]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x451194
mov dword [ebp - 0x78], esi
mov edi, str.SOFTWARE360SafeCoop
push edi
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
mov dword [ebp - 0x7c], 0x208
call ebx
push 4
pop eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
push str.userid
push str.Software360Safe
push SysReAllocString
call ebx
xor ebx, ebx
cmp word [ebp + 0x198], bx
jne 0x41b3d3
xor eax, eax
push 0x206
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push ebx
push eax
call fcn.0042dec0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x70]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...360oemoeminfo.ini
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x208
lea eax, [ebp + 0x198]
push ebx
push eax
call fcn.0042dec0
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
push 0x103
lea eax, [ebp + 0x198]
push eax
push ebx
push 0x451238
mov ebx, str.main
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x41b349
cmp word [ebp + 0x198], 0
je 0x41b353
lea eax, [ebp - 0x70]
push eax
push 1
push 0x45124c
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x74], eax
cmp word [ebp + 0x198], 0
jne 0x41b36e
mov eax, 0x104
push eax
push str.h_home
push eax
lea eax, [ebp + 0x198]
push eax
call fcn.0042e607
add esp, 0x10
lea eax, [ebp + 0x198]
push eax
call fcn.0042e151
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ecx
add eax, eax
push eax
lea eax, [ebp + 0x198]
push eax
push 1
push 0x451194
push edi
push esi
call ebx
lea eax, [ebp + 0x198]
push eax
call fcn.0042e151
pop ecx
add eax, eax
push eax
lea eax, [ebp + 0x198]
push eax
push 1
push str.PrePartner
push edi
push esi
call ebx
push 4
lea eax, [ebp - 0x74]
push eax
push 4
push str.userid
push str.Software360Safe
push SysReAllocString
call ebx
xor ebx, ebx
cmp dword [ebp - 0x74], ebx
jne 0x41b3df
mov dword [ebp - 0x74], 1
mov esi, dword [ebp - 0x80]
lea eax, [ebp + 0x198]
push eax
lea eax, [esi + 8]
push eax
call fcn.00403dd2
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp + 0x3a0]
mov dword [esi + 4], eax
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.0042deb1
add ebp, 0x3a4
leave
ret 4
Function at 0x41c36d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 4
mov dword [ebp - 4], eax
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp dword [ebp - 4], eax
setne al
leave
ret 4

Function at 0x41d0cb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, 0x804
push esi
push 1
push 6
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x41d0e8
xor eax, eax
jmp 0x41d145
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41d0e4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x41d144
push edi
push 0x48
call fcn.0042e729
mov edi, eax
pop ecx
test edi, edi
je 0x41d13d
push 0x48
push 0
push edi
call fcn.0042dec0
add esp, 0xc
mov eax, ebx
mov dword [edi], 1
mov word [edi + 4], si
call fcn.0041d149
test eax, eax
jne 0x41d141
push edi
call fcn.0042e7f3
pop ecx
xor eax, eax
jmp 0x41d143
mov eax, edi
pop edi
pop ebx
pop esi
ret 4

Function at 0x420317
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x45a258]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x1c], 0
push esi
push edi
mov esi, str._fixid
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je 0x42038f
push ebx
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x18], ebx
jle 0x42038e
mov esi, ebx
push 7
lea eax, [ebp - 0x14]
push eax
push dword [edi + esi*4]
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x42037c
inc esi
cmp esi, dword [ebp - 0x18]
jl 0x420361
jmp 0x42038e
mov eax, dword [edi + esi*4]
add eax, 0xe
push eax
push dword [ebp - 0x20]
call fcn.00403dd2
mov dword [ebp - 0x1c], ebx
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
pop edi
xor ecx, ebp
pop esi
call fcn.0042deb1
leave
ret 4