joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ea31
Capabilities:
Create thread
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
sub esp, 0x120
lea ebp, [esp - 4]
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x120], eax
push 0x60
mov eax, 0x4897fb
call fcn.004677c7
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x88], edi
je 0x43ec0c
push 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push str.ksp_tip
push str.SOFTWARE360Safe
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
mov dword [ebp - 0x14], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x14], edi
jne 0x43ebbf
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push str.ksp_tip
push str.SOFTWARE360Safe
push ebx
mov dword [ebp - 0x14], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp]
call fcn.00402ffd
push str.http:__tools.soft.360.cn_jump_id48
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.004029f9
lea eax, [ebp]
push eax
mov byte [ebp - 4], 1
call fcn.004031a7
test eax, eax
je 0x43eaf2
push str.https:__tools.soft.360.cn_jump_id48
lea ecx, [ebp - 0x10]
call fcn.004025eb
push dword [ebp - 0x10]
call fcn.00452912
pop ecx
test eax, eax
je 0x43eba8
push edi
push edi
push edi
push edi
push edi
push 1
push 0x4a11e8
push str._._boldtrue_size9_colorrgb_92_92_92__font
lea ecx, [ebp - 0x6c]
call fcn.0043a2ac
push edi
push 0x14
push dword [esi + 0x114]
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0043defa
push edi
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0043e271
push edi
mov ecx, esi
cmp eax, 2
jne 0x43eb8f
push 0x16
push dword [esi + 0x114]
call fcn.0043defa
push dword [ebp - 0x10]
call fcn.00445423
pop ecx
push 2
mov ecx, esi
call fcn.0043e9dc
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.00439f8c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004023e9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.004030ca
jmp 0x43ec23
push 0x15
push dword [esi + 0x114]
call fcn.0043defa
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.00439f8c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004023e9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.004030ca
push edi
push 1
push dword [esi + 0x114]
mov ecx, esi
call fcn.0043defa
push 3
mov ecx, esi
call fcn.0043e999
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push edi
push dword [esi + 4]
call ebx
push edi
push edi
push esi
push 0x43e20e
push edi
push edi
call fcn.00468af3
add esp, 0x18
cmp eax, edi
je 0x43ec03
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43ec23
push 1
push dword [esi + 4]
call ebx
jmp 0x43ec1a
push edi
push 1
push dword [esi + 0x118]
call fcn.0043defa
push 1
mov ecx, esi
call fcn.0043dec3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x120]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x124
leave
ret
Function at 0x43edb1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1d8]
sub esp, 0x258
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x1d4], eax
and dword [ebp - 0x7c], 0
push ebx
mov ebx, dword [ebp + 0x1e0]
push esi
push edi
push 0x10
pop ecx
mov esi, str.SOFTWARE360safe_safemonUserSet
lea edi, [ebp + 0x190]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
movsw word es:[edi], word [esi]
call fcn.004670a0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x49574c
lea eax, [ebp + 0x190]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x78]
push eax
mov ecx, ebx
call fcn.004029f9
mov ecx, dword [ebp + 0x1d4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0046711a
add ebp, 0x1d8
leave
ret 4
Function at 0x441198
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x4411a5
xor eax, eax
pop esi
ret
push 1
push 1
push dword [esi + 0x10]
call fcn.004020d7
test eax, eax
je 0x4411a1
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
ret

Function at 0x441560
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.00467130
push 0xffffffffffffffff
push 0x489beb
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x80]
xor ebx, ebx
cmp ecx, ebx
je 0x4416e8
call fcn.0044c8ca
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x4416e8
push 0x4c4f30
lea ecx, [ebp - 0x10]
call fcn.00401ce4
mov ecx, dword [esi + 0x80]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], ebx
call fcn.0044d477
mov edi, 0x800
push edi
lea eax, [ebp + 0x800]
push ebx
push eax
call fcn.004670a0
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push 0x496604
push dword [ebp - 0x10]
lea eax, [ebp + 0x800]
push eax
call esi
push edi
lea eax, [ebp]
push ebx
push eax
call fcn.004670a0
add esp, 0xc
push str.360ver.dll
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call esi
push str._URL:http:__pinst.360.cn_360safe_uninst_inst.cab
lea ecx, [ebp - 0x14]
call fcn.004029f9
push str.http:__down.360safe.com_inst.exe
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004029f9
lea eax, [ebp]
push eax
mov byte [ebp - 4], 2
call fcn.00402118
cmp eax, ebx
je 0x441686
push str.IsBetaVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x441686
call eax
test eax, eax
je 0x441686
push str._URL:http:__pinst.360.cn_360safebeta_uninst_instbeta.cab
lea ecx, [ebp - 0x14]
call fcn.004025eb
push str.http:__down.360safe.com_instbeta.exe
lea ecx, [ebp - 0x18]
call fcn.004025eb
lea eax, [ebp + 0x800]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4416ac
push 1
push ebx
push ebx
push dword [ebp - 0x18]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4416c7
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push 0xffffffffffffffff
push ebx
push ebx
push 1
push 5
push dword [ebp - 0x14]
lea edx, [ebp + 0x800]
push edx
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004023e9
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004023e9
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004023e9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x1004
leave
ret

