joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c2f70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68aee5
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x746694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x74cb34]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x74c4b4]
cmp eax, dword [ecx + 4]
jg 0x5c30c7
cmp dword [0x7461f8], 0
jne 0x5c30a7
push 0x208
push 0
mov dword [ebp - 0x2c], 0x104
call fcn.00663d02
mov edi, eax
add esp, 8
mov dword [ebp - 0x30], edi
push 0
push 0x24
push edi
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x5c309a
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.005be990
mov esi, eax
add esp, 8
cmp esi, 0x7461e8
je 0x5c3092
mov edx, dword [0x7461fc]
cmp edx, 0x10
jb 0x5c304f
mov ecx, dword [0x7461e8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c3045
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c30fd
push edx
push ecx
call fcn.0065d157
add esp, 8
mov dword [0x7461f8], 0
mov dword [0x7461fc], 0xf
mov byte [0x7461e8], 0
movups xmm0, xmmword [esi]
movups xmmword [0x7461e8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x7461f8], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x28]
call fcn.00448860
test edi, edi
je 0x5c30a7
push edi
call fcn.00663ce7
add esp, 4
mov eax, 0x7461e8
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.0065d16a
mov esp, ebp
pop ebp
ret
push 0x74c4b4
call fcn.0065d30a
add esp, 4
cmp dword [0x74c4b4], 0xffffffff
jne 0x5c2fba
push 0x692360
call fcn.0065d73f
push 0x74c4b4
call fcn.0065d2c0
add esp, 8
jmp 0x5c2fba
call fcn.00663c8b
int3
Function at 0x5c6510
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call fcn.005be920
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
call fcn.005be920
mov edi, dword [ebp - 8]
lea eax, [ebp - 0x4c]
mov ebx, dword [ebp - 0x10]
add esp, 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
push eax
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x48], 0x44c
mov dword [ebp - 0x40], 0x69c900
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x44], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
neg eax
sbb esi, esi
and esi, dword [ebp - 0x14]
test ebx, ebx
je 0x5c65bd
push ebx
call fcn.00663ce7
add esp, 4
test edi, edi
je 0x5c65ca
push edi
call fcn.00663ce7
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5c68e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x746694]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x74cb34]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x74c4c4]
cmp eax, dword [ecx + 4]
jg 0x5c6a6b
cmp dword [0x746210], 0
jne 0x5c6a58
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.005be990
mov esi, eax
add esp, 8
cmp esi, 0x746200
je 0x5c69d0
mov edx, dword [0x746214]
cmp edx, 0x10
jb 0x5c698d
mov ecx, dword [0x746200]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c6983
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c6aa1
push edx
push ecx
call fcn.0065d157
add esp, 8
mov dword [0x746210], 0
mov dword [0x746214], 0xf
mov byte [0x746200], 0
movups xmm0, xmmword [esi]
movups xmmword [0x746200], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x746210], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x210]
cmp edx, 0x10
jb 0x5c6a0a
mov ecx, dword [ebp - 0x224]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c6a00
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c6aa1
push edx
push ecx
call fcn.0065d157
add esp, 8
mov edx, dword [0x746210]
test edx, edx
je 0x5c6a57
mov esi, dword [0x746214]
mov eax, 0x746200
cmp esi, 0x10
cmovae eax, dword [0x746200]
cmp byte [eax + edx - 1], 0x2f
je 0x5c6a57
cmp esi, 0x10
mov ecx, 0x746200
cmovae ecx, dword [0x746200]
cmp byte [ecx + edx - 1], 0x5c
je 0x5c6a57
push 1
push 0x70eff4
mov ecx, 0x746200
call fcn.004485a0
pop esi
mov ecx, dword [ebp - 4]
mov eax, 0x746200
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret
push 0x74c4c4
call fcn.0065d30a
add esp, 4
cmp dword [0x74c4c4], 0xffffffff
jne 0x5c6913
push 0x692120
call fcn.0065d73f
push 0x74c4c4
call fcn.0065d2c0
add esp, 8
jmp 0x5c6913
call fcn.00663c8b
int3
Function at 0x5c6ab0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68b750
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x746694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x74cb34]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x74c4c8]
cmp eax, dword [ecx + 4]
jg 0x5c6cfd
cmp dword [0x746228], 0
jne 0x5c6cde
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.005be990
mov esi, eax
add esp, 8
cmp esi, 0x746218
je 0x5c6bb8
mov edx, dword [0x74622c]
cmp edx, 0x10
jb 0x5c6b75
mov ecx, dword [0x746218]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c6b6b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c6d33
push edx
push ecx
call fcn.0065d157
add esp, 8
mov dword [0x746228], 0
mov dword [0x74622c], 0xf
mov byte [0x746218], 0
movups xmm0, xmmword [esi]
movups xmmword [0x746218], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x746228], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x5c6bf2
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c6be8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c6d33
push edx
push ecx
call fcn.0065d157
add esp, 8
mov ecx, dword [0x746228]
test ecx, ecx
je 0x5c6c3d
mov edx, dword [0x74622c]
mov eax, 0x746218
mov esi, dword [0x746218]
cmp edx, 0x10
cmovae eax, esi
cmp byte [eax + ecx - 1], 0x2f
je 0x5c6c3d
cmp edx, 0x10
mov eax, 0x746218
cmovae eax, esi
cmp byte [eax + ecx - 1], 0x5c
je 0x5c6c3d
push 1
push 0x70eff4
mov ecx, 0x746218
call fcn.004485a0
call fcn.005c3f00
mov ecx, eax
mov eax, accept
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 0xf
jb 0x5c6d38
cmp dword [ecx + 0x14], 0x10
mov eax, ecx
jb 0x5c6c61
mov eax, dword [ecx]
push 0xf
push str._installer_tmp_
push edx
push eax
push ecx
push dword [ebp - 0x234]
lea ecx, [ebp - 0x230]
call fcn.005b3730
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
mov ecx, 0x746218
push eax
mov dword [ebp - 4], 0
call fcn.004485a0
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x5c6cde
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c6cd4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c6d3d
push edx
push ecx
call fcn.0065d157
add esp, 8
mov eax, 0x746218
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret
push 0x74c4c8
call fcn.0065d30a
add esp, 4
cmp dword [0x74c4c8], 0xffffffff
jne 0x5c6afc
push 0x692180
call fcn.0065d73f
push 0x74c4c8
call fcn.0065d2c0
add esp, 8
jmp 0x5c6afc
call fcn.00663c8b
call fcn.00446f60
call fcn.00663c8b
int3
Function at 0x5c6ff0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68b7d1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x746694]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
push dword [ebp + 8]
call fcn.005be920
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
call fcn.005be920
mov ebx, dword [ebp - 0x18]
add esp, 0x10
mov edi, dword [ebp - 0x20]
push ebx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x5c70cd
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5c70cd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
push dword [ebp + 0x10]
call fcn.005be920
push dword [ebp - 0x10]
push esi
mov esi, dword [ebp - 0x28]
push esi
call fcn.005c65e0
add esp, 0x14
test esi, esi
je 0x5c70cd
push esi
call fcn.00663ce7
add esp, 4
test ebx, ebx
je 0x5c70da
push ebx
call fcn.00663ce7
add esp, 4
test edi, edi
je 0x5c70e7
push edi
call fcn.00663ce7
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5c85a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa00
mov eax, dword [0x746694]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 2
mov dword [ebp - 0xa00], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x5c86ad
lea eax, [ebp - 0xa00]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x5c86ad
push 0x3e8
lea eax, [ebp - 0x9dc]
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.00668365
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x3ec]
add esp, 0xc
mov ecx, edi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x5c8630
test dl, dl
je 0x5c862c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x5c8630
add eax, 2
add ecx, 2
test dl, dl
jne 0x5c8610
xor eax, eax
jmp 0x5c8635
sbb eax, eax
or eax, 1
test eax, eax
je 0x5c86c6
lea eax, [ebp - 0xa00]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x5c86ad
nop
push 0x3e8
lea eax, [ebp - 0x9dc]
push eax
lea eax, [ebp - 0x7d4]
push eax
call fcn.00668365
add esp, 0xc
lea ecx, [ebp - 0x7d4]
mov eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x5c8693
test dl, dl
je 0x5c868f
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x5c8693
add ecx, 2
add eax, 2
test dl, dl
jne 0x5c8673
xor eax, eax
jmp 0x5c8698
sbb eax, eax
or eax, 1
test eax, eax
je 0x5c86c6
lea eax, [ebp - 0xa00]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x5c8650
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0065d16a
mov esp, ebp
pop ebp
ret
Function at 0x5c8e40
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa04
mov eax, dword [0x746694]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, 1
lea eax, [eax + eax*4]
add eax, eax
mov dword [ebp - 0xa04], eax
cmp eax, edi
jle 0x5c8f7f
push ebx
mov ebx, dword [ebp + 8]
push esi
nop dword [eax]
nop dword [eax + eax]
push 0
push 2
mov dword [ebp - 0xa00], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x5c8f70
lea eax, [ebp - 0xa00]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x5c8f70
push 0x3e8
lea eax, [ebp - 0x9dc]
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.00668365
add esp, 0xc
lea eax, [ebp - 0x3ec]
mov ecx, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x5c8ef5
test dl, dl
je 0x5c8ef1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x5c8ef5
add eax, 2
add ecx, 2
test dl, dl
jne 0x5c8ed5
xor eax, eax
jmp 0x5c8efa
sbb eax, eax
or eax, 1
test eax, eax
je 0x5c8f93
lea eax, [ebp - 0xa00]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x5c8f70
push 0x3e8
lea eax, [ebp - 0x9dc]
push eax
lea eax, [ebp - 0x7d4]
push eax
call fcn.00668365
add esp, 0xc
lea ecx, [ebp - 0x7d4]
mov eax, ebx
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x5c8f56
test dl, dl
je 0x5c8f52
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x5c8f56
add ecx, 2
add eax, 2
test dl, dl
jne 0x5c8f36
xor eax, eax
jmp 0x5c8f5b
sbb eax, eax
or eax, 1
test eax, eax
je 0x5c8f93
lea eax, [ebp - 0xa00]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x5c8f13
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xa04]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
cmp edi, eax
pop edi
setl al
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0xa04]
inc edi
cmp edi, eax
jl 0x5c8e80
jmp 0x5c8f7d
Function at 0x5c8fb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68bac2
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x746694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x48], ebx
call fcn.005c28f0
mov edx, dword [eax + 0x10]
test edx, edx
je 0x5c9088
mov ecx, accept
sub ecx, edx
cmp ecx, 0x2c
jb 0x5c9129
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x5c900c
mov ecx, dword [eax]
push 0x2c
push str.GoogleChromeUser_DataDefaultExtensions_
push edx
push ecx
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x40]
call fcn.005b3730
push esi
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x48], 5
push eax
call fcn.005b3570
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
push ecx
push eax
mov ebx, 7
mov dword [ebp - 0x48], 0
call fcn.005be920
mov esi, dword [ebp - 0x4c]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
mov byte [ebp - 0x41], al
test esi, esi
je 0x5c9080
push esi
call fcn.00663ce7
mov al, byte [ebp - 0x41]
add esp, 4
mov byte [ebp - 0x41], 1
test al, al
jne 0x5c908c
mov byte [ebp - 0x41], 0
test bl, 2
je 0x5c90d6
mov edx, dword [ebp - 0x14]
and ebx, 0xfffffffd
cmp edx, 0x10
jb 0x5c90c4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c90ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c912e
push edx
push ecx
call fcn.0065d157
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test bl, 1
je 0x5c910b
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x5c910b
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c9101
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c912e
push edx
push ecx
call fcn.0065d157
add esp, 8
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret
call fcn.00446f60
call fcn.00663c8b
int3
Function at 0x5c9d50
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68bbc2
mov eax, dword fs:[0]
push eax
mov eax, 0xfa40
call fcn.0065d180
mov eax, dword [0x746694]
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 eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xfa44], esi
mov dword [ebp - 0xfa48], 0
cmp dword [eax + 0x10], 0
mov dword [ebp - 0xfa4c], esi
jne 0x5c9dca
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [esi + 0x10], 0
mov byte [esi], 0
jmp 0x5c9f75
push eax
lea eax, [ebp - 0xfa40]
push eax
call fcn.005c7f50
add esp, 8
cmp dword [ebp - 0xfa2c], 8
lea ecx, [ebp - 0xfa10]
push 0x7d00
lea eax, [ebp - 0xfa40]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0xfa40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x5c9f49
xor eax, eax
mov dword [ebp - 0xfa28], 0
lea ecx, [ebp - 0xfa10]
mov dword [ebp - 0xfa18], 0
mov dword [ebp - 0xfa14], 7
lea edx, [ecx + 2]
mov word [ebp - 0xfa28], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5c9e40
sub ecx, edx
lea eax, [ebp - 0xfa10]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xfa28]
call fcn.005cdde0
push 0
push dword [ebp - 0xfa18]
mov dword [esi], 0
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [ebp - 4], 2
mov byte [esi], 0
mov dword [ebp - 0xfa48], 2
call fcn.005a6030
cmp dword [esi + 0x14], 0x10
mov ebx, esi
jb 0x5c9ea0
mov ebx, dword [esi]
cmp dword [ebp - 0xfa14], 8
lea ecx, [ebp - 0xfa28]
mov edx, dword [ebp - 0xfa28]
lea edi, [ebp - 0xfa28]
mov eax, dword [ebp - 0xfa18]
cmovae ecx, edx
cmovae edi, edx
lea eax, [ecx + eax*2]
cmp edi, eax
je 0x5c9ef4
mov esi, eax
nop
movzx eax, word [edi]
push eax
call fcn.00668af0
add edi, 2
mov byte [ebx], al
add esp, 4
lea ebx, [ebx + 1]
cmp edi, esi
jne 0x5c9ed0
mov edx, dword [ebp - 0xfa28]
mov esi, dword [ebp - 0xfa4c]
mov eax, dword [ebp - 0xfa14]
cmp eax, 8
jb 0x5c9f2a
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5c9f20
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c9f93
push ecx
push edx
call fcn.0065d157
add esp, 8
xor eax, eax
mov dword [ebp - 0xfa18], 0
mov dword [ebp - 0xfa14], 7
mov word [ebp - 0xfa28], ax
jmp 0x5c9f6a
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [esi + 0x10], 0
mov byte [esi], 0
lea ecx, [ebp - 0xfa40]
call fcn.005cd5f0
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.0065d16a
mov esp, ebp
pop ebp
ret
call fcn.00663c8b
int3
Function at 0x5ca200
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 0
je 0x5ca24e
push edi
mov edi, dword [ebp + 8]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop ebp
ret
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret
Function at 0x5cc740
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x746694]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x30]
push ebx
push esi
push ecx
push eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.005be920
add esp, 8
push 4
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x5cc79b
push 4
push dword [ebp - 0x30]
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x5cc7bf
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor bl, bl
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x5cc7ad
push eax
call fcn.00663ce7
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0065d16a
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0x34]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
push ebx
call esi
test edi, edi
pop edi
je 0x5cc79b
cmp dword [ebp - 0x24], 4
sete bl
jmp 0x5cc79d
Function at 0x5cc920
Capabilities:
Check for time delay via gettickcount
Enumerate services
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x73d3a0
push 0x660a30
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x746694]
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 - 0x4c], eax
mov esi, dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], 0x7530
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 1
push esi
mov edi, dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
call edi
test eax, eax
jne 0x5ccaaf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x5cca7f
push dword [ebp - 0x44]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x5cca7f
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x44]
push ecx
push dword [ebp - 0x44]
push eax
push 1
push esi
call edi
test eax, eax
je 0x5cca6c
xor edi, edi
mov dword [ebp - 0x50], edi
cmp edi, dword [ebp - 0x48]
jae 0x5ccaa3
lea eax, [edi + edi*8]
mov ecx, dword [ebp - 0x54]
movups xmm1, xmmword [ecx + eax*4]
movups xmm0, xmmword [ecx + eax*4 + 0x10]
movups xmmword [ebp - 0x74], xmm0
mov eax, dword [ecx + eax*4 + 0x20]
mov dword [ebp - 0x64], eax
push 0x24
movd eax, xmm1
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x60], esi
test esi, esi
je 0x5cca6c
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x5cca6c
cmp dword [ebp - 0x3c], 1
je 0x5cca83
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x44]
push eax
push 0x24
lea eax, [ebp - 0x40]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x5cca6c
cmp dword [ebp - 0x3c], 1
je 0x5cca83
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x5c]
jbe 0x5cca32
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x746694
call fcn.00660b90
add esp, 0xc
xor al, al
jmp 0x5ccab1
mov dword [ebp - 4], 0
call fcn.005cca9b
inc edi
jmp 0x5cc9db
mov dword [ebp - 4], 0xfffffffe
call fcn.005ccacd
mov al, 1
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.0065d16a
mov esp, ebp
pop ebp
ret