joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002864d
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 2]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 3]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 4]
push ebx
push esi
movzx esi, byte [eax + 5]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 6]
movzx ebx, byte [eax + 0xd]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 7]
push edi
movzx edi, byte [eax + 9]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 8]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xa]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xb]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xc]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl edi, 8
or edi, ebx
shl edi, 8
or edi, eax
xor ecx, 0xa3b1bac6
xor edx, 0x56aa3350
xor esi, 0x677d9197
xor edi, 0xb27022dc
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
xor ecx, ecx
mov eax, dword [ecx + 0x1005dbf0]
xor eax, dword [ebp + ecx - 0x20]
xor eax, dword [ebp + ecx - 0x18]
xor eax, dword [ebp + ecx - 0x1c]
mov edx, eax
shr edx, 0x18
mov ebx, eax
movzx edx, dl
mov dl, byte [edx + 0x1005dae0]
shr ebx, 0x10
mov byte [ebp + 0x70], dl
mov byte [ebp + 0x6d], bl
movzx edx, byte [ebp + 0x6d]
mov dl, byte [edx + 0x1005dae0]
mov ebx, eax
movzx eax, al
mov al, byte [eax + 0x1005dae0]
mov byte [ebp + 0x73], al
movzx eax, byte [ebp + 0x70]
shr ebx, 8
movzx edx, dl
shl eax, 8
or eax, edx
movzx esi, bl
mov bl, byte [esi + 0x1005dae0]
shl eax, 8
movzx edx, bl
or eax, edx
movzx edx, byte [ebp + 0x73]
shl eax, 8
or eax, edx
mov edx, eax
rol edx, 0xd
mov esi, eax
ror esi, 9
xor edx, esi
xor edx, dword [ebp + ecx - 0x24]
xor edx, eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp + ecx - 0x14], edx
mov dword [ecx + eax], edx
add ecx, 4
cmp ecx, 0x80
jb 0x100286fc
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret

Function at 0x10028ce4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
lea ecx, [ebp - 0x30]
call fcn.10001862
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax]
lea ecx, [ebp - 8]
call fcn.10006020
jmp 0x10028d2a
lea ecx, [ebp - 8]
call fcn.1001d79b
cmp dword [eax + 0x18], 8
jb 0x10028d18
mov eax, dword [eax + 4]
jmp 0x10028d1b
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 8]
call fcn.10008fa4
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.10006020
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.10005bee
test al, al
je 0x10028d05
lea ecx, [ebp - 0x30]
call fcn.10004fe3
leave
ret
Function at 0x1002907f
Capabilities:
Check if file exists
Copy file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x1006d144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
call fcn.10002a08
mov dword [ebp - 0x230], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.1003c1e0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.drivers
lea eax, [ebp - 0x210]
push eax
call esi
lea edx, [ebp - 0x210]
call fcn.10028ce4
push ebx
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002912b
push eax
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffffff8
add esi, 8
jmp 0x100291bc
push edi
lea ecx, [ebp - 0x210]
call fcn.10002033
test eax, eax
jne 0x100291ba
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x210]
push eax
push edi
call esi
test eax, eax
jne 0x100291ba
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.10028cbe
cmp dword [ebp - 0x214], 8
mov eax, dword [ebp - 0x228]
pop ecx
pop ecx
jae 0x1002917c
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x100291a7
push ebx
lea eax, [ebp - 0x210]
push eax
push edi
call esi
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffffff8
add esi, 8
jmp 0x100291aa
push 9
pop esi
push ebx
push 1
lea ecx, [ebp - 0x22c]
call fcn.10005a26
jmp 0x100291bc
xor esi, esi
push dword [ebp - 0x230]
call fcn.10002a48
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003b824
leave
ret

Function at 0x100299cc
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x1002abd4
Capabilities:
Hash data using sha1

Disassembly:
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x1002bc3e
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call edi
push 0xf
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [esp + 0x10]
call fcn.1000aa36
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1002bc77
push 0x32
push ebx
push esi
call fcn.1000aae2
mov eax, dword [esi]
add esp, 0xc
push 1
mov ecx, esi
call dword [eax]
push ebx
call fcn.10001bd2
test edx, edx
ja 0x1002bc88
cmp eax, 0x400
jbe 0x1002bc8c
mov al, 1
jmp 0x1002bc91
push ebx
call edi
xor al, al
pop edi
pop esi
ret

Function at 0x1002bc94
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x10070048]
test eax, eax
je 0x1002bcb9
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x10070048]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x10070048], 0
ret

Function at 0x1002c5ca
Capabilities:
Read clipboard data

Disassembly:
push 0x24
mov eax, 0x10050d63
call fcn.1003b833
and dword [ebp - 0x14], 0
mov dword [ebp - 0x10], ecx
call fcn.10004ab1
push dword [ebp + 8]
and dword [ebp - 4], 0
xor edi, edi
inc edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x1002c63a
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
shr esi, 1
dec esi
push esi
push eax
lea ecx, [ebp - 0x30]
call fcn.10004ac6
mov ecx, dword [ebp - 0x10]
push 0xffffffffffffffff
push 0
push eax
mov dword [ebp - 4], edi
call fcn.100058fb
push 0
push edi
lea ecx, [ebp - 0x30]
call fcn.10005a26
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x10]
call fcn.1003b90b
ret
Function at 0x1002c783
Capabilities:
Delete file
Read clipboard data

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x1006d144]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 0x54
mov eax, 0x10050dfe
call fcn.1003b833
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push eax
call fcn.1003c1e0
add esp, 0xc
push 0
lea eax, [ebp + 0x1c]
push eax
call fcn.10001fa7
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0x1c]
push eax
call edi
push str..jpg
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov esi, dword [sym.imp.USER32.dll_GetClipboardData]
push 2
call esi
test eax, eax
jne 0x1002c806
push 2
call fcn.1002bbef
pop ecx
push eax
call esi
test eax, eax
je 0x1002c96d
push eax
lea ebx, [ebp + 0x1c]
call fcn.1002bc3e
pop ecx
test al, al
je 0x1002c96d
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x28]
call fcn.1000f564
push 0x100577b0
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.10004aec
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 1
call fcn.1000abb8
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 2
call fcn.1000f714
push str.cl_type
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1000f977
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.10005814
push ebx
push 1
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.10005a26
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.__image__
call fcn.1000f65d
push str.cl_content
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.1000f977
push ebx
lea ecx, [ebp]
mov dword [ebp + 0x18], 0xf
call fcn.10006683
lea eax, [ebp]
push eax
lea ebx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.1002c643
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 6
call fcn.1000f714
push str.cl_procname
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.1000f977
xor esi, esi
mov byte [ebp - 4], 5
push esi
push 1
mov ecx, ebx
call fcn.10005814
sub esp, 0x18
lea eax, [ebp]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.1000f714
push str.cl_hash4k
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.1000f977
push esi
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
push str.t_clipboard_log
call fcn.1001987b
push esi
push 1
lea ecx, [ebp]
call fcn.10005814
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000f8f2
lea eax, [ebp + 0x1c]
push eax
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.1003b824
add ebp, 0x228
leave
ret
Function at 0x1002d129
Capabilities:
Open clipboard

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x1006d144]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x24
mov eax, 0x10050f21
call fcn.1003b833
push 0x10057818
mov edi, ecx
call fcn.1001e176
pop ecx
test eax, eax
je 0x1002d284
cmp dword [ebp + 0x214], 1
jne 0x1002d1c0
xor esi, esi
cmp dword [0x1007003c], esi
je 0x1002d284
call fcn.10002d60
sub eax, dword [0x10070040]
sbb edx, dword [0x10070044]
mov dword [ebp - 0x10], edx
jne 0x1002d19a
cmp eax, 0xbb8
jbe 0x1002d284
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1002d1b5
call fcn.1002ce3c
call fcn.1002c783
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x1007003c], esi
jmp 0x1002d284
cmp dword [ebp + 0x214], 2
jne 0x1002d284
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1002d284
cmp edi, dword [0x1007004c]
je 0x1002d284
lea eax, [ebp - 0x10]
push eax
xor esi, esi
push edi
mov dword [0x1007004c], edi
mov dword [ebp - 0x10], esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0x10], esi
je 0x1002d275
xor eax, eax
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push esi
push eax
call fcn.1003c1e0
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call fcn.10003644
test eax, eax
je 0x1002d284
lea eax, [ebp]
push eax
mov ecx, 0x10070050
call fcn.10005a02
push esi
push esi
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
push eax
call fcn.1000afa5
add esp, 0x10
push 0xffffffffffffffff
push esi
push eax
mov ecx, 0x1007006c
mov dword [ebp - 4], esi
call fcn.100056ed
push esi
push 1
lea ecx, [ebp - 0x30]
call fcn.10005814
jmp 0x1002d284
push 0x10057810
mov ecx, 0x10070050
call fcn.10005a02
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1003b824
add ebp, 0x20c
leave
ret
Function at 0x1002dc5a
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x1006d144]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x24
mov eax, 0x10050f86
call fcn.1003b833
xor ebx, ebx
cmp esi, ebx
jne 0x1002dcb1
push 0x10057c74
call fcn.1001e176
pop ecx
test eax, eax
jne 0x1002dd08
push 0x10
push 0x1005ec90
push 0x10057c5c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1002de9a
cmp esi, 1
jne 0x1002dcd3
push 0x10057c34
call fcn.1001e176
pop ecx
test eax, eax
jne 0x1002dd08
push 0x10
push 0x1005ec90
push 0x10057c1c
jmp 0x1002dc9f
cmp esi, 2
jne 0x1002dd81
push str.DocwmManual
call fcn.1001e176
pop ecx
test eax, eax
jne 0x1002dcf9
push 0x10
push 0x1005ec90
push 0x10057bec
jmp 0x1002dc9f
push str.DocwmManualAdd
call fcn.1001e176
pop ecx
test eax, eax
je 0x1002dceb
xor eax, eax
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.1003c1e0
add esp, 0xc
cmp esi, ebx
je 0x1002dd30
mov dword [ebp - 0x14], 0x10057bc0
cmp esi, 1
jne 0x1002dd37
mov dword [ebp - 0x14], 0x10057bac
push 0x104
lea eax, [ebp]
push eax
push str.wfchost.exe
push dword [0x10070324]
call fcn.100022e2
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002ddbd
push dword [ebp - 0x14]
push str.gb0R_
push 0x10
push 0x1005ec90
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call fcn.10002473
add esp, 0x14
jmp 0x1002de9a
cmp esi, 3
jne 0x1002dd08
push str.DocwmManual
call fcn.1001e176
pop ecx
test eax, eax
je 0x1002dceb
push str.DocwmManualRemove
call fcn.1001e176
pop ecx
test eax, eax
jne 0x1002dd08
push 0x10
push 0x1005ec90
push 0x10057b60
jmp 0x1002dc9f
cmp esi, ebx
jne 0x1002ddc8
mov eax, str._encrypt
jmp 0x1002de27
cmp esi, 1
jne 0x1002ddea
push 0x10057b20
call fcn.1001e176
pop ecx
test eax, eax
je 0x1002dde3
mov eax, str._decrypt
jmp 0x1002de27
mov eax, str._decryptNoReq
jmp 0x1002de27
cmp esi, 2
jne 0x1002ddf6
mov eax, str._addDocwm
jmp 0x1002de27
cmp esi, 3
jne 0x1002de18
push str.DocwmManualRemoveNeedToApprove
call fcn.1001e176
pop ecx
test eax, eax
je 0x1002de11
mov eax, str._removeDocwmReq
jmp 0x1002de27
mov eax, str._removeDocwm
jmp 0x1002de27
mov eax, str._decMailReq
cmp esi, 4
je 0x1002de27
mov eax, 0x1005d1ec
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x30]
push str.__s___s__shl
push eax
call fcn.10004194
add esp, 0x10
cmp dword [eax + 0x18], 8
mov dword [ebp - 4], ebx
jb 0x1002de4b
mov eax, dword [eax + 4]
jmp 0x1002de4e
add eax, 4
push 1
push ebx
push eax
call fcn.10002ee2
mov dword [ebp - 0x10], eax
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.10005a26
cmp dword [ebp - 0x10], ebx
je 0x1002de74
cmp dword [ebp - 0x10], 0xffffffff
jne 0x1002de92
push dword [ebp - 0x14]
push 0x10057a1c
push 0x10
push 0x1005ec90
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call fcn.10002473
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.10001336
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1003b824
add ebp, 0x20c
leave
ret
Function at 0x1002debd
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x1006d144]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 4
mov eax, 0x10053753
call fcn.1003b833
mov eax, dword [ebp + 0x234]
mov esi, dword [ebp + 0x230]
mov edi, dword [ebp + 0x238]
mov dword [ebp - 0x10], eax
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push eax
call fcn.1003c1e0
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1c]
push eax
push esi
push dword [0x10070324]
call fcn.100022e2
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002df51
push dword [ebp - 0x10]
push str.gb0R_
push 0x10
push 0x1005ec90
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call fcn.10002473
add esp, 0x14
jmp 0x1002dfb8
test edi, edi
jne 0x1002df5a
mov edi, 0x1005d1ec
push edi
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp]
push str.__s___s
push eax
call fcn.10004194
add esp, 0x10
and dword [ebp - 4], 0
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x1002df80
lea eax, [ebp + 4]
push 1
push 0
push eax
call fcn.10002ee2
test eax, eax
jne 0x1002dfac
push dword [ebp - 0x10]
push 0x10057c9c
push 0x10
push 0x1005ec90
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call fcn.10002473
add esp, 0x14
push 0
push 1
lea ecx, [ebp]
call fcn.10005a26
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.1003b824
add ebp, 0x228
leave
ret