Function at 0x4417c9
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x98f5
push dword [esi + 0x74]
call dword [sym.imp.USER32.dll_PostMessageW]
push 2
mov ecx, esi
call fcn.0044170b
pop esi
ret
Function at 0x4445dc
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x489e0e
call fcn.004677c7
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], 0x80000
xor ebx, ebx
push 0x4c4f30
lea ecx, [ebp - 0x10]
call fcn.00401ce4
push dword [ebp - 0x14]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00421bb3
mov esi, eax
test esi, esi
je 0x444672
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push str.PendingFileRenameOperations
push 0x496b70
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.00420322
test edi, edi
je 0x444681
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
cmp edi, 0xea
jne 0x444678
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add eax, eax
mov dword [ebp - 0x14], eax
call fcn.004023e9
inc ebx
cmp ebx, 0xa
jl 0x4445fb
jmp 0x44469f
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004023e9
xor eax, eax
jmp 0x4446a2
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + 4]
push eax
push dword [ebp + 8]
push dword [ebp - 0x14]
push esi
call fcn.0044452d
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004023e9
xor eax, eax
inc eax
call fcn.0046789f
ret 4

Function at 0x444d67
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [eax + 4]
push ebx
mov ebx, dword [eax]
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
jle 0x444db1
push esi
inc bl
movzx ebx, bl
mov edx, dword [eax + ebx*4 + 8]
add cl, dl
movzx ecx, cl
lea esi, [eax + ecx*4 + 8]
mov dword [ebp - 4], ecx
mov ecx, dword [esi]
mov dword [eax + ebx*4 + 8], ecx
add cl, dl
mov dword [esi], edx
mov esi, dword [ebp + 8]
movzx ecx, cl
mov cl, byte [eax + ecx*4 + 8]
add esi, edi
xor byte [esi], cl
mov ecx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp + 0xc]
jl 0x444d7a
pop esi
pop edi
mov dword [eax], ebx
mov dword [eax + 4], ecx
pop ebx
leave
ret 8
Function at 0x4454ce
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.00467130
push 0xffffffffffffffff
push 0x489ee2
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, 0x4c37f8
mov ecx, esi
call fcn.00428c4d
mov ebx, eax
test ebx, ebx
je 0x4455e0
push 0x4c4f30
lea ecx, [ebp - 0x10]
call fcn.00401ce4
and dword [ebp - 4], 0
mov ecx, esi
call fcn.00428c26
test eax, eax
je 0x4455d5
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.0044d477
mov edi, 0x800
push edi
lea eax, [ebp + 0x800]
push 0
push eax
call fcn.004670a0
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push str.360DiagnoseScan.exe
push dword [ebp - 0x10]
lea eax, [ebp + 0x800]
push eax
call esi
lea eax, [ebp + 0x800]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4455a0
push 0xffffffffffffffff
push 0
push 0
push 1
push 5
push str._locateproblem11001
lea ecx, [ebp + 0x800]
jmp 0x4455ce
push edi
xor edi, edi
lea eax, [ebp]
push edi
push eax
call fcn.004670a0
add esp, 0xc
push str.360safe.exe
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call esi
push 0xffffffffffffffff
push edi
push edi
push 1
push 5
push str._Funname360JiShi
lea ecx, [ebp]
mov eax, dword [ebx]
push ecx
push ebx
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004023e9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x1004
leave
ret
Function at 0x445603
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x844
lea ebp, [esp - 4]
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x844], eax
push 8
mov eax, 0x489f12
call fcn.004677c7
mov esi, 0x4c37f8
mov ecx, esi
call fcn.00428c4d
xor edi, edi
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x445712
push 0x4c4f30
lea ecx, [ebp - 0x10]
call fcn.00401ce4
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00428c26
mov ebx, eax
cmp ebx, edi
je 0x445707
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.0044d477
push 0x800
lea eax, [ebp]
push edi
push eax
call fcn.004670a0
add esp, 0xc
push str.safemon360realpro.exe
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4456ba
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push 0xffffffffffffffff
push edi
push edi
push 1
push 5
push str._s:6
lea edx, [ebp]
push edx
push eax
call dword [ecx + 0x24]
jmp 0x445707
push 0x496e30
xor esi, esi
lea eax, [ebp + 0x804]
push 0x20
inc esi
push eax
mov dword [ebp + 0x800], esi
call fcn.0046976d
add esp, 0xc
push edi
push edi
push edi
push 0x40
lea eax, [ebp + 0x800]
push eax
push esi
push 0x4954a0
push 0x496e04
push edi
mov ecx, ebx
call fcn.0044cfa4
cmp eax, esi
jne 0x445707
push 0x4a09f0
call fcn.00445423
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004023e9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x844]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x848
leave
ret
Function at 0x445735
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x844
lea ebp, [esp - 4]
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x844], eax
push 8
mov eax, 0x489f12
call fcn.004677c7
mov esi, 0x4c37f8
mov ecx, esi
call fcn.00428c4d
xor edi, edi
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x445844
push 0x4c4f30
lea ecx, [ebp - 0x10]
call fcn.00401ce4
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00428c26
mov ebx, eax
cmp ebx, edi
je 0x445839
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.0044d477
push 0x800
lea eax, [ebp]
push edi
push eax
call fcn.004670a0
add esp, 0xc
push str.Utils360Feedback.exe
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4457ec
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push 0xffffffffffffffff
push edi
push edi
push 1
push 5
push str._catlogOther__desc
lea edx, [ebp]
push edx
push eax
call dword [ecx + 0x24]
jmp 0x445839
push 0x496e30
xor esi, esi
lea eax, [ebp + 0x804]
push 0x20
inc esi
push eax
mov dword [ebp + 0x800], esi
call fcn.0046976d
add esp, 0xc
push edi
push edi
push edi
push 0x40
lea eax, [ebp + 0x800]
push eax
push esi
push 0x4954a0
push 0x496e04
push edi
mov ecx, ebx
call fcn.0044cfa4
cmp eax, esi
jne 0x445839
push 0x4a09f0
call fcn.00445423
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004023e9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x844]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x848
leave
ret
Function at 0x4458e3
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0x5c
mov eax, 0x489f4a
call fcn.004677c7
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.004670a0
xor eax, eax
mov dword [ebp - 0x24], ebx
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
push 5
stosd dword es:[edi], eax
pop eax
mov edi, 0x4c4f30
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x68], 0x44
mov word [ebp - 0x38], ax
call fcn.00401ce4
mov eax, dword [0x4c4f30]
push 2
mov esi, 0x104
push esi
mov ecx, edi
mov dword [ebp - 4], ebx
call dword [eax]
cmp eax, ebx
jne 0x445944
call fcn.0040246b
add eax, 0x10
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
call fcn.00402552
push esi
push 0x4a11e8
push esi
push dword [ebp - 0x10]
call fcn.00402610
add esp, 0x10
mov ecx, 0x4c37f8
mov byte [ebp - 4], 1
call fcn.00428c26
cmp eax, ebx
je 0x445a24
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.0044d477
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.sweeper360MainPageRepair.exe
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x10]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
je 0x4459bc
push dword [ebp - 0x10]
call fcn.0040d9f2
pop ecx
test eax, eax
je 0x4459bc
push dword [ebp - 0x10]
push str.__s___auto
jmp 0x4459e4
push str.....UtilsModuleUpdate.exe
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x4459f0
push dword [ebp - 0x10]
call fcn.0040d9f2
pop ecx
test eax, eax
je 0x4459f0
push dword [ebp - 0x10]
push str.__s___updateidMainPageRepair__SECTIONIDMainPageRepair__NAME
lea eax, [ebp - 0x14]
push eax
call fcn.00404c90
add esp, 0xc
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], ebx
je 0x445a27
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x445a27
push dword [ebp - 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x24]
call edi
jmp 0x445a27
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004023e9
lea ecx, [esi - 0x10]
call fcn.004023e9
call fcn.0046789f
ret

