joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45fc70
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x401c
call fcn.004beaf0
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
push 0x4000
lea eax, [ebp - 0x400c]
mov edi, edx
push 0
push eax
mov esi, ecx
call fcn.004c05c0
add esp, 0xc
lea eax, [ebp - 0x4010]
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
je 0x45fd48
cmp eax, 0x3fff
ja 0x45fd48
lea ecx, [ebp - 0x400c]
push ecx
push eax
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x45fd48
lea eax, [ebp - 0x4014]
push eax
lea eax, [ebp - 0x4018]
push eax
push 0x5010bc
lea eax, [ebp - 0x400c]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x45fd48
mov ecx, dword [ebp - 0x4018]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push 0x50113c
push 0x103
push edi
call fcn.0041fa80
add esp, 0x1c
xor eax, eax
mov word [edi + 0x204], ax
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret

Function at 0x45fd60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea ecx, [ebp - 0x228]
call fcn.004176c0
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
push 0x52
push str.CheckSafeDesktopRestSupported
push str.__s__d___HealthMgr::CheckSafeDesktopRestSupported_strPath___s
call fcn.0041f720
add esp, 0x10
lea eax, [ebp - 0x228]
cmp dword [ebp - 0x214], 8
cmovae eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45fe34
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004c05c0
cmp dword [ebp - 0x214], 8
lea ecx, [ebp - 0x228]
lea edx, [ebp - 0x210]
cmovae ecx, dword [ebp - 0x228]
add esp, 8
call fcn.0045fc70
add esp, 4
lea ecx, [ebp - 0x210]
mov edx, str.12.0.1000.0
call fcn.00410930
test eax, eax
js 0x45fe34
call fcn.00417c60
test eax, eax
jne 0x45fe34
push 0x58
push str.CheckSafeDesktopRestSupported
push str.__s__d___HealthMgr::CheckSafeDesktopRestSupported_return_true
call fcn.0041f720
add esp, 0xc
mov bl, 1
jmp 0x45fe4a
push 0x5c
push str.CheckSafeDesktopRestSupported
push str.__s__d___HealthMgr::CheckSafeDesktopRestSupported_return_false
call fcn.0041f720
add esp, 0xc
xor bl, bl
mov edx, dword [ebp - 0x214]
cmp edx, 8
jb 0x45fe86
mov ecx, dword [ebp - 0x228]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45fe7c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45fe97
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
call fcn.004c8da3
int3
Function at 0x45feb0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0xc]
push edi
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
push 0x50c948
push str.Software360360huabaocoreusers
push SysReAllocString
mov dword [ebp - 0xc], 4
call esi
cmp byte [0x55930c], 0
jne 0x45ff3e
mov byte [0x55930c], 1
call fcn.0045fd60
test al, al
je 0x45ff3e
cmp dword [ebp - 0x10], 1
je 0x45ff3e
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 4
push str.360safe
push str.Software360360huabaocoreusers
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.0045fd60
test al, al
je 0x46007b
cmp dword [ebp - 0x10], 1
je 0x46007b
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
xor ebx, ebx
push eax
push str.install_model
push str.Software360360huabao
push SysReAllocString
mov dword [ebp - 0x14], ebx
call esi
cmp dword [ebp - 0x14], 2
jne 0x460068
xor eax, eax
mov dword [ebp - 0x20], ebx
push eax
push 0x5010a0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.00403e30
lea eax, [ebp - 0x30]
mov edx, str.Software360360huabao
push eax
push 0x505cf4
mov ecx, SysReAllocString
call fcn.0040ffe0
mov edi, dword [ebp - 0x30]
add esp, 8
test eax, eax
je 0x460035
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 8], 4
push eax
push str.360safe
push str.Software360360huabaocoreusers
push SysReAllocString
call esi
cmp dword [ebp - 0x1c], 8
lea esi, [ebp - 0x30]
cmovae esi, edi
cmp dword [ebp - 0x20], 7
jne 0x46002a
mov ecx, str.360safe
lea edx, [ebx + 7]
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x46002a
add ecx, 2
sub edx, 1
jne 0x460017
jmp 0x460030
cmp dword [ebp - 0xc], 1
jne 0x460035
mov ebx, 1
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x460068
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x46005e
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46008e
push ecx
push edi
call fcn.004bdd39
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
call fcn.004c8da3
int3
Function at 0x4600a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea ecx, [ebp - 0x228]
call fcn.004176c0
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
push 0x81
push str.CheckSafeDesktopRestSupportedNew
push str.__s__d___setup::CheckSafeDesktopRestSupportedNew_strPath___s
call fcn.0041f720
add esp, 0x10
lea eax, [ebp - 0x228]
cmp dword [ebp - 0x214], 8
cmovae eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4601b1
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004c05c0
cmp dword [ebp - 0x214], 8
lea ecx, [ebp - 0x228]
lea edx, [ebp - 0x210]
cmovae ecx, dword [ebp - 0x228]
add esp, 8
call fcn.0045fc70
add esp, 4
lea ecx, [ebp - 0x210]
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push ecx
push eax
push 0x86
push str.CheckSafeDesktopRestSupportedNew
push str.__s__d___setup::CheckSafeDesktopRestSupportedNew_strPath_s__szVer_s
call fcn.0041f720
add esp, 0x14
lea ecx, [ebp - 0x210]
mov edx, str.13.0.1001.0
call fcn.00410930
test eax, eax
js 0x4601b1
call fcn.00417c60
test eax, eax
jne 0x4601b1
push 0x88
push str.CheckSafeDesktopRestSupportedNew
push str.__s__d___setup::CheckSafeDesktopRestSupportedNew_return_true
call fcn.0041f720
add esp, 0xc
mov bl, 1
jmp 0x4601ca
push 0x8c
push str.CheckSafeDesktopRestSupportedNew
push str.__s__d___setup::CheckSafeDesktopRestSupportedNew_return_false
call fcn.0041f720
add esp, 0xc
xor bl, bl
mov edx, dword [ebp - 0x214]
cmp edx, 8
jb 0x460206
mov ecx, dword [ebp - 0x228]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4601fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460217
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
call fcn.004c8da3
int3
Function at 0x460220
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x55930d], 0
push esi
push edi
jne 0x46026f
mov byte [0x55930d], 1
call fcn.004600a0
test al, al
je 0x46026f
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push eax
push 4
push 0x50c948
push str.Software360360huabaocoreusers
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
xor esi, esi
call fcn.004600a0
test al, al
jne 0x4602a3
push 0x9b
push str.IsWeishiCoreModel
push str.__s__d___IsHb360SafeSeCoreModel_CheckSafeDesktopRestSupportedNew_return_false
call fcn.0041f720
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 4
push eax
push str.install_model
push str.Software360360huabao
push SysReAllocString
mov dword [ebp - 0x1c], 4
call edi
cmp dword [ebp - 0x14], 2
jne 0x460316
lea eax, [ebp - 0xc]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 4
push eax
push 0x50c948
push str.Software360360huabaocoreusers
push SysReAllocString
call edi
mov eax, 1
cmp dword [ebp - 8], eax
cmove esi, eax
test esi, esi
je 0x460291
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 4
push eax
push str.enable
push str.Software360360huabaohuabao
push SysReAllocString
call edi
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
dec eax
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
add eax, 2
pop esi
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
Function at 0x460370
Capabilities:
Check if file exists
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
call fcn.0045feb0
test eax, eax
je 0x460508
lea eax, [ebp - 0x218]
mov dword [ebp - 0x214], edi
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x21c], 4
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x218], 4
push eax
push str.Disable
push str.Software360SoftMgrdesktoprestConfig
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x214], 1
jne 0x4603f3
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x210]
mov edi, 1
push 0
push eax
call fcn.004c05c0
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.0040eb10
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmovae eax, dword [ebp - 0x234]
push eax
lea eax, [ebp - 0x210]
push eax
call esi
push str.360DesktopLiteDTFenceConfig.ini
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4604a2
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x460503
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460496
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46051a
push edx
push ecx
call fcn.004bdd39
add esp, 8
jmp 0x460503
lea eax, [ebp - 0x210]
push eax
push 0
push str.EyeRest
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 0x220]
mov esi, eax
neg esi
sbb esi, esi
neg esi
cmp edx, 8
jb 0x4604ff
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4604f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46051a
push edx
push ecx
call fcn.004bdd39
add esp, 8
test esi, esi
je 0x460508
mov edi, 2
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
call fcn.004c8da3
int3
Function at 0x460520
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call fcn.00411740
test eax, eax
jne 0x46055f
push 0x3a
push str.IsPicUseHbCoreMode
push str.__s__d___IsPicUseHbCoreMode_Is360SeInstalled:_FALSE
call fcn.0041f720
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 4
push eax
push str.360pic
push str.Software360360huabaocoreusers
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 8], 1
jne 0x46054e
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 4
push eax
push str.enable
push str.Software360360se6chromehuabao
push SysReAllocString
mov esi, 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 8], esi
mov eax, 2
mov ecx, dword [ebp - 4]
cmove esi, eax
xor ecx, ebp
mov eax, esi
pop esi
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret

Function at 0x460600
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 4
push eax
push str.picunist
push str.Software360360huabaocoreusers
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 8], 1
sete al
xor ecx, ebp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret

Function at 0x460660
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
xor eax, eax
push esi
push 0x508bc0
mov edx, str.Software360360huabao
mov ecx, SysReAllocString
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.0040ffe0
add esp, 8
mov dword [ebp - 8], 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push str.install_model
push str.Software360360huabao
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push str.360hb_core
mov ecx, esi
call fcn.00405760
test al, al
je 0x460720
cmp dword [ebp - 8], 2
je 0x460720
push 0xd
push str.360hb_restore
mov ecx, esi
call fcn.00403e30
cmp dword [esi + 0x14], 8
mov eax, esi
mov ecx, dword [esi + 0x10]
jb 0x460705
mov eax, dword [esi]
add ecx, ecx
push ecx
push eax
push 1
push 0x508bc0
push str.Software360360huabao
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
Function at 0x460740
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20a
lea eax, [ebp - 0x218]
mov esi, ecx
push 0
push eax
call fcn.004c05c0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x50f724
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004d03e0
add esp, 0xc
mov dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
lea ecx, [ebp - 0x218]
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4607c0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00403e30
sub esp, 0x1c
xor eax, eax
mov ecx, esp
push 5
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str._desk
mov word [ecx], ax
call fcn.00403e30
lea edx, [ebp - 0x230]
mov ecx, esi
call fcn.00460870
mov edx, dword [ebp - 0x21c]
add esp, 0x1c
cmp edx, 8
jb 0x460852
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460848
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460861
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
call fcn.004c8da3
int3
Function at 0x460870
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov edi, edx
mov esi, ecx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 8]
push eax
push 0x4e7870
push 1
push 0
push 0x4e78f0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x460933
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x4608b8
mov edx, dword [esi]
mov eax, dword [ebp - 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 8]
lea edx, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae edx, dword [ebp + 8]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x2c]
cmp dword [esi + 0x14], 8
jb 0x4608df
mov esi, dword [esi]
mov eax, dword [ebp - 8]
push 0
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0xc]
push edx
push 0x4e7910
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x460933
cmp dword [edi + 0x14], 8
jb 0x460908
mov edi, dword [edi]
mov eax, dword [ebp - 0xc]
push 2
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, 1
jmp 0x46093b
call dword [sym.imp.ole32.dll_CoUninitialize]
xor esi, esi
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x460971
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460967
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460983
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
call fcn.004c8da3
int3

Function at 0x460990
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004c05c0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.360
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004d03e0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x460a19
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [ebp - 0x210]
push eax
push 0x3005
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
Function at 0x462730
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x46273b
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x4627f7
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5038d0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5038d0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5038d0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5038d0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5038d0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5038d0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5038d0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5038d0]
sub edi, 1
jne 0x462750
pop edi
test esi, esi
je 0x46281a
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5038d0]
sub esi, 1
jne 0x462800
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x462830
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov esi, dword [edi]
xor eax, esi
mov ecx, dword [edi + 8]
movzx eax, al
shr esi, 8
mov eax, dword [eax*4 + 0x5038d0]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5038d0]
mov dword [edi + 8], ecx
pop edi
pop esi
ret

Function at 0x462fe0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edx
mov ebx, esi
mov dword [ebp - 0xc], esi
imul ebx, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 8], eax
cmp byte [edi], 0
je 0x46303c
push 0
lea ecx, [ebp - 8]
push ecx
push ebx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x463024
mov byte [edi + 8], 1
mov eax, dword [ebp - 8]
xor edx, edx
pop edi
div esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x1c]
mov esi, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
sub esi, edx
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x18]
cmovbe esi, ebx
add ecx, edx
push esi
push ecx
push dword [ebp - 8]
call fcn.004c0b40
add dword [edi + 0x1c], esi
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, esi
xor edx, edx
xor ecx, ebp
div dword [ebp - 0xc]
pop edi
pop esi
pop ebx
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
Function at 0x463080
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [ebp - 0xc], ebx
mov edi, 1
cmp byte [esi], 0
je 0x4630c5
push 0
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 5]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4630c0
mov byte [esi + 8], 1
mov edi, dword [ebp - 0xc]
jmp 0x4630f2
mov ebx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x4630d6
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x14]
add eax, ebx
push edi
push eax
lea eax, [ebp - 5]
push eax
call fcn.004c0b40
lea eax, [ebx + edi]
add esp, 0xc
mov ebx, dword [ebp - 0xc]
mov dword [esi + 0x1c], eax
cmp edi, 1
jne 0x463110
movzx eax, byte [ebp - 5]
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x4630fd
cmp byte [esi + 8], 0
je 0x4630fd
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret