joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57615b
Capabilities:
Set registry value

Disassembly:
push 0x24c
mov eax, 0x58e241
call fcn.00532159
sub esp, 0x18
xor ebx, ebx
mov ecx, esp
mov dword [ebp - 0x238], esp
mov esi, ebx
push 0x5c6424
call fcn.004036e4
lea eax, [ebp - 0x230]
mov dword [ebp - 4], ebx
push eax
xor ecx, ecx
call fcn.00579897
or dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.005797a8
sub esp, 0x18
mov dword [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x238], esp
push str.birthdate
call fcn.004036e4
mov byte [ebp - 4], 2
call fcn.00577e6a
push eax
xor ecx, ecx
call fcn.00579897
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00579652
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0054b330
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x238], esp
push str.package
call fcn.004036e4
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 3
push eax
xor ecx, ecx
call fcn.00579897
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.005797a8
cmp dword [eax + 0x14], 8
jb 0x576223
mov eax, dword [eax]
push eax
push str.Software_s
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0040535a
add esp, 0x10
lea ecx, [ebp - 0x258]
push ebx
push 1
call fcn.00403a36
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x218]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
mov eax, dword [ebp - 0x220]
cmovae ecx, dword [ebp - 0x230]
add eax, eax
push eax
push ecx
push 1
push ebx
push 0x5c6fc0
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x5762f2
push dword [ebp - 0x234]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push 0x5c6fe0
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00554c4b
add esp, 0xc
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x218]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 0x234]
call esi
xor ecx, ecx
call fcn.00579897
mov ecx, eax
call fcn.00579017
mov esi, eax
xor ecx, ecx
call fcn.00579897
call fcn.0057c6a6
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x238], esp
push 0x5c62a4
call fcn.004036e4
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x23c], esp
push 0x5c5ffe
call fcn.004036e4
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
push str.PreInstallActions
call fcn.004036e4
mov dl, bl
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00572271
add esp, 0x48
lea ecx, [ebp - 0x230]
push ebx
push 1
call fcn.00403a36
mov eax, esi
call fcn.00532103
ret
Function at 0x5776c6
Capabilities:
Persist via run registry key

Disassembly:
push 0x26c
mov eax, 0x58e6f4
call fcn.00532159
mov esi, ecx
mov dword [ebp - 0x240], esi
xor ebx, ebx
lea ecx, [ebp - 0x23c]
mov dword [ebp - 4], ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x244], ebx
call fcn.004035e2
mov dword [ebp - 4], 1
lea edi, [ebp - 0x224]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
push 0x5c5ffc
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004035e2
xor edi, edi
lea eax, [ebp - 0x23c]
inc edi
lea ecx, [ebp - 0x224]
cmp dword [ebp - 0x228], 8
push 0x2001f
cmovae eax, dword [ebp - 0x23c]
push eax
push SysReAllocString
mov dword [ebp - 0x244], edi
call fcn.004031a2
test eax, eax
jne 0x57783f
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0054b330
add esp, 0xc
mov dword [ebp - 0x240], 0x104
lea eax, [ebp - 0x240]
lea ecx, [ebp - 0x224]
push eax
lea eax, [ebp - 0x218]
push eax
push str.Local_AppData
call fcn.00412c81
test eax, eax
jne 0x57783f
lea eax, [ebp - 0x218]
push eax
call fcn.004035bb
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00403542
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x240], esp
push str.package
call fcn.004036e4
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 3
push eax
xor ecx, ecx
call fcn.00579897
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.005797a8
push eax
mov edx, 0x5c6388
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x260]
call fcn.004043cc
pop ecx
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00404145
push ebx
push edi
lea ecx, [ebp - 0x260]
call fcn.00403a36
push ebx
push edi
lea ecx, [ebp - 0x278]
call fcn.00403a36
lea ecx, [ebp - 0x224]
call fcn.0040321c
push ebx
push edi
lea ecx, [ebp - 0x23c]
call fcn.00403a36
mov eax, esi
call fcn.00532103
ret
Function at 0x577903
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push 0x860
mov eax, 0x58e7a6
call fcn.00532159
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x834], esp
push str.autolaunch
call fcn.004036e4
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 4], ebx
call fcn.00579897
or dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.00579726
mov edi, eax
test edi, edi
je 0x577b66
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x834], esp
push str.package
call fcn.004036e4
xor esi, esi
lea eax, [ebp - 0x854]
inc esi
xor ecx, ecx
push eax
mov dword [ebp - 4], esi
call fcn.00579897
or dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.005797a8
push eax
mov edx, 0x5c6258
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x82c]
call fcn.004043cc
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x854]
mov byte [ebp - 4], 4
call fcn.00403a36
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.0054b330
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea ecx, [ebp - 0x830]
add esp, 0xc
mov dword [ebp - 0x814], 0x400
cmp dword [ebp - 0x818], 8
lea eax, [ebp - 0x82c]
cmovae eax, dword [ebp - 0x82c]
push ecx
push eax
push SysReAllocString
call ebx
mov esi, eax
test esi, esi
jne 0x577b03
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x810]
push eax
xor eax, eax
push eax
push eax
push str.InstallerSuccessLaunchCmdLine
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x577b03
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x830]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call ebx
mov esi, eax
test esi, esi
jne 0x577b03
push str.____location0
mov esi, 0x400
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.00554c4b
add esp, 0xc
cmp edi, 1
jne 0x577a82
push str.____no_startup_window
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.00554c4b
add esp, 0xc
lea ecx, [ebp - 0x810]
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x577a8d
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x810]
push eax
push 1
push ebx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x834], esp
push str.package
call fcn.004036e4
lea eax, [ebp - 0x86c]
mov byte [ebp - 4], 5
push eax
xor ecx, ecx
call fcn.00579897
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.005797a8
cmp dword [eax + 0x14], 8
jb 0x577ae4
mov eax, dword [eax]
push eax
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
push 1
lea ecx, [ebp - 0x86c]
mov esi, eax
call fcn.00403a36
jmp 0x577b05
xor ebx, ebx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x834], esp
push 0x5c62a4
call fcn.004036e4
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x838], esp
push 0x5c5ffe
call fcn.004036e4
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
push str.addToSystemStart
call fcn.004036e4
mov dl, bl
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.00572271
add esp, 0x48
lea ecx, [ebp - 0x82c]
push ebx
push 1
call fcn.00403a36
mov eax, esi
call fcn.00532103
ret
Function at 0x578cea
Capabilities:
Get geographical location