Function at 0x445c00
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
xor eax, eax
push esi
mov esi, 0x4c28c0
cmp ax, word [0x4c28c0]
jne 0x445c58
push 1
push 0x23
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x445c35
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 7
push str.360SD_
push esi
call fcn.004686e1
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x445c58
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp + 8]
push esi
call fcn.004029f9
mov eax, dword [ebp + 8]
pop esi
leave
ret
Function at 0x445c67
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
push edi
mov edi, dword [ebp + 0x1a0]
xor esi, esi
xor eax, eax
mov dword [ebp - 0x80], esi
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push esi
push eax
call fcn.004670a0
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push 0x20019
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360sd.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x7c], 0x208
mov dword [ebp - 0x78], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x445d1c
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push 0x4970c4
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x74]
push eax
call fcn.004673c7
pop ecx
mov dword [ebp - 0x7c], eax
cmp eax, 3
jbe 0x445d1c
push 0x5c
lea eax, [ebp + eax*2 - 0x74]
pop ecx
cmp cx, word [eax - 2]
je 0x445d1c
mov word [eax], cx
lea eax, [ebp - 0x74]
push eax
mov ecx, edi
call fcn.004029f9
mov ecx, dword [ebp + 0x194]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0046711a
add ebp, 0x198
leave
ret

Function at 0x445d40
Capabilities:
Delete file

Disassembly:
push 8
mov eax, 0x48be67
call fcn.004677c7
lea eax, [ebp - 0x14]
push eax
call fcn.00445c67
and dword [ebp - 4], 0
mov dword [esp], str.testwrite.ini
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040d822
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004023e9
push dword [ebp - 0x10]
mov eax, str.test
push 0x491d28
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [ebp - 0x10]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004023e9
mov eax, esi
call fcn.0046789f
ret
Function at 0x44776e
Capabilities:
Check if file exists

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
xor edi, edi
push edi
push edi
push 3
push edi
xor ebp, ebp
inc ebp
push ebp
push edi
push str..BAPI
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
jne 0x4477ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 2
setne cl
mov dword [esp + 0x10], ecx
jmp 0x4477b2
push eax
mov dword [esp + 0x14], ebp
call ebx
push edi
push edi
push 3
push edi
push ebp
push edi
push 0x4a09c4
call esi
cmp eax, 0xffffffff
jne 0x4477d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4477dd
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push eax
call ebx
jmp 0x4477d0
cmp dword [esp + 0x10], edi
jne 0x4477d0
xor eax, eax
jmp 0x4477d2

Function at 0x4477e7
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push 0x118
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.004670a0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 5
jbe 0x447831
xor eax, eax
inc eax
jmp 0x44783b
jne 0x447839
cmp dword [ebp - 0x78], 0
ja 0x44782c
xor eax, eax
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
call fcn.0046711a
add ebp, 0xa0
leave
ret

Function at 0x44790d
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
and dword [esi], 0
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x44793c
xor eax, eax
jmp 0x447994
lea eax, [ebp - 0x230]
push eax
push edi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x447960
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x447938
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x228]
je 0x44797e
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x447960
jmp 0x447986
mov eax, dword [ebp - 0x218]
mov dword [esi], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [esi], eax
setne al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046711a
leave
ret
Function at 0x447cc6
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
je 0x447d41
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004670a0
mov eax, dword [esi]
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x804]
push ecx
push esi
call dword [eax + 0x24]
cmp word [ebp - 0x804], 0
je 0x447d41
and dword [0x4c2808], 0
lea eax, [ebp - 0x804]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x4c2808], eax
test eax, eax
je 0x447d41
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x447d41
xor eax, eax
jmp 0x447d44
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046711a
leave
ret

Function at 0x44815c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 4]
call fcn.004029f9
xor esi, esi
push esi
push 0x491234
lea ecx, [ebp - 4]
call fcn.0042dd81
test eax, eax
jl 0x448185
inc esi
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004023e9
mov eax, esi
pop esi
leave
ret