joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c77d0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x691c99
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x74e694]
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 [0x754b3c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7544c8]
cmp eax, dword [ecx + 4]
jg 0x5c7927
cmp dword [0x74e1e0], 0
jne 0x5c7907
push 0x208
push 0
mov dword [ebp - 0x2c], 0x104
call fcn.0066a672
mov edi, eax
add esp, 8
mov dword [ebp - 0x30], edi
push 0
push 0x2a
push edi
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x5c78fa
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.005c3530
mov esi, eax
add esp, 8
cmp esi, 0x74e1d0
je 0x5c78f2
mov edx, dword [0x74e1e4]
cmp edx, 0x10
jb 0x5c78af
mov ecx, dword [0x74e1d0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c78a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c795d
push edx
push ecx
call fcn.00663ac7
add esp, 8
mov dword [0x74e1e0], 0
mov dword [0x74e1e4], 0xf
mov byte [0x74e1d0], 0
movups xmm0, xmmword [esi]
movups xmmword [0x74e1d0], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x74e1e0], 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 0x5c7907
push edi
call fcn.0066a657
add esp, 4
mov eax, 0x74e1d0
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.00663ada
mov esp, ebp
pop ebp
ret
push 0x7544c8
call fcn.00663c7a
add esp, 4
cmp dword [0x7544c8], 0xffffffff
jne 0x5c781a
push 0x699480
call fcn.006640af
push 0x7544c8
call fcn.00663c30
add esp, 8
jmp 0x5c781a
call fcn.0066a5fb
int3
Function at 0x5c7970
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x691ccd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x74e694]
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 [0x754b3c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7544cc]
cmp eax, dword [ecx + 4]
jg 0x5c7ac7
cmp dword [0x74e1f8], 0
jne 0x5c7aa7
push 0x208
push 0
mov dword [ebp - 0x2c], 0x104
call fcn.0066a672
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 0x5c7a9a
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.005c3530
mov esi, eax
add esp, 8
cmp esi, 0x74e1e8
je 0x5c7a92
mov edx, dword [0x74e1fc]
cmp edx, 0x10
jb 0x5c7a4f
mov ecx, dword [0x74e1e8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c7a45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c7afd
push edx
push ecx
call fcn.00663ac7
add esp, 8
mov dword [0x74e1f8], 0
mov dword [0x74e1fc], 0xf
mov byte [0x74e1e8], 0
movups xmm0, xmmword [esi]
movups xmmword [0x74e1e8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x74e1f8], 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 0x5c7aa7
push edi
call fcn.0066a657
add esp, 4
mov eax, 0x74e1e8
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.00663ada
mov esp, ebp
pop ebp
ret
push 0x7544cc
call fcn.00663c7a
add esp, 4
cmp dword [0x7544cc], 0xffffffff
jne 0x5c79ba
push 0x699720
call fcn.006640af
push 0x7544cc
call fcn.00663c30
add esp, 8
jmp 0x5c79ba
call fcn.0066a5fb
int3
Function at 0x5cb010
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.005c34c0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
call fcn.005c34c0
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], 0x6a4560
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 0x5cb0bd
push ebx
call fcn.0066a657
add esp, 4
test edi, edi
je 0x5cb0ca
push edi
call fcn.0066a657
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5cb3e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x74e694]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x754b3c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7544dc]
cmp eax, dword [ecx + 4]
jg 0x5cb56b
cmp dword [0x74e210], 0
jne 0x5cb558
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.005c3530
mov esi, eax
add esp, 8
cmp esi, 0x74e200
je 0x5cb4d0
mov edx, dword [0x74e214]
cmp edx, 0x10
jb 0x5cb48d
mov ecx, dword [0x74e200]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5cb483
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cb5a1
push edx
push ecx
call fcn.00663ac7
add esp, 8
mov dword [0x74e210], 0
mov dword [0x74e214], 0xf
mov byte [0x74e200], 0
movups xmm0, xmmword [esi]
movups xmmword [0x74e200], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x74e210], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x210]
cmp edx, 0x10
jb 0x5cb50a
mov ecx, dword [ebp - 0x224]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5cb500
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cb5a1
push edx
push ecx
call fcn.00663ac7
add esp, 8
mov edx, dword [0x74e210]
test edx, edx
je 0x5cb557
mov esi, dword [0x74e214]
mov eax, 0x74e200
cmp esi, 0x10
cmovae eax, dword [0x74e200]
cmp byte [eax + edx - 1], 0x2f
je 0x5cb557
cmp esi, 0x10
mov ecx, 0x74e200
cmovae ecx, dword [0x74e200]
cmp byte [ecx + edx - 1], 0x5c
je 0x5cb557
push 1
push 0x716504
mov ecx, 0x74e200
call fcn.004485a0
pop esi
mov ecx, dword [ebp - 4]
mov eax, 0x74e200
xor ecx, ebp
call fcn.00663ada
mov esp, ebp
pop ebp
ret
push 0x7544dc
call fcn.00663c7a
add esp, 4
cmp dword [0x7544dc], 0xffffffff
jne 0x5cb413
push 0x6994e0
call fcn.006640af
push 0x7544dc
call fcn.00663c30
add esp, 8
jmp 0x5cb413
call fcn.0066a5fb
int3
Function at 0x5cb5b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x692538
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x74e694]
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 [0x754b3c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7544e0]
cmp eax, dword [ecx + 4]
jg 0x5cb7fd
cmp dword [0x74e228], 0
jne 0x5cb7de
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.005c3530
mov esi, eax
add esp, 8
cmp esi, 0x74e218
je 0x5cb6b8
mov edx, dword [0x74e22c]
cmp edx, 0x10
jb 0x5cb675
mov ecx, dword [0x74e218]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5cb66b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cb833
push edx
push ecx
call fcn.00663ac7
add esp, 8
mov dword [0x74e228], 0
mov dword [0x74e22c], 0xf
mov byte [0x74e218], 0
movups xmm0, xmmword [esi]
movups xmmword [0x74e218], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x74e228], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x5cb6f2
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5cb6e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cb833
push edx
push ecx
call fcn.00663ac7
add esp, 8
mov ecx, dword [0x74e228]
test ecx, ecx
je 0x5cb73d
mov edx, dword [0x74e22c]
mov eax, 0x74e218
mov esi, dword [0x74e218]
cmp edx, 0x10
cmovae eax, esi
cmp byte [eax + ecx - 1], 0x2f
je 0x5cb73d
cmp edx, 0x10
mov eax, 0x74e218
cmovae eax, esi
cmp byte [eax + ecx - 1], 0x5c
je 0x5cb73d
push 1
push 0x716504
mov ecx, 0x74e218
call fcn.004485a0
call fcn.005c8900
mov ecx, eax
mov eax, accept
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 0xf
jb 0x5cb838
cmp dword [ecx + 0x14], 0x10
mov eax, ecx
jb 0x5cb761
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.005b5360
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
mov ecx, 0x74e218
push eax
mov dword [ebp - 4], 0
call fcn.004485a0
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x5cb7de
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5cb7d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cb83d
push edx
push ecx
call fcn.00663ac7
add esp, 8
mov eax, 0x74e218
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00663ada
mov esp, ebp
pop ebp
ret
push 0x7544e0
call fcn.00663c7a
add esp, 4
cmp dword [0x7544e0], 0xffffffff
jne 0x5cb5fc
push 0x699540
call fcn.006640af
push 0x7544e0
call fcn.00663c30
add esp, 8
jmp 0x5cb5fc
call fcn.0066a5fb
call fcn.00446f60
call fcn.0066a5fb
int3
Function at 0x5cbaf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6925b9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x74e694]
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.005c34c0
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
call fcn.005c34c0
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 0x5cbbcd
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 0x5cbbcd
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.005c34c0
push dword [ebp - 0x10]
push esi
mov esi, dword [ebp - 0x28]
push esi
call fcn.005cb0e0
add esp, 0x14
test esi, esi
je 0x5cbbcd
push esi
call fcn.0066a657
add esp, 4
test ebx, ebx
je 0x5cbbda
push ebx
call fcn.0066a657
add esp, 4
test edi, edi
je 0x5cbbe7
push edi
call fcn.0066a657
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 0x5cd0a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa00
mov eax, dword [0x74e694]
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 0x5cd1ad
lea eax, [ebp - 0xa00]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x5cd1ad
push 0x3e8
lea eax, [ebp - 0x9dc]
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.0066ece0
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 0x5cd130
test dl, dl
je 0x5cd12c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x5cd130
add eax, 2
add ecx, 2
test dl, dl
jne 0x5cd110
xor eax, eax
jmp 0x5cd135
sbb eax, eax
or eax, 1
test eax, eax
je 0x5cd1c6
lea eax, [ebp - 0xa00]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x5cd1ad
nop
push 0x3e8
lea eax, [ebp - 0x9dc]
push eax
lea eax, [ebp - 0x7d4]
push eax
call fcn.0066ece0
add esp, 0xc
lea ecx, [ebp - 0x7d4]
mov eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x5cd193
test dl, dl
je 0x5cd18f
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x5cd193
add ecx, 2
add eax, 2
test dl, dl
jne 0x5cd173
xor eax, eax
jmp 0x5cd198
sbb eax, eax
or eax, 1
test eax, eax
je 0x5cd1c6
lea eax, [ebp - 0xa00]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x5cd150
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.00663ada
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00663ada
mov esp, ebp
pop ebp
ret
Function at 0x5cd940
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa04
mov eax, dword [0x74e694]
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 0x5cda7f
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 0x5cda70
lea eax, [ebp - 0xa00]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x5cda70
push 0x3e8
lea eax, [ebp - 0x9dc]
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.0066ece0
add esp, 0xc
lea eax, [ebp - 0x3ec]
mov ecx, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x5cd9f5
test dl, dl
je 0x5cd9f1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x5cd9f5
add eax, 2
add ecx, 2
test dl, dl
jne 0x5cd9d5
xor eax, eax
jmp 0x5cd9fa
sbb eax, eax
or eax, 1
test eax, eax
je 0x5cda93
lea eax, [ebp - 0xa00]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x5cda70
push 0x3e8
lea eax, [ebp - 0x9dc]
push eax
lea eax, [ebp - 0x7d4]
push eax
call fcn.0066ece0
add esp, 0xc
lea ecx, [ebp - 0x7d4]
mov eax, ebx
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x5cda56
test dl, dl
je 0x5cda52
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x5cda56
add ecx, 2
add eax, 2
test dl, dl
jne 0x5cda36
xor eax, eax
jmp 0x5cda5b
sbb eax, eax
or eax, 1
test eax, eax
je 0x5cda93
lea eax, [ebp - 0xa00]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x5cda13
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.00663ada
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 0x5cd980
jmp 0x5cda7d
Function at 0x5cdab0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6928aa
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x74e694]
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.005c72f0
mov edx, dword [eax + 0x10]
test edx, edx
je 0x5cdb88
mov ecx, accept
sub ecx, edx
cmp ecx, 0x2c
jb 0x5cdc29
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x5cdb0c
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.005b5360
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.005b51a0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
push ecx
push eax
mov ebx, 7
mov dword [ebp - 0x48], 0
call fcn.005c34c0
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 0x5cdb80
push esi
call fcn.0066a657
mov al, byte [ebp - 0x41]
add esp, 4
mov byte [ebp - 0x41], 1
test al, al
jne 0x5cdb8c
mov byte [ebp - 0x41], 0
test bl, 2
je 0x5cdbd6
mov edx, dword [ebp - 0x14]
and ebx, 0xfffffffd
cmp edx, 0x10
jb 0x5cdbc4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5cdbba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cdc2e
push edx
push ecx
call fcn.00663ac7
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test bl, 1
je 0x5cdc0b
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x5cdc0b
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5cdc01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cdc2e
push edx
push ecx
call fcn.00663ac7
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.00663ada
mov esp, ebp
pop ebp
ret
call fcn.00446f60
call fcn.0066a5fb
int3
Function at 0x5ce850
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6929aa
mov eax, dword fs:[0]
push eax
mov eax, 0xfa40
call fcn.00663af0
mov eax, dword [0x74e694]
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 0x5ce8ca
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 0x5cea75
push eax
lea eax, [ebp - 0xfa40]
push eax
call fcn.005cca50
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 0x5cea49
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 0x5ce940
sub ecx, edx
lea eax, [ebp - 0xfa10]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xfa28]
call fcn.005d2a30
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 0x5ce9a0
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 0x5ce9f4
mov esi, eax
nop
movzx eax, word [edi]
push eax
call fcn.0066f46b
add edi, 2
mov byte [ebx], al
add esp, 4
lea ebx, [ebx + 1]
cmp edi, esi
jne 0x5ce9d0
mov edx, dword [ebp - 0xfa28]
mov esi, dword [ebp - 0xfa4c]
mov eax, dword [ebp - 0xfa14]
cmp eax, 8
jb 0x5cea2a
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5cea20
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cea93
push ecx
push edx
call fcn.00663ac7
add esp, 8
xor eax, eax
mov dword [ebp - 0xfa18], 0
mov dword [ebp - 0xfa14], 7
mov word [ebp - 0xfa28], ax
jmp 0x5cea6a
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.005d2240
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.00663ada
mov esp, ebp
pop ebp
ret
call fcn.0066a5fb
int3
Function at 0x5ced00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 0
je 0x5ced4e
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 0x5cf1f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x74e694]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x74e279], 0
je 0x5cf314
push esi
mov byte [0x74e279], 0
call fcn.005c72f0
mov esi, accept
mov ecx, esi
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, 0x16
jb 0x5cf327
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x5cf239
mov ecx, dword [eax]
push ebx
push edi
push 0x16
push str.MediaGetmediaget.exe
push edx
push ecx
push eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.005b5360
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push eax
call fcn.005c34c0
mov edi, dword [ebp - 0x24]
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
test edi, edi
je 0x5cf28b
push edi
call fcn.0066a657
add esp, 4
mov edx, dword [ebp - 8]
mov byte [0x7544f5], bl
pop edi
pop ebx
cmp edx, 0x10
jb 0x5cf2c3
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5cf2b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cf32c
push edx
push ecx
call fcn.00663ac7
add esp, 8
cmp byte [0x7544f5], 0
jne 0x5cf313
call fcn.005c62a0
mov edx, dword [eax + 0x10]
sub esi, edx
cmp esi, 0x16
jb 0x5cf331
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x5cf2e5
mov ecx, dword [eax]
push 0x16
push str.MediaGetmediaget.exe
push edx
push ecx
push eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.005b5360
lea eax, [ebp - 0x1c]
push eax
call fcn.005c56c0
add esp, 4
mov byte [0x7544f5], al
lea ecx, [ebp - 0x1c]
call fcn.00448860
pop esi
mov ecx, dword [ebp - 4]
mov al, byte [0x7544f5]
xor ecx, ebp
call fcn.00663ada
mov esp, ebp
pop ebp
ret
call fcn.00446f60
call fcn.0066a5fb
call fcn.00446f60
int3
Function at 0x5d1390
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x74e694]
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.005c34c0
add esp, 8
push 4
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x5d13eb
push 4
push dword [ebp - 0x30]
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x5d140f
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor bl, bl
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x5d13fd
push eax
call fcn.0066a657
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.00663ada
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 0x5d13eb
cmp dword [ebp - 0x24], 4
sete bl
jmp 0x5d13ed