Disassembly:
push 0x54
mov eax, 0x58ec65
call fcn.00532159
sub esp, 0xc
mov dword [ebp - 0x38], 0x5ff750
mov ebx, 0x5ff758
mov dword [0x5ff750], 0x5c8fac
mov ecx, ebx
call fcn.004090b5
push ecx
push ecx
xor edi, edi
mov ecx, 0x5ff798
mov dword [ebp - 4], edi
call fcn.0057095c
push str.AddShortCuts
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.00413152
push str.AppInstanceUid
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.00413152
push str.Birthdate
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00413152
push str.ConfigurationFields
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.00413152
push str.CountryCode
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.00413152
push str.Distribution
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.00413152
push str.Lang
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 7
call fcn.00413152
push str.RefererId
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.00413152
push str.Refid
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
call fcn.00413152
push str.Mydistributionoption
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
call fcn.00413152
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x38]
push dword [ebp - 0x38]
mov ecx, 0x5ff7c0
mov dword [0x5ff7c0], edi
push eax
lea eax, [ebp - 0x60]
mov dword [0x5ff7c4], edi
push eax
mov dword [0x5ff7c8], edi
call fcn.0041365d
push 0x4138d0
push 0xa
mov byte [ebp - 4], 0xd
push 4
lea eax, [ebp - 0x60]
push eax
call fcn.00531679
mov esi, str._refererid_:_2276____visible_:_1___url_:_http:__www.1stbrowser.com_en_US_Corporate_installer____urldev_:_http:__www.qa.1stbrowser.com__LANG__Corporate_Installer____ConfigurationFields_:_10627___AddShortCuts_:0___AppInstanceUid_:_0____package_:_1stbrowser____CountryCode_:_ZX____CurrentLcid_:0___lang_:_en_US____mydistributionoption_:0___source_:_0__
lea ecx, [ebp - 0x34]
push esi
call fcn.004036e4
lea edx, [ebp - 0x1c]
mov byte [ebp - 4], 0xe
push edx
mov ecx, ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call fcn.00409863
push edi
push 1
lea ecx, [ebp - 0x34]
call fcn.00403ae2
mov eax, 0x5ff750
call fcn.00532103
ret
Function at 0x579017
Capabilities:
Set registry value

