joyce8/EMBER2024-capa huggingface dataset:
Function at 0x536541
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e32e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push 0x7d0
lea ecx, [ebp - 0x14]
call fcn.00499510
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x7d0
lea ecx, [ebp - 0x14]
call fcn.0049eca0
push eax
call fcn.00497330
add esp, 0x10
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x14]
call fcn.0049eca0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004995e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x536f10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.00537240
and eax, 0xff
test eax, eax
jne 0x536f48
xor eax, eax
jmp 0x536f86
cmp dword [ebp + 0xc], 0
jne 0x536f53
mov eax, dword [ebp - 4]
jmp 0x536f86
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x536f90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.005372c0
and eax, 0xff
test eax, eax
jne 0x536fc8
xor eax, eax
jmp 0x536ffb
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x537010
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x537025
xor al, al
jmp 0x537066
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
cmp dword [eax + 0xc], 0
sete cl
mov al, cl
mov esp, ebp
pop ebp
ret 8
Function at 0x537070
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x537085
xor al, al
jmp 0x5370d2
cmp dword [ebp + 0xc], 0
jne 0x537092
mov dword [ebp + 0xc], 0x6e1678
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00578690
add esp, 4
add eax, 1
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 8]
xor eax, eax
cmp dword [edx + 0xc], 0
sete al
mov esp, ebp
pop ebp
ret 8

Function at 0x5370e0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x5370f3
xor al, al
jmp 0x537115
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
xor eax, eax
cmp dword [edx + 0xc], 0
sete al
mov esp, ebp
pop ebp
ret 4

Function at 0x537120
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x537133
xor al, al
jmp 0x537155
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
xor eax, eax
cmp dword [edx + 0xc], 0
sete al
mov esp, ebp
pop ebp
ret 4
Function at 0x537160
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x537178
xor al, al
jmp 0x537238
cmp dword [ebp + 8], 0
je 0x5371a5
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
xor eax, eax
cmp dword [edx + 0xc], 0
sete al
jmp 0x537238
push 0x5c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
push ecx
call fcn.0049d960
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5371c3
xor al, al
jmp 0x537238
mov edx, dword [ebp - 4]
mov word [edx], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 2
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
mov word [edx], 0x5c
cmp dword [ebp - 8], 0
jne 0x537205
cmp dword [ebp - 0xc], 0
jne 0x537209
xor al, al
jmp 0x537238
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp dword [eax + 0xc], 0
sete cl
mov al, cl
mov esp, ebp
pop ebp
ret 4

Function at 0x537240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
cmp dword [ebp + 0x10], 0
je 0x537261
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
mov edx, dword [ebp - 8]
cmp dword [edx], 0
jne 0x53726d
xor al, al
jmp 0x5372b0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
cmp dword [ebp + 0x10], 0
je 0x5372a4
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov edx, dword [ebp - 8]
xor eax, eax
cmp dword [edx + 0xc], 0
sete al
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5372c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
cmp dword [ebp + 0x10], 0
je 0x5372e1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
mov edx, dword [ebp - 8]
cmp dword [edx], 0
jne 0x5372ed
xor al, al
jmp 0x537330
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
cmp dword [ebp + 0x10], 0
je 0x537324
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov edx, dword [ebp - 8]
xor eax, eax
cmp dword [edx + 0xc], 0
sete al
mov esp, ebp
pop ebp
ret 0xc

Function at 0x53777a
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e4ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
cmp dword [ebp + 8], 0
jne 0x5377a0
or eax, 0xffffffff
jmp 0x537808
push 0x6b5dc0
push 1
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.004bb300
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
call fcn.004b9da0
mov byte [ebp - 0x10], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004995e0
mov edx, dword [ebp - 0x10]
and edx, 0xff
test edx, edx
je 0x5377f7
push 0x6b5dc4
mov ecx, dword [ebp + 8]
call fcn.005357f0
push 0
mov ecx, dword [ebp + 8]
call fcn.0049eca0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x537b80
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e54d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 0x20], ecx
cmp dword [ebp + 0x10], 0
je 0x537be0
mov ecx, dword [ebp + 0x10]
call fcn.0049eca0
push eax
call fcn.00537735
add esp, 4
and eax, 0xff
test eax, eax
jne 0x537be0
mov eax, dword [ebp + 0x10]
push eax
call fcn.0053777a
add esp, 4
test eax, eax
jne 0x537be0
push 0x6b5dc8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x537cd8
mov cl, byte [ebp + 8]
mov byte [0x6f0654], cl
mov dl, byte [ebp + 0xc]
mov byte [0x6f0655], dl
xor eax, eax
mov al, byte [0x6f0654]
test eax, eax
jne 0x537c1b
xor ecx, ecx
mov cl, byte [0x6f0655]
test ecx, ecx
jne 0x537c1b
push 0x6b5e14
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x537cd8
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x10]
call fcn.00540f00
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
je 0x537c43
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x10]
call fcn.00499600
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x20]
call fcn.0053a33c
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, 0x6f0650
call fcn.00499600
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004995e0
push 1
push 0x537904
push 0x6f0708
mov ecx, 0x6f0688
call fcn.00535500
push 1
push 0x5379f6
push 0x6f06a4
mov ecx, 0x6f0670
call fcn.00535500
push 1
push 0x537abd
push 0x6f06c0
mov ecx, 0x6f06f0
call fcn.00535500
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004995e0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x538a3a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0x14], 0xffffffff
jne 0x538a99
mov ecx, 0x6f0640
call fcn.00535620
push 0
push 0
mov ecx, 0x6f0658
call fcn.004d4560
push 0
push 0
mov ecx, 0x6f065c
call fcn.004d4560
mov dword [0x6f0664], 0
mov dword [0x6f0668], 0
mov byte [0x6f0660], 0
mov byte [0x6f066c], 0
mov al, 1
jmp 0x538c2d
mov ecx, dword [ebp + 8]
call fcn.004ba340
test eax, eax
jne 0x538ab7
push 0x6b6034
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor al, al
jmp 0x538c2d
mov ecx, dword [ebp + 8]
call fcn.004ba340
mov esi, eax
mov ecx, dword [ebp + 0xc]
call fcn.004ba340
cmp esi, eax
je 0x538adf
push 0x6b6054
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor al, al
jmp 0x538c2d
mov ecx, 0x6f0658
call fcn.004ba340
cmp eax, 1
jne 0x538b2b
push 0x6f0724
push 0
mov ecx, 0x6f0658
call fcn.0053e7d0
mov ecx, eax
call fcn.004b9d60
and eax, 0xff
test eax, eax
je 0x538b2b
push 0
push 0
mov ecx, 0x6f0658
call fcn.004d4560
push 0
push 0
mov ecx, 0x6f065c
call fcn.004d4560
mov ecx, 0x6f0658
call fcn.004ba340
test eax, eax
jle 0x538bac
mov dword [ebp - 8], 0
jmp 0x538b4b
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
call fcn.004ba340
cmp dword [ebp - 8], eax
jge 0x538baa
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0053e7d0
push eax
call fcn.00538429
add esp, 4
and eax, 0xff
test eax, eax
jne 0x538ba8
push 0xffffffffffffffff
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp + 8]
call fcn.0053e7d0
push eax
mov ecx, 0x6f0658
call fcn.004d3e30
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0053e7d0
push eax
mov ecx, 0x6f065c
call fcn.004d3e30
jmp 0x538b42
jmp 0x538bff
mov dword [ebp - 0xc], 0
jmp 0x538bbe
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 8]
call fcn.004ba340
cmp dword [ebp - 0xc], eax
jge 0x538bff
push 0xffffffffffffffff
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.0053e7d0
push eax
mov ecx, 0x6f0658
call fcn.004d3e30
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0053e7d0
push eax
mov ecx, 0x6f065c
call fcn.004d3e30
jmp 0x538bb5
mov cl, byte [ebp + 0x10]
mov byte [0x6f0660], cl
mov edx, dword [ebp + 0x14]
mov dword [0x6f0664], edx
push 1
push 0x538740
push 0x6f0704
mov ecx, 0x6f0640
call fcn.00535500
mov byte [ebp - 4], al
mov al, byte [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x538d69
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e6c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x14]
call fcn.00540f00
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x538da8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00499600
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.0053c7ba
cmp dword [ebp + 8], 0
je 0x538dcd
push 0
mov ecx, dword [ebp + 8]
call fcn.0053e480
xor edx, edx
mov dx, word [eax]
test edx, edx
jne 0x538dd7
mov ecx, 0x6f06e0
call fcn.00535620
push 0
push 0x6b6090
lea ecx, [ebp - 0x1c]
call fcn.00499550
mov byte [ebp - 4], 1
push 1
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.004b9e50
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
mov byte [ebp - 0x18], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004995e0
mov edx, dword [ebp - 0x18]
and edx, 0xff
test edx, edx
je 0x538e41
push 0x6b6094
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004995e0
mov al, byte [ebp - 0x20]
jmp 0x538e80
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x6f06a0
call fcn.00499600
push 1
push 0x538c99
push 0x6f05f8
mov ecx, 0x6f06e0
call fcn.00535500
mov byte [ebp - 0x10], al
mov cl, byte [ebp - 0x10]
mov byte [ebp - 0x24], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004995e0
mov al, byte [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x53b87a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x6f0744
push str._InetCpl.cpl__ClearMyTracksByProcess_2
push str.rundll32.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x53da40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x53da55
xor eax, eax
jmp 0x53da7d
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esp, ebp
pop ebp
ret 4

Function at 0x53ded0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x53dee3
xor al, al
jmp 0x53df11
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
cmp dword [eax + 0xc], 0
sete cl
mov al, cl
mov esp, ebp
pop ebp
ret 8
Function at 0x53df20
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x6e3ec4
mov ecx, dword [ebp + 0x10]
call fcn.004b9d00
mov dword [ebp - 8], 0
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x53df5a
xor eax, eax
jmp 0x53e082
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0x8003
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x53df83
xor eax, eax
jmp 0x53e082
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x53dfa2
xor eax, eax
jmp 0x53e082
mov dword [ebp - 0x10], 4
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 2
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x53dfc8
xor eax, eax
jmp 0x53e082
mov edx, dword [ebp - 0x10]
push edx
call fcn.005767d7
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x53dfe4
xor eax, eax
jmp 0x53e082
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 2
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x53e057
mov dword [ebp - 0x14], 0
jmp 0x53e010
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x10]
jae 0x53e057
mov word [ebp - 0x1c], 0
xor edx, edx
mov dword [ebp - 0x1a], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
mov cl, byte [eax]
mov byte [ebp - 0x20], cl
mov edx, dword [ebp - 0x20]
and edx, 0xff
push edx
push str._02x
lea eax, [ebp - 0x1c]
push eax
call fcn.0057870b
add esp, 0xc
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.005357f0
jmp 0x53e007
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
jne 0x53e069
xor eax, eax
jmp 0x53e082
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test eax, eax
jne 0x53e07d
xor eax, eax
jmp 0x53e082
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x53e0d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x53e0e3
xor al, al
jmp 0x53e113
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
xor eax, eax
cmp dword [edx + 0xc], 0
sete al
mov esp, ebp
pop ebp
ret 0x10
Function at 0x53e120
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x53e133
xor al, al
jmp 0x53e161
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 3
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
xor eax, eax
cmp dword [edx + 0xc], 0
sete al
mov esp, ebp
pop ebp
ret 0xc

Function at 0x53f25f
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push edi
cmp dword [ebp + 8], 0
jne 0x53f276
xor eax, eax
jmp 0x53f35d
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x53f28f
xor eax, eax
jmp 0x53f35d
mov dword [ebp - 0x23c], 0
mov ecx, 0x8a
xor eax, eax
lea edi, [ebp - 0x238]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x23c], 0x22c
mov dword [ebp - 8], 0
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
and edx, 0xff
test edx, edx
je 0x53f2e2
mov dword [ebp - 0x10], fcn.00578856
jmp 0x53f2e9
mov dword [ebp - 0x10], fcn.00579092
cmp dword [ebp - 4], 0
je 0x53f350
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x10]
add esp, 8
test eax, eax
jne 0x53f33b
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp + 0xc], 0
je 0x53f324
push 0xffffffffffffffff
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00535cb0
cmp dword [ebp + 0x14], 0
je 0x53f33b
push 0xffffffffffffffff
lea ecx, [ebp - 0x23c]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.00540f20
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 4], eax
jmp 0x53f2e9
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x540c2c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f0eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x540c72
mov ecx, dword [ebp + 8]
call fcn.00540f00
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
jmp 0x540ce9
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
add eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.00499510
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0049eca0
push eax
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp - 0x14], eax
push 0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.00499670
lea ecx, [ebp - 0x10]
call fcn.00499760
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00499580
mov edx, dword [ebp - 0x18]
or edx, 1
mov dword [ebp - 0x18], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004995e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret