joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10028257
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 + 0x1005ca40]
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 + 0x1005c930]
shr ebx, 0x10
mov byte [ebp + 0x70], dl
mov byte [ebp + 0x6d], bl
movzx edx, byte [ebp + 0x6d]
mov dl, byte [edx + 0x1005c930]
mov ebx, eax
movzx eax, al
mov al, byte [eax + 0x1005c930]
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 + 0x1005c930]
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 0x10028306
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret

Function at 0x100288ee
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
lea ecx, [ebp - 0x30]
call fcn.10001845
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax]
lea ecx, [ebp - 8]
call fcn.10005c95
jmp 0x10028934
lea ecx, [ebp - 8]
call fcn.1001d535
cmp dword [eax + 0x18], 8
jb 0x10028922
mov eax, dword [eax + 4]
jmp 0x10028925
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 8]
call fcn.10008f23
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.10005c95
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.100249c9
test al, al
je 0x1002890f
lea ecx, [ebp - 0x30]
call fcn.10005063
leave
ret
Function at 0x10028c89
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 [0x1006c144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
call fcn.100029ad
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.1003af40
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.100288ee
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 0x10028d35
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 0x10028dc6
push edi
lea ecx, [ebp - 0x210]
call fcn.10001fd8
test eax, eax
jne 0x10028dc4
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 0x10028dc4
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.100288c8
cmp dword [ebp - 0x214], 8
mov eax, dword [ebp - 0x228]
pop ecx
pop ecx
jae 0x10028d86
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x10028db1
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 0x10028db4
push 9
pop esi
push ebx
push 1
lea ecx, [ebp - 0x22c]
call fcn.10005a9d
jmp 0x10028dc6
xor esi, esi
push dword [ebp - 0x230]
call fcn.100029ed
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003a584
leave
ret

Function at 0x100295d6
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 0x1002a7de
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 0x1002b784
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.1000a9e3
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1002b7bd
push 0x32
push ebx
push esi
call fcn.1000aa8f
mov eax, dword [esi]
add esp, 0xc
push 1
mov ecx, esi
call dword [eax]
push ebx
call fcn.10001b77
test edx, edx
ja 0x1002b7ce
cmp eax, 0x400
jbe 0x1002b7d2
mov al, 1
jmp 0x1002b7d7
push ebx
call edi
xor al, al
pop edi
pop esi
ret

Function at 0x1002b7da
Capabilities:
Terminate thread

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

Function at 0x1002c104
Capabilities:
Read clipboard data

Disassembly:
push 0x24
mov eax, 0x1004fa87
call fcn.1003a593
and dword [ebp - 0x14], 0
mov dword [ebp - 0x10], ecx
call fcn.10004afa
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 0x1002c174
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.10004b0f
mov ecx, dword [ebp - 0x10]
push 0xffffffffffffffff
push 0
push eax
mov dword [ebp - 4], edi
call fcn.10005972
push 0
push edi
lea ecx, [ebp - 0x30]
call fcn.10005a9d
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x10]
call fcn.1003a66b
ret
Function at 0x1002c2bd
Capabilities:
Delete file
Read clipboard data

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x1006c144]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 0x54
mov eax, 0x1004fb22
call fcn.1003a593
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push eax
call fcn.1003af40
add esp, 0xc
push 0
lea eax, [ebp + 0x1c]
push eax
call fcn.10001f4c
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 0x1002c340
push 2
call fcn.1002b735
pop ecx
push eax
call esi
test eax, eax
je 0x1002c4a7
push eax
lea ebx, [ebp + 0x1c]
call fcn.1002b784
pop ecx
test al, al
je 0x1002c4a7
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x28]
call fcn.1000f4f5
push 0x1005679c
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.10004b35
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 1
call fcn.1000ab65
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 2
call fcn.1000f6a5
push str.cl_type
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1000f908
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.1000588b
push ebx
push 1
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.10005a9d
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.__image__
call fcn.1000f5ee
push str.cl_content
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.1000f908
push ebx
lea ecx, [ebp]
mov dword [ebp + 0x18], 0xf
call fcn.10006679
lea eax, [ebp]
push eax
lea ebx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.1002c17d
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 6
call fcn.1000f6a5
push str.cl_procname
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.1000f908
xor esi, esi
mov byte [ebp - 4], 5
push esi
push 1
mov ecx, ebx
call fcn.1000588b
sub esp, 0x18
lea eax, [ebp]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.1000f6a5
push str.cl_hash4k
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.1000f908
push esi
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
push str.t_clipboard_log
call fcn.100197b7
push esi
push 1
lea ecx, [ebp]
call fcn.1000588b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000f883
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.1003a584
add ebp, 0x228
leave
ret
Function at 0x1002cc63
Capabilities:
Open clipboard

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x1006c144]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x24
mov eax, 0x1004fc45
call fcn.1003a593
push 0x10056804
mov edi, ecx
call fcn.1001df7d
pop ecx
test eax, eax
je 0x1002cdbe
cmp dword [ebp + 0x214], 1
jne 0x1002ccfa
xor esi, esi
cmp dword [0x1006ef3c], esi
je 0x1002cdbe
call fcn.10002cf3
sub eax, dword [0x1006ef40]
sbb edx, dword [0x1006ef44]
mov dword [ebp - 0x10], edx
jne 0x1002ccd4
cmp eax, 0xbb8
jbe 0x1002cdbe
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1002ccef
call fcn.1002c976
call fcn.1002c2bd
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x1006ef3c], esi
jmp 0x1002cdbe
cmp dword [ebp + 0x214], 2
jne 0x1002cdbe
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1002cdbe
cmp edi, dword [0x1006ef4c]
je 0x1002cdbe
lea eax, [ebp - 0x10]
push eax
xor esi, esi
push edi
mov dword [0x1006ef4c], edi
mov dword [ebp - 0x10], esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0x10], esi
je 0x1002cdaf
xor eax, eax
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push esi
push eax
call fcn.1003af40
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call fcn.10003630
test eax, eax
je 0x1002cdbe
lea eax, [ebp]
push eax
mov ecx, 0x1006ef50
call fcn.10005a79
push esi
push esi
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
push eax
call fcn.1000af52
add esp, 0x10
push 0xffffffffffffffff
push esi
push eax
mov ecx, 0x1006ef6c
mov dword [ebp - 4], esi
call fcn.10005764
push esi
push 1
lea ecx, [ebp - 0x30]
call fcn.1000588b
jmp 0x1002cdbe
push 0x100567fc
mov ecx, 0x1006ef50
call fcn.10005a79
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.1003a584
add ebp, 0x20c
leave
ret
Function at 0x1002d486
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x1006c144]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x24
mov eax, 0x1004fc7d
call fcn.1003a593
xor ebx, ebx
cmp esi, ebx
jne 0x1002d4dd
push 0x10056c34
call fcn.1001df7d
pop ecx
test eax, eax
jne 0x1002d534
push 0x10
push 0x1005da94
push 0x10056c1c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1002d6bc
cmp esi, 1
jne 0x1002d4ff
push 0x10056bf4
call fcn.1001df7d
pop ecx
test eax, eax
jne 0x1002d534
push 0x10
push 0x1005da94
push 0x10056bdc
jmp 0x1002d4cb
cmp esi, 2
jne 0x1002d5ad
push str.DocwmManual
call fcn.1001df7d
pop ecx
test eax, eax
jne 0x1002d525
push 0x10
push 0x1005da94
push 0x10056bac
jmp 0x1002d4cb
push str.DocwmManualAdd
call fcn.1001df7d
pop ecx
test eax, eax
je 0x1002d517
xor eax, eax
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.1003af40
add esp, 0xc
cmp esi, ebx
je 0x1002d55c
mov dword [ebp - 0x14], 0x10056b80
cmp esi, 1
jne 0x1002d563
mov dword [ebp - 0x14], 0x10056b6c
push 0x104
lea eax, [ebp]
push eax
push str.wfchost.exe
push dword [0x1006f224]
call fcn.10002287
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002d5e9
push dword [ebp - 0x14]
push str.gb0R_
push 0x10
push 0x1005da94
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call fcn.10002418
add esp, 0x14
jmp 0x1002d6bc
cmp esi, 3
jne 0x1002d534
push str.DocwmManual
call fcn.1001df7d
pop ecx
test eax, eax
je 0x1002d517
push str.DocwmManualRemove
call fcn.1001df7d
pop ecx
test eax, eax
jne 0x1002d534
push 0x10
push 0x1005da94
push 0x10056b20
jmp 0x1002d4cb
cmp esi, ebx
jne 0x1002d5f4
mov eax, str._encrypt
jmp 0x1002d649
cmp esi, 1
jne 0x1002d616
push 0x10056ae0
call fcn.1001df7d
pop ecx
test eax, eax
je 0x1002d60f
mov eax, str._decrypt
jmp 0x1002d649
mov eax, str._decryptNoReq
jmp 0x1002d649
cmp esi, 2
jne 0x1002d622
mov eax, str._addDocwm
jmp 0x1002d649
cmp esi, 3
jne 0x1002d644
push str.DocwmManualRemoveNeedToApprove
call fcn.1001df7d
pop ecx
test eax, eax
je 0x1002d63d
mov eax, str._removeDocwmReq
jmp 0x1002d649
mov eax, str._removeDocwm
jmp 0x1002d649
mov eax, 0x1005c03c
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x30]
push str.__s___s__shl
push eax
call fcn.100041e7
add esp, 0x10
cmp dword [eax + 0x18], 8
mov dword [ebp - 4], ebx
jb 0x1002d66d
mov eax, dword [eax + 4]
jmp 0x1002d670
add eax, 4
push 1
push ebx
push eax
call fcn.10002e75
mov dword [ebp - 0x10], eax
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.10005a9d
cmp dword [ebp - 0x10], ebx
je 0x1002d696
cmp dword [ebp - 0x10], 0xffffffff
jne 0x1002d6b4
push dword [ebp - 0x14]
push 0x100569f4
push 0x10
push 0x1005da94
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call fcn.10002418
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.10001319
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.1003a584
add ebp, 0x20c
leave
ret
Function at 0x1002d6df
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x1006c144]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 4
mov eax, 0x10052400
call fcn.1003a593
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.1003af40
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1c]
push eax
push esi
push dword [0x1006f224]
call fcn.10002287
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002d773
push dword [ebp - 0x10]
push str.gb0R_
push 0x10
push 0x1005da94
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call fcn.10002418
add esp, 0x14
jmp 0x1002d7da
test edi, edi
jne 0x1002d77c
mov edi, 0x1005c03c
push edi
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp]
push str.__s___s
push eax
call fcn.100041e7
add esp, 0x10
and dword [ebp - 4], 0
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x1002d7a2
lea eax, [ebp + 4]
push 1
push 0
push eax
call fcn.10002e75
test eax, eax
jne 0x1002d7ce
push dword [ebp - 0x10]
push 0x10056c5c
push 0x10
push 0x1005da94
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call fcn.10002418
add esp, 0x14
push 0
push 1
lea ecx, [ebp]
call fcn.10005a9d
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.1003a584
add ebp, 0x228
leave
ret

Function at 0x1002da80
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x1004fd2a
call fcn.1003a5c6
xor edi, edi
mov dword [ebp - 4], edi
push 0x18
mov byte [ebp - 4], 1
call fcn.1003a0ed
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
cmp esi, edi
je 0x1002dab9
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.10026313
mov eax, esi
jmp 0x1002dabb
xor eax, eax
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
push 0x1002da03
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.1000604a
mov eax, esi
jmp 0x1002daf5
call fcn.1003a66b
ret
Function at 0x1002f769
Capabilities:
Create thread

Disassembly:
push dword [0x1006efe8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1002f790
push eax
push eax
push eax
push 0x1002f68b
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret

Function at 0x1002faab
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 0x1002fafc
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x1002fb0d
push 0xd
pop eax
jmp 0x1002fb3a
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 0x1002fb10
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 0x1002ffd8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1006c144]
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.1003af40
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.actmon32.dll
push dword [0x1006f224]
call fcn.10002287
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10030039
inc eax
jmp 0x10030048
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.1003a584
leave
ret

Function at 0x100302fc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x1006c144]
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.1002fa6a
mov ebx, eax
cmp ebx, esi
je 0x1003036c
lea ecx, [ebp - 0x70]
call fcn.1002f9f5
mov eax, ebx
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003a584
add ebp, 0x19c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x10030384
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.100302fc
cmp eax, esi
jne 0x100303b6
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 0x10030374
lea ecx, [ebp - 0x70]
call fcn.1002f9f5
push dword [ebp - 0x78]
mov ecx, edi
call fcn.1002f99a
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.1002f9f5
mov eax, esi
jmp 0x10030352
Function at 0x100344ba
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebx
push ebp
xor ebp, ebp
inc ebp
cmp dword [esp + 0x10], ebp
jne 0x100345e0
push esi
push edi
mov edi, dword [esp + 0x14]
push edi
mov dword [0x1006f224], edi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0x104
mov esi, 0x1006f018
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 [0x1006f220], eax
call fcn.1001a8c6
test eax, eax
je 0x10034510
push 0x10033d13
push edi
call fcn.10019f26
mov eax, dword [0x1006f220]
cmp eax, ebx
je 0x100345a2
push str.explorer.exe
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1003459d
call fcn.1001e7bd
call fcn.100389be
call fcn.1002d09b
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
push ebx
push ebx
push 0x10030054
push ebx
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebx
push ebx
push 0x100337eb
push ebx
push ebx
call esi
mov dword [0x1006f228], eax
mov dword [0x1006f010], ebp
call fcn.10039573
mov ecx, eax
call fcn.10039abe
call fcn.1002f769
call fcn.10037b13
pop edi
pop esi
cmp byte [0x1006efec], bl
jne 0x1003458e
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 [0x1006f220]
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push str.360desktop
push eax
mov edi, eax
call esi
test eax, eax
jne 0x100345ce
push str.360FileBrowser
push edi
call esi
test eax, eax
jne 0x100345ce
push str.kdesktopservice
push edi
call esi
test eax, eax
je 0x10034582
mov dword [0x1006f014], ebp
call fcn.1001e7bd
call fcn.100389be
jmp 0x10034582
xor ebx, ebx
cmp dword [esp + 0x10], ebx
jne 0x1003458c
cmp dword [0x1006f010], ebx
je 0x10034633
call fcn.10042cc5
mov eax, dword [0x1006f228]
cmp eax, ebx
je 0x10034618
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x1006f228]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1006f228], ebx
call fcn.1002b7da
call fcn.10039573
mov ecx, eax
call fcn.100395a0
call fcn.1002d12f
jmp 0x1003458c
cmp dword [0x1006f014], ebx
je 0x1003458c
call fcn.10042cc5
jmp 0x1003458c
Function at 0x100349fa
Capabilities:
Delete registry value

Disassembly:
push 0x38
mov eax, 0x100509e6
call fcn.1003a593
cmp dword [ebp + 8], 0
je 0x10034a5d
mov dword [ebp + 8], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [ebp - 0x28]
push 0x1005d9e0
push eax
call fcn.100041e7
add esp, 0xc
and dword [ebp - 4], 0
cmp dword [eax + 0x18], 8
jb 0x10034a3a
mov eax, dword [eax + 4]
jmp 0x10034a3d
add eax, 4
push 4
lea ecx, [ebp + 8]
push ecx
push 4
push eax
push str.Softwareprojonepodlp_volatilehookBypass_
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.100046cc
add esp, 0x18
lea ecx, [ebp - 0x28]
jmp 0x10034a97
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [ebp - 0x44]
push 0x1005d9e0
push eax
call fcn.100041e7
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x10034a80
mov eax, dword [eax + 4]
jmp 0x10034a83
add eax, 4
push eax
push str.Softwareprojonepodlp_volatilehookBypass_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea ecx, [ebp - 0x44]
push 0
push 1
call fcn.10005a9d
call fcn.1003a66b
ret