Disassembly:
push 0x148
mov eax, 0x58ecd6
call fcn.00532159
mov ebx, ecx
mov dword [ebp - 0x150], ebx
push str.Software_
lea ecx, [ebp - 0x148]
call fcn.004036e4
and dword [ebp - 4], 0
lea edi, [ebx + 8]
push str.package
mov ecx, edi
call fcn.004093b8
mov esi, eax
test dword [esi + 0x10], 0x400000
jne 0x57905e
mov esi, dword [esi]
push esi
call fcn.004036c7
pop ecx
push eax
push esi
lea ecx, [ebp - 0x148]
call fcn.00404f02
cmp dword [ebp - 0x134], 0x10
lea ecx, [ebp - 0x14c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 0x148]
cmovae eax, dword [ebp - 0x148]
push ecx
push eax
push SysReAllocString
call esi
test eax, eax
jne 0x5790f1
and dword [ebp - 0x118], eax
mov ebx, str.lang
push ebx
lea eax, [ebp - 0x118]
mov ecx, edi
push eax
call fcn.00413234
imul eax, dword [edi + 4], 0x30
mov ecx, dword [ebp - 0x118]
add eax, dword [edi]
cmp ecx, eax
je 0x5790f1
add ecx, 0x18
mov edx, ecx
test dword [ecx + 0x10], 0x400000
jne 0x5790d9
mov edx, dword [ecx]
call fcn.00409a57
push eax
push edx
push 1
push 0
push ebx
push dword [ebp - 0x14c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x14c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, str.InitPrefs
push ebx
call fcn.004036c7
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x148]
call fcn.00404f02
cmp dword [ebp - 0x134], 0x10
lea ecx, [ebp - 0x14c]
lea eax, [ebp - 0x148]
cmovae eax, dword [ebp - 0x148]
push ecx
push eax
push SysReAllocString
call esi
mov dword [ebp - 0x154], eax
test eax, eax
jne 0x57926d
imul ecx, dword [edi + 4], 0x30
mov esi, dword [edi]
add ecx, esi
cmp esi, ecx
je 0x57926d
lea ebx, [esi + 0x18]
test dword [ebx - 8], 0x400000
mov eax, esi
jne 0x579167
mov eax, dword [esi]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.004036e4
mov ecx, dword [ebp - 0x150]
lea eax, [ebp - 0x130]
push eax
call fcn.005788de
cmp dword [ebp - 0x120], 0
je 0x57924a
mov eax, dword [ebx + 0x10]
shr eax, 0x14
test al, 1
je 0x5791dd
test dword [ebx + 0x10], 0x400000
je 0x5791ac
mov dword [ebp - 0x118], ebx
jmp 0x5791b4
mov eax, dword [ebx]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x11c], 0x10
lea edx, [ebp - 0x130]
mov ecx, ebx
cmovae edx, dword [ebp - 0x130]
call fcn.00409a57
push eax
push dword [ebp - 0x118]
push 1
push 0
push edx
jmp 0x57923e
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0054b330
push dword [ebx]
lea eax, [ebp - 0x114]
push 0x5c8fa4
push 0x104
push eax
call fcn.004137ec
lea ecx, [ebp - 0x114]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x579214
sub ecx, edx
lea eax, [ebp - 0x130]
cmp dword [ebp - 0x11c], 0x10
push ecx
cmovae eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x114]
push ecx
push 1
push 0
push eax
push dword [ebp - 0x14c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push 1
lea ecx, [ebp - 0x130]
call fcn.00403ae2
imul eax, dword [edi + 4], 0x30
add esi, 0x30
add ebx, 0x30
add eax, dword [edi]
cmp esi, eax
jne 0x57915a
push dword [ebp - 0x14c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 1
lea ecx, [ebp - 0x148]
call fcn.00403ae2
mov eax, dword [ebp - 0x154]
call fcn.00532103
ret
Function at 0x579436
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xa4c
mov eax, 0x58ed93
call fcn.00532159
mov esi, ecx
push str.package
lea ecx, [esi + 8]
call fcn.004093b8
test dword [eax + 0x10], 0x400000
jne 0x57945f
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xa34]
call fcn.004036e4
xor ebx, ebx
lea eax, [ebp - 0x218]
push 0x208
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0054b330
cmp dword [ebp - 0xa20], 0x10
lea ecx, [ebp - 0xa34]
mov eax, dword [ebp - 0xa24]
cmovae ecx, dword [ebp - 0xa34]
add eax, ecx
cmp dword [ebp - 0xa20], 0x10
lea ecx, [ebp - 0xa34]
cmovae ecx, dword [ebp - 0xa34]
add esp, 8
push eax
push ecx
lea ecx, [ebp - 0xa58]
call fcn.00405296
cmp dword [eax + 0x14], 8
jb 0x5794ca
mov eax, dword [eax]
push eax
push str.Software_s
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0040535a
add esp, 0x10
lea ecx, [ebp - 0xa58]
push ebx
push 1
call fcn.00403a36
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0x218]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x5795aa
push 0x800
lea eax, [ebp - 0xa18]
push ebx
push eax
call fcn.0054b330
add esp, 0xc
mov dword [ebp - 0xa1c], 0x400
lea eax, [ebp - 0xa1c]
push eax
lea eax, [ebp - 0xa18]
push eax
push ebx
push ebx
push str.appinstanceuid
push dword [ebp - 0xa38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x57959e
sub esp, 0x18
lea eax, [ebp - 0xa18]
mov ecx, esp
mov dword [ebp - 0xa40], esp
push eax
call fcn.004035e2
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
push 0x5c6424
call fcn.004036e4
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.00579331
sub esp, 0x18
mov ecx, esp
push str.reinstall
call fcn.004036e4
push 1
jmp 0x5795e7
push dword [ebp - 0xa38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa3c], esp
call fcn.0057ae8c
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
push 0x5c6424
call fcn.004036e4
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.00579331
sub esp, 0x18
mov ecx, esp
push str.reinstall
call fcn.004036e4
push ebx
mov ecx, esi
call fcn.00579652
push ebx
push 1
lea ecx, [ebp - 0xa34]
call fcn.00403ae2
call fcn.00532103
ret

Function at 0x579897
Capabilities:
Accept command line arguments

Disassembly:
push 4
mov eax, 0x58eea6
call fcn.00532125
mov esi, ecx
mov eax, dword fs:[0x2c]
mov ebx, 0x5ff750
mov edx, dword [eax]
mov eax, dword [0x5ff748]
cmp eax, dword [edx + 4]
jle 0x579903
mov edi, 0x5ff748
push edi
call fcn.00531b3f
cmp dword [0x5ff748], 0xffffffff
pop ecx
jne 0x579903
and dword [ebp - 4], 0
push 0x80
push 0
push ebx
call fcn.0054b330
add esp, 0xc
call fcn.00578cea
push 0x58fe68
call fcn.005319d9
or dword [ebp - 4], 0xffffffff
pop ecx
push edi
call fcn.00531b00
pop ecx
cmp byte [0x5ff350], 0
jne 0x57992a
call fcn.005789a0
test esi, esi
jne 0x57991d
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
push esi
call fcn.00578bf2
mov byte [0x5ff350], 1
mov eax, ebx
call fcn.005320ee
ret
Function at 0x579cbb
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58efc1
mov eax, dword fs:[0]
push eax
mov eax, 0x1000c
call fcn.00532460
mov eax, dword [0x5f2114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10014], esi
push 7
xor ebx, ebx
mov dword [ebp - 0x10018], esi
pop edx
mov dword [esi + 0x14], edx
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x14], 8
jb 0x579d10
mov eax, dword [esi]
jmp 0x579d12
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], ebx
lea edi, [esi + 0x18]
mov dword [edi + 0x14], edx
mov dword [edi + 0x10], ebx
cmp edx, 8
jb 0x579d2c
mov eax, dword [edi]
jmp 0x579d2e
mov eax, edi
xor ecx, ecx
mov word [eax], cx
push ebx
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoInitializeEx]
push ebx
push ebx
push ebx
push 3
push 6
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
push 0xfffe
lea eax, [ebp - 0x10010]
push ebx
push eax
call fcn.0054b330
add esp, 0xc
mov dword [ebp - 0x10014], 0x7fff
lea eax, [ebp - 0x10014]
push eax
lea eax, [ebp - 0x10010]
push eax
push 2
call dword [sym.imp.Secur32.dll_GetUserNameExW]
test al, al
je 0x579da6
lea eax, [ebp - 0x10010]
push eax
call fcn.004035bb
pop ecx
push eax
lea eax, [ebp - 0x10010]
mov ecx, edi
push eax
call fcn.00403542
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00531668
mov esp, ebp
pop ebp
ret
Function at 0x57b00c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58f453
mov eax, dword fs:[0]
push eax
mov eax, 0x2454
call fcn.00532460
mov eax, dword [0x5f2114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0057b88d
test al, al
je 0x57b1b4
push 0x2000
xor edi, edi
lea eax, [ebp - 0x2410]
push edi
push eax
call fcn.0054b330
lea eax, [ebp + 0xc]
mov esi, 0x1000
push eax
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x2410]
push esi
push eax
call fcn.00402a16
push 0x5c6330
lea eax, [ebp - 0x2410]
push esi
push eax
call fcn.00554c4b
add esp, 0x2c
lea eax, [ebp - 0x2410]
lea ecx, [ebp - 0x242c]
push eax
call fcn.004035e2
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x242c]
cmp dword [ebp - 0x2418], 8
mov eax, dword [ebp - 0x241c]
cmovae ecx, dword [ebp - 0x242c]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x242c]
cmovae ecx, dword [ebp - 0x242c]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x2444]
call fcn.00404b52
push 0x400
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 1
push edi
push eax
call fcn.0054b330
sub esp, 0xc
mov ecx, esp
push str.SystemDrive
call fcn.004036e4
lea ecx, [ebp - 0x2460]
call fcn.0057adfd
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x57b115
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x410]
push str._scleanInstaller.txt
push eax
call fcn.0041447b
add esp, 0xc
lea ecx, [ebp - 0x2460]
push edi
push 1
call fcn.00403ae2
push edi
push 0x80
push 4
push edi
push edi
push 0x40000000
lea eax, [ebp - 0x410]
mov dword [ebp - 0x2414], edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 2
push edi
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x2430], 0x10
lea eax, [ebp - 0x2414]
push edi
push eax
push dword [ebp - 0x2434]
lea ecx, [ebp - 0x2444]
cmovae ecx, dword [ebp - 0x2444]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 1
lea ecx, [ebp - 0x2444]
call fcn.00403ae2
push edi
push 1
lea ecx, [ebp - 0x242c]
call fcn.00403a36
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00531668
mov esp, ebp
pop ebp
ret
Function at 0x57b1cf
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1428
call fcn.00532460
mov eax, dword [0x5f2114]
xor eax, esp
mov dword [esp + 0x1424], eax
push esi
push edi
call fcn.0057b88d
test al, al
je 0x57b2f1
mov esi, 0x1000
lea eax, [esp + 0x428]
push esi
xor edi, edi
push edi
push eax
call fcn.0054b330
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
lea eax, [esp + 0x434]
push esi
push eax
call fcn.0040509a
add esp, 0x14
lea eax, [esp + 0x428]
push 0x5cb0d8
push esi
push eax
call fcn.00556863
add esp, 0xc
lea eax, [esp + 0x28]
push 0x400
push edi
push eax
call fcn.0054b330
sub esp, 0xc
mov ecx, esp
push str.SystemDrive
call fcn.004036e4
lea ecx, [esp + 0x24]
call fcn.0057adfd
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x57b277
mov eax, dword [eax]
push eax
lea eax, [esp + 0x2c]
push str._scleanInstaller.txt
push eax
call fcn.0041447b
add esp, 0xc
lea ecx, [esp + 0xc]
push edi
push 1
call fcn.00403ae2
push edi
push 0x80
push 4
push edi
push edi
push 0x40000000
lea eax, [esp + 0x40]
mov dword [esp + 0x3c], edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 2
push edi
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [esp + 0x428]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x57b2cb
push edi
lea eax, [esp + 0x28]
sub ecx, edx
push eax
push ecx
lea eax, [esp + 0x434]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x142c]
pop edi
pop esi
xor ecx, esp
call fcn.00531668
mov esp, ebp
pop ebp
ret
Function at 0x57bb66
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0x24c
mov eax, 0x58f5f5
call fcn.00532159
and dword [ebp - 4], 0
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
lea edx, [ebp + 8]
push 8
pop esi
cmp dword [ebp + 0x1c], esi
cmovae ecx, dword [ebp + 8]
cmovae edx, dword [ebp + 8]
push edx
mov edx, fcn.00554b87
lea eax, [ecx + eax*2]
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
push eax
push ecx
lea ecx, [ebp - 0x258]
call fcn.00403b8d
add esp, 0xc
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x254], 0x22c
lea eax, [ebp - 0x254]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x57bc91
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x28]
call fcn.004035e2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], esi
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
push edx
mov edx, fcn.00554b87
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push eax
push ecx
lea ecx, [ebp - 0x258]
call fcn.00403b8d
add esp, 0xc
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], esi
cmovae eax, dword [ebp + 8]
push dword [ebp + 0x18]
push eax
push dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00402514
test eax, eax
jne 0x57bc66
push dword [ebp - 0x24c]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x57bc66
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x254]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.00403a36
push 8
test esi, esi
pop esi
jne 0x57bbdc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp + 8]
call fcn.00403a36
call fcn.00532103
ret