joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c9e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52cdb1
mov eax, dword fs:[0]
push eax
mov eax, 0x1524
call fcn.004bde30
mov eax, dword [0x57d718]
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 - 0x1468], esi
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0
je 0x41cbd6
call fcn.00434ec0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41cb21
push 0x4d
push str.d:jenkins.jenkinsworkspacemgame_aichat_alchattraypluginmgrpluginmgr.cpp
lea ecx, [ebp - 0x1498]
mov dword [ebp - 0x1488], eax
mov dword [ebp - 0x1484], 0xf
mov byte [ebp - 0x1498], al
call fcn.0040c1a0
push 3
push 0x53a170
lea ecx, [ebp - 0x1480]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1470], 0
mov dword [ebp - 0x146c], 0xf
mov byte [ebp - 0x1480], 0
call fcn.0040c1a0
mov byte [ebp - 4], 1
call fcn.00434ec0
mov edi, eax
lea ecx, [ebp - 0x1530]
push 0x31
lea eax, [ebp - 0x1498]
push eax
lea eax, [ebp - 0x1480]
push eax
call fcn.00407ba0
mov esi, eax
push str._Load_plugin_item:
push esi
mov byte [ebp - 4], 2
call fcn.00408c40
mov ecx, dword [ebx]
mov edx, 0x539c58
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.00406e80
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1530]
call fcn.00408e00
lea ecx, [ebp - 0x1480]
call fcn.00408670
lea ecx, [ebp - 0x1498]
mov dword [ebp - 4], 0xffffffff
call fcn.00408670
mov esi, dword [ebp - 0x1468]
push 0x1450
lea eax, [ebp - 0x1460]
push 0
push eax
call fcn.00501330
add esp, 0xc
lea eax, [ebp - 0x1460]
push 0xa28
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x1460]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push dword [ebx]
lea eax, [ebp - 0x1460]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x1460]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41cbd6
lea eax, [ebp - 0x1460]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x41cbd6
push dword [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41cbd6
lea ecx, [ebp - 0x1464]
mov dword [ebp - 0x1464], 0
push ecx
push 1
call eax
mov ecx, eax
mov dword [ebp - 0x1468], ecx
test ecx, ecx
je 0x41cbd6
push dword [esi + 0xc]
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
lea eax, [ebp - 0x1468]
mov ecx, esi
push eax
call fcn.0041c650
mov eax, 1
jmp 0x41cbd8
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 - 0x10]
xor ecx, ebp
call fcn.004bddc0
mov esp, ebp
pop ebp
ret 4
Function at 0x41f6e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d1d1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x57d718]
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, dword [ebp + 8]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
push 0x587e66
push 0x100010
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x18], 0x100000
call fcn.004be0b4
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x41f816
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
push 0x201
push 0
push str.SOFTWARESmartChat
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41f80d
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], edi
push eax
push 0
push str.lua_push
push edi
mov dword [ebp - 0x20], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41f802
cmp dword [ebp - 0x14], 3
jne 0x41f802
mov eax, dword [ebp - 0x18]
mov ecx, ebx
mov byte [eax + ebx], 0
lea edx, [ecx + 1]
mov eax, dword [ebp - 0x18]
mov byte [eax + ebx + 1], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f7f0
sub ecx, edx
push ecx
push ebx
mov ecx, esi
call fcn.0040c1a0
test edi, edi
je 0x41f80d
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.004bde24
add esp, 4
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.004bddc0
mov esp, ebp
pop ebp
ret
Function at 0x41f890
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d213
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x57d718]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp word [0x586650], 0
mov dword [ebp - 4], 0
jne 0x41fa4a
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
cmovae eax, dword [ebp + 8]
push eax
push 9
xor eax, eax
mov dword [ebp - 0x21c], 7
push 0x53a530
mov word [ebp - 0x230], ax
call fcn.0040c2a0
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00501330
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41f97a
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
xor eax, eax
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f9a0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.0040c2a0
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x41fa02
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f9f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fa9e
push edx
push ecx
call fcn.004bdb0a
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
cmp dword [ebp - 0x234], 8
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push 0x586650
mov dword [ebp - 0x21c], 7
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x248]
call fcn.004086c0
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x41fa80
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41fa76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41faa3
push edx
push ecx
call fcn.004bdb0a
add esp, 8
mov eax, 0x586650
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bddc0
mov esp, ebp
pop ebp
ret
call fcn.00504809
call fcn.00504809
int3
Function at 0x4204c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x57d718]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42054b
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x42050d
cmp eax, 2
jne 0x420529
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x420545
test ecx, ecx
je 0x420540
test cl, 1
jne 0x420529
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x420545
pop edi
mov eax, 0xd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bddc0
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004bddc0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4222f0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d6e7
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x57d718]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x6c
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
lea ecx, [edi + 0x28]
call fcn.00421930
push 0x53a530
lea ecx, [edi + 0x3f0]
call fcn.00405e30
push 0x3f
push 0x53a530
lea eax, [edi + 0x48]
mov dword [edi + 0x3c], 4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [edi + 0x30]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [0x583cac]
test ecx, ecx
jne 0x4223da
push 0x57d080
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x583cac], 0
jne 0x4223c9
push 0x20
call fcn.004bddf4
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4223b3
xorps xmm0, xmm0
mov ecx, eax
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
call fcn.004130f0
jmp 0x4223b5
xor eax, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x583cac], eax
push 0x57d080
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x583cac]
push 0
call fcn.004131a0
call fcn.0041b4a0
mov ecx, eax
call fcn.0041b5b0
push 0
push 0
push 1
push 0
push 0x53bd20
call fcn.00412000
mov ecx, eax
call fcn.00435c70
push 0
push 1
push 0x53a740
push str.run_pkg
call fcn.0042ac30
add esp, 0x10
mov ecx, edi
push 0
call fcn.004219f0
call fcn.00411f50
mov ecx, eax
call fcn.0040eaa0
test eax, eax
je 0x42244a
push 0x6666
push eax
mov ecx, edi
call fcn.00423c70
test eax, eax
jne 0x4224ea
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x1c], xmm0
call fcn.00429ae0
add esp, 4
mov eax, dword [ebp - 0x18]
xor esi, esi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 2
mov dword [ebp - 4], 1
test eax, eax
je 0x4224ba
nop dword [eax]
push 0x6666
push dword [ecx + esi*4]
mov ecx, edi
call fcn.00423c70
test eax, eax
jne 0x4224a5
mov eax, dword [ebp - 0x18]
inc esi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x422480
jmp 0x4224ba
mov eax, dword [ebp - 0x1c]
push dword [eax + esi*4]
call fcn.00411f50
mov ecx, eax
call fcn.0040ec80
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4224ea
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffffc
cmp edx, 0x1000
jb 0x4224e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422509
push edx
push ecx
call fcn.004bdb0a
add esp, 8
xor eax, eax
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.004bddc0
mov esp, ebp
pop ebp
ret 4
call fcn.00504809
int3
Function at 0x424a70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x57d718]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x424b58
mov eax, dword [edi + 0xc]
cmp dword [eax - 0xc], 0
je 0x424b58
mov eax, dword [edi + 4]
cmp dword [eax - 0xc], 0
je 0x424b58
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424b58
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00501330
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, edi
push 0x104
push eax
push dword [edi + 4]
call fcn.00424b80
test eax, eax
je 0x424b58
push esi
mov esi, dword [edi + 0xc]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00424e40
lea eax, [ebp - 0x214]
mov ecx, edi
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.00424e40
mov ecx, dword [ebp - 0x218]
mov edx, ecx
mov esi, dword [ebp - 0x210]
sub esi, dword [ebp - 0x214]
sub edx, dword [ebp - 0x21c]
cmp ecx, dword [ebp - 0x21c]
cmove edx, esi
xor eax, eax
test edx, edx
pop esi
sete al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bddc0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.004bddc0
mov esp, ebp
pop ebp
ret

Function at 0x424b80
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.004bde30
mov eax, dword [0x57d718]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x424c79
test edi, edi
je 0x424c79
mov ebx, dword [ebp + 0x10]
cmp ebx, 0x104
jl 0x424c79
push 0x4000
lea eax, [ebp - 0x4004]
push 0
push eax
call fcn.00501330
add esp, 0xc
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x424c79
cmp eax, 0x3fff
ja 0x424c79
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x424c79
lea eax, [ebp - 0x400c]
push eax
lea eax, [ebp - 0x4010]
push eax
push 0x539a18
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x424c79
push ebx
push 0
push edi
call fcn.00501330
mov ecx, dword [ebp - 0x4010]
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 0x53a61c
lea eax, [ebx - 1]
push eax
push edi
call fcn.00424dc0
add esp, 0x28
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bddc0
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bddc0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4279d0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.004bde30
mov eax, dword [0x57d718]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax]
cmp dword [esi - 0xc], 0
jne 0x427a06
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bddc0
mov esp, ebp
pop ebp
ret 4
push 0x2000
xorps xmm0, xmm0
mov dword [ebp - 0x200c], 0
lea eax, [ebp - 0x2004]
movq qword [ebp - 0x2014], xmm0
push 0
movups xmmword [ebp - 0x2024], xmm0
push eax
mov word [ebp - 0x2008], 0
mov dword [ebp - 0x2020], 3
call fcn.00501330
push 0x1000
lea eax, [ebp - 0x2004]
push esi
push eax
call fcn.00507cb4
lea eax, [ebp - 0x2004]
add esp, 0x18
mov dword [ebp - 0x201c], eax
mov eax, 0x614
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2024]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.004bddc0
mov esp, ebp
pop ebp
ret 4
Function at 0x429070
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x570360
push 0x5016f0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x57d718]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x2c], 0
xor edi, edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], edi
mov dword [eax], edi
mov dword [ecx], edi
lea eax, [ebp - 0x2c]
push eax
push edi
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x4290ea
cmp dword [ebp - 0x2c], edi
je 0x4290ea
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x429122
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x3f0
jne 0x429204
lea eax, [ebp - 0x2c]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x429204
cmp dword [ebp - 0x2c], 0
je 0x429204
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 2
push dword [ebp - 0x2c]
mov ebx, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call ebx
test eax, eax
jne 0x429204
cmp dword [ebp - 0x30], eax
jbe 0x429204
call esi
cmp eax, 0x7a
jne 0x429204
push dword [ebp - 0x30]
call fcn.005081c8
add esp, 4
mov edi, eax
mov dword [ebp - 0x38], edi
test edi, edi
je 0x429204
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x30]
push edi
push 2
push dword [ebp - 0x2c]
call ebx
test eax, eax
je 0x429204
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x30]
jne 0x429204
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0x500
lea eax, [ebp - 0x34]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x429204
cmp dword [ebp - 0x34], 0
je 0x429204
xor esi, esi
mov dword [ebp - 0x3c], esi
cmp esi, dword [edi]
jae 0x429204
lea ebx, [edi + esi*8]
push dword [ebp - 0x34]
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4291ed
inc esi
jmp 0x4291d0
mov eax, dword [ebp - 0x40]
mov dword [eax], 1
mov eax, dword [ebx + 8]
shr eax, 2
and eax, 1
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.00429231
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004bddc0
mov esp, ebp
pop ebp
ret 8
Function at 0x42a0f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x57d718]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call fcn.00501330
add esp, 0xc
cmp word [0x586880], 0
jne 0x42a144
push 0xa28
push 0x586880
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x586880
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
push 0x586880
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
call fcn.004351c0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004bddc0
mov esp, ebp
pop ebp
ret

Function at 0x42a180
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x57d718]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00501330
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42a1e0
cmp dword [ebp - 0x114], 6
jb 0x42a1e0
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bddc0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004bddc0
mov esp, ebp
pop ebp
ret

Function at 0x42a3d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x570320
push 0x5016f0
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x57d718]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x438], 0
mov dword [ebp - 4], 0
push 0x200
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.00501330
push edi
push str.SYSTEMCurrentControlSetServices_sParameters
push 0xff
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x438]
push eax
push 0x20219
push 0
lea eax, [ebp - 0x42c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42a4e9
mov dword [ebp - 0x434], eax
push 0x210
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00501330
add esp, 0xc
mov dword [ebp - 0x430], 0x210
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x434]
push eax
push 0
push str.ServiceDll
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42a4e9
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp + 0x10]
cmp ecx, eax
jle 0x42a4e9
push ecx
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 4], 0xfffffffe
call fcn.0042a51b
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004bddc0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42aaf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.004bde30
mov eax, dword [0x57d718]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x1048], 0x44
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1048]
push edi
mov edi, dword [ebp + 0xc]
push eax
movlpd qword [ebp - 0x1044], xmm0
movlpd qword [ebp - 0x103c], xmm0
movlpd qword [ebp - 0x1034], xmm0
movlpd qword [ebp - 0x102c], xmm0
movlpd qword [ebp - 0x1024], xmm0
movlpd qword [ebp - 0x101c], xmm0
movlpd qword [ebp - 0x1014], xmm0
movlpd qword [ebp - 0x100c], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor eax, eax
mov dword [ebp - 0x101c], 1
mov word [ebp - 0x1018], ax
xorps xmm0, xmm0
movups xmmword [ebp - 0x1058], xmm0
test edi, edi
je 0x42abd5
push 0x1000
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.00501330
push edi
push esi
lea eax, [ebp - 0x1004]
push str.__s___s
push eax
call fcn.004130b0
add esp, 0x1c
lea eax, [ebp - 0x1058]
push eax
lea eax, [ebp - 0x1048]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1004]
push eax
jmp 0x42abf0
lea eax, [ebp - 0x1058]
push eax
lea eax, [ebp - 0x1048]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x42ac14
push dword [ebp - 0x1054]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1058]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004bddc0
mov esp, ebp
pop ebp
ret