Function at 0x1002e2a1
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x10051006
call fcn.1003b866
xor edi, edi
mov dword [ebp - 4], edi
push 0x18
mov byte [ebp - 4], 1
call fcn.1003b38d
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
cmp esi, edi
je 0x1002e2da
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.10026709
mov eax, esi
jmp 0x1002e2dc
xor eax, eax
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
push 0x1002e1fe
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
mov esi, eax
call fcn.10006046
mov eax, esi
jmp 0x1002e316
call fcn.1003b90b
ret
Function at 0x10030c06
Capabilities:
Create thread

Disassembly:
push dword [0x100700e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x10030c2d
push eax
push eax
push eax
push 0x10030b28
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret

Function at 0x10030f48
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x10030f99
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x10030faa
push 0xd
pop eax
jmp 0x10030fd7
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x10030fad
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x10031477
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1006d144]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.1003c1e0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.actmon32.dll
push dword [0x10070324]
call fcn.100022e2
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100314d8
inc eax
jmp 0x100314e7
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003b824
leave
ret

Function at 0x10031798
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x1006d144]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.10030f07
mov ebx, eax
cmp ebx, esi
je 0x10031808
lea ecx, [ebp - 0x70]
call fcn.10030e92
mov eax, ebx
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003b824
add ebp, 0x19c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x10031820
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.10031798
cmp eax, esi
jne 0x10031852
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], pe_nt_image_headers32
call ebx
test eax, eax
je 0x10031810
lea ecx, [ebp - 0x70]
call fcn.10030e92
push dword [ebp - 0x78]
mov ecx, edi
call fcn.10030e37
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.10030e92
mov eax, esi
jmp 0x100317ee
Function at 0x10034bce
Capabilities:
Print debug messages

Disassembly:
push 0x40
mov eax, 0x10051b36
call fcn.1003b89c
call fcn.1001c788
test al, al
jne 0x10034c87
lea eax, [ebp - 0x2c]
push 1
push eax
call fcn.1002e758
pop ecx
pop ecx
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], esi
je 0x10034c7c
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10034c0a
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x4c]
push str._s__i
push eax
call fcn.10004194
add esp, 0xc
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 1
jb 0x10034c2b
mov eax, dword [eax + 4]
jmp 0x10034c2e
add eax, 4
push 1
push esi
push eax
call fcn.10002ee2
mov dword [ebp - 0x30], eax
push esi
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.10005a26
cmp dword [ebp - 0x30], esi
je 0x10034c61
cmp dword [ebp - 0x30], 0xffffffff
je 0x10034c61
push str.CFID_POBUS_fixed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x10034c74
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CFID_POBUS_start_failed:__d
call fcn.100222a8
pop ecx
pop ecx
lea ecx, [ebp - 0x30]
call fcn.10001336
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10005a26
call fcn.1003b91f
ret 0x10
Function at 0x100357e5
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebx
push ebp
xor ebp, ebp
inc ebp
cmp dword [esp + 0x10], ebp
jne 0x1003590b
push esi
push edi
mov edi, dword [esp + 0x14]
push edi
mov dword [0x10070324], edi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0x104
mov esi, 0x10070118
push esi
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [0x10070320], eax
call fcn.1001a9db
test eax, eax
je 0x1003583b
push 0x1003500e
push edi
call fcn.10019feb
mov eax, dword [0x10070320]
cmp eax, ebx
je 0x100358cd
push str.explorer.exe
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100358c8
call fcn.1001e928
call fcn.10039c5b
call fcn.1002d561
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
push ebx
push ebx
push 0x100314f3
push ebx
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebx
push ebx
push 0x10034c8f
push ebx
push ebx
call esi
mov dword [0x10070328], eax
mov dword [0x10070110], ebp
call fcn.1003a810
mov ecx, eax
call fcn.1003ad5b
call fcn.10030c06
call fcn.10038d69
pop edi
pop esi
cmp byte [0x100700ec], bl
jne 0x100358b9
mov ebx, ebp
mov eax, dword [esp + 0x10]
neg eax
sbb eax, eax
pop ebp
and eax, ebx
pop ebx
ret 0xc
mov eax, dword [0x10070320]
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push str.360desktop
push eax
mov edi, eax
call esi
test eax, eax
jne 0x100358f9
push str.360FileBrowser
push edi
call esi
test eax, eax
jne 0x100358f9
push str.kdesktopservice
push edi
call esi
test eax, eax
je 0x100358ad
mov dword [0x10070114], ebp
call fcn.1001e928
call fcn.10039c5b
jmp 0x100358ad
xor ebx, ebx
cmp dword [esp + 0x10], ebx
jne 0x100358b7
cmp dword [0x10070110], ebx
je 0x1003595e
call fcn.10048b57
mov eax, dword [0x10070328]
cmp eax, ebx
je 0x10035943
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x10070328]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x10070328], ebx
call fcn.1002bc94
call fcn.1003a810
mov ecx, eax
call fcn.1003a83d
call fcn.1002d5f5
jmp 0x100358b7
cmp dword [0x10070114], ebx
je 0x100358b7
call fcn.10048b57
jmp 0x100358b7