joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a854
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415d24]
call fcn.00404ea8
xor eax, eax
push ebp
push 0x45a998
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x469e80], 0
jne 0x45a8a7
mov ecx, dword [0x46a020]
mov dl, 1
mov eax, dword [0x40784c]
call fcn.0040c324
call fcn.00403eb4
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403124
mov eax, ebx
call fcn.00404d74
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x45a9a8
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405f6c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404d84
test eax, eax
jle 0x45a93f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x45a938
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004047b4
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.0040479c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408690
test eax, eax
jne 0x45a938
mov ebx, 0x15
jmp 0x45a944
mov ebx, 0x10
jmp 0x45a944
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x469e80]
call fcn.0045a7ac
mov eax, dword [ebp - 8]
call fcn.0045a7ac
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405f84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a99f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404540
lea eax, [ebp - 0x10]
mov edx, dword [0x415d24]
call fcn.00404f78
ret

Function at 0x46245c
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004049dc
xor eax, eax
push ebp
push 0x4624ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.004047ec
mov edi, eax
test edi, edi
jle 0x4624d9
mov esi, 1
mov eax, dword [ebp - 8]
mov al, byte [eax + esi - 1]
call fcn.00402ee0
and eax, 0xff
push 0
movzx eax, ax
push eax
call sub.user32.dll_MapVirtualKeyA
mov ebx, eax
shl ebx, 0x10
inc ebx
push ebx
lea eax, [ebp - 8]
call fcn.00404a44
lea eax, [eax + esi - 1]
movzx eax, byte [eax]
push eax
push 0x102
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SendMessageA
inc esi
dec edi
jne 0x462494
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4624f6
lea eax, [ebp - 8]
call fcn.0040451c
ret
Function at 0x4677c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, eax
mov esi, dword [0x46a3dc]
xor eax, eax
push ebp
push 0x4678e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
call sub.kernel32.dll_GetCommandLineA_1
mov edx, eax
lea eax, [ebp - 8]
call fcn.00404724
mov eax, dword [ebx + 0x2fc]
mov eax, dword [eax + 0x220]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0xc]
mov eax, 1
call fcn.00402e7c
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00408cb4
cmp eax, 1
jl 0x46782a
cmp eax, 0x64
jle 0x467845
mov eax, dword [ebx + 0x2fc]
mov eax, dword [eax + 0x220]
mov edx, 0x4678fc
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4678c6
imul eax, eax, 0x6e775
mov edx, dword [0x46a43c]
mov edx, dword [edx]
lea eax, [edx + eax - 0x6e52c]
mov dword [esi], eax
mov eax, dword [esi]
mov byte [eax + 0x7e], 2
call sub.kernel32.dll_GetCurrentProcessId
mov edx, dword [esi]
mov dword [edx + 0x6e], eax
mov eax, ebx
call fcn.0043fcf4
mov edx, dword [esi]
mov dword [edx + 0x72], eax
mov eax, ebx
call fcn.0043fcf4
mov edx, dword [esi]
mov dword [edx + 0x7a], eax
call sub.kernel32.dll_GetTickCount
mov edx, dword [esi]
mov dword [edx + 0x88], eax
mov eax, dword [esi]
push esi
lea edi, [eax + 0x399]
mov esi, 0x467910
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
mov eax, dword [esi]
mov eax, dword [eax]
push eax
push 7
push 0x414
mov eax, dword [0x46a43c]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
call sub.user32.dll_PostMessageA
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4678e8
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404540
ret
Function at 0x42ce44
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x62c
mov eax, dword [0x46700c]
xor eax, esp
mov dword [esp + reloc.ADVAPI32.dll_TraceMessage], eax
push ebx
push esi
push edi
push 6
pop ecx
mov esi, 0x4014ec
lea edi, reloc.ADVAPI32.dll_TraceMessage
rep movsd dword es:[edi], dword [esi]
push 0x1ee
lea eax, reloc.ADVAPI32.dll_TraceMessage
push 0
push eax
movsw word es:[edi], word [esi]
call sub.msvcrt.dll_memset
add esp, 0xc
push 7
pop ecx
mov esi, 0x401508
lea edi, reloc.ADVAPI32.dll_TraceMessage
rep movsd dword es:[edi], dword [esi]
push 0x1ea
lea eax, reloc.ADVAPI32.dll_TraceMessage
push 0
push eax
movsw word es:[edi], word [esi]
call sub.msvcrt.dll_memset
add esp, 0xc
push 2
lea esi, reloc.ADVAPI32.dll_TraceMessage
pop ebx
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 0x2001f
push 0
push esi
xor edi, edi
push 0x80000000
inc edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42cf26
and dword [esp + 0x14], eax
push 4
lea eax, [esp + 0x18]
push eax
push 4
push 0
push 0x401528
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x42cf18
push 0x401528
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor edi, edi
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x42cf5e
push esi
push 0x401534
mov eax, 0x104
lea ecx, [esp + 0x20]
call fcn.0042c95b
pop ecx
pop ecx
test eax, eax
js 0x42cf5e
push 0x401554
lea eax, [esp + 0x1c]
push eax
call fcn.0044486c
push 0x40155c
lea eax, [esp + 0x1c]
push eax
call fcn.0044486c
add esi, 0x208
dec ebx
jne 0x42cec1
mov ecx, dword [esp + reloc.ADVAPI32.dll_TraceMessage]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004655f1
mov esp, ebp
pop ebp
ret
Function at 0x42d62c
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
mov eax, dword [0x46700c]
xor eax, esp
mov dword [esp + reloc.ADVAPI32.dll_TraceMessage], eax
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ebx
mov edi, ebx
cmp dword [0x4683b4], ebx
je 0x42d660
call fcn.00444658
jmp 0x42d676
lea ecx, [esp + 0x18]
call fcn.00441ac0
test eax, eax
je 0x42d67a
lea eax, [esp + 0x18]
call fcn.0044060c
mov edi, edx
mov esi, eax
mov eax, 0x40168c
call fcn.0044060c
cmp edi, edx
ja 0x42d7d6
jb 0x42d696
cmp esi, eax
ja 0x42d7d6
push ebx
lea eax, [esp + 0x10]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push 0x4016a0
push 0x80000002
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42d7d6
push 0x104
lea edi, reloc.ADVAPI32.dll_TraceMessage
call fcn.00444a99
test eax, eax
je 0x42d7cc
mov eax, edi
call fcn.0044060c
mov edi, eax
lea ebx, [esp + 0x18]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edx
call fcn.004446bc
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x42d748
mov eax, ebx
call fcn.0044060c
mov ebx, dword [esp + 0x10]
cmp edx, ebx
ja 0x42d762
jb 0x42d713
cmp eax, edi
jae 0x42d762
lea ecx, [esp + 0x18]
lea edx, [ecx + 2]
xor edi, edi
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x42d71c
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [esp + 0x1c]
push eax
push 1
push edi
push 0x4016ec
push dword [esp + 0x20]
call esi
jmp 0x42d762
push 4
push 0x401714
push 1
push 0
push 0x4016ec
push dword [esp + 0x20]
call esi
mov ebx, dword [esp + 0x10]
cmp dword [0x4683b4], 0
jne 0x42d7cc
lea edi, [esp + 0x18]
call fcn.00441a55
test eax, eax
je 0x42d7b5
mov eax, edi
call fcn.0044060c
cmp edx, ebx
ja 0x42d7cc
jb 0x42d78b
cmp eax, dword [esp + 0x14]
jae 0x42d7cc
lea ecx, [esp + 0x18]
lea edx, [ecx + 2]
xor ebx, ebx
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x42d794
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [esp + 0x1c]
push eax
push 1
push ebx
jmp 0x42d7c1
push 4
push 0x401714
push 1
xor eax, eax
push eax
push 0x401718
push dword [esp + 0x20]
call esi
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + reloc.ADVAPI32.dll_TraceMessage]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004655f1
mov esp, ebp
pop ebp
ret
Function at 0x42d8aa
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
xor ecx, ecx
push ecx
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push ecx
push 2
push ecx
push ecx
push ecx
push 0x4016a0
push 0x80000001
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], ecx
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x42d91a
push 4
lea eax, [ebp + 8]
push eax
push 4
xor eax, eax
push eax
push 0x40176c
push dword [ebp - 0x210]
call esi
push dword [ebp - 0x210]
call ebx
xor ecx, ecx
push ecx
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push ecx
push 2
push ecx
push ecx
push ecx
push 0x4016a0
push 0x80000002
call edi
test eax, eax
jne 0x42da3d
cmp dword [ebp + 8], reloc.ADVAPI32.dll_TraceMessage
je 0x42d966
cmp dword [ebp + 8], reloc.ADVAPI32.dll_TraceMessage
je 0x42d966
push 0x401788
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x42da1d
lea eax, reloc.ADVAPI32.dll_TraceMessage
xor edi, edi
push eax
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], edi
call fcn.0042d7f0
test eax, eax
jne 0x42d997
push 8
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 3
push edi
push 0x401788
push dword [ebp - 0x210]
call esi
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 2
push edi
push 0x4017a8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42da1d
mov edi, 0x104
push edi
lea eax, reloc.ADVAPI32.dll_TraceMessage
call fcn.00440252
test eax, eax
je 0x42da15
mov eax, edi
push 0x40180c
lea edi, reloc.ADVAPI32.dll_TraceMessage
call fcn.0042c8f1
test eax, eax
js 0x42da15
mov ecx, edi
lea edx, [ecx + 2]
xor edi, edi
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x42d9e7
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 1
push edi
push 0x401820
push dword [ebp - 0x214]
call esi
push dword [ebp - 0x214]
call ebx
push 4
lea eax, [ebp + 8]
push eax
push 4
xor eax, eax
push eax
push 0x40176c
push dword [ebp - 0x210]
call esi
push dword [ebp - 0x210]
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004655f1
leave
ret 4
Function at 0x42dafe
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 0x20019
push ebx
push ebx
push ebx
push 0x4016a0
push 0x80000002
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42db6c
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x40176c
push dword [ebp - 4]
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42db63
cmp dword [ebp - 8], reloc.ADVAPI32.dll_TraceMessage
sete bl
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
leave
ret

Function at 0x42db76
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
xor ecx, ecx
push ecx
lea eax, [ebp - 4]
push eax
push ecx
push 3
push ecx
push ecx
push ecx
push 0x4016a0
push 0x80000001
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42dbb7
push 0x401840
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret

Function at 0x42dbbe
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
test eax, eax
je 0x42dc6b
test ebx, ebx
je 0x42dc6b
test edi, edi
je 0x42dc6b
lea ecx, reloc.ADVAPI32.dll_TraceMessage
push ecx
push 0x20019
push esi
push eax
push 0x80000000
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], esi
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 1
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 0x208
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42dc6b
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push esi
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42dc55
cmp dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 1
jne 0x42dc55
inc esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, reloc.ADVAPI32.dll_TraceMessage
test esi, esi
jne 0x42dc70
mov edx, 0x401950
mov eax, 0x104
mov esi, edi
call fcn.0042c88c
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004655f1
leave
ret 4
Function at 0x42dc90
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 8], eax
push edi
xor edi, edi
test esi, esi
jne 0x42dcb0
xor eax, eax
jmp 0x42dd25
push 0x104
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x42dd23
lea eax, reloc.ADVAPI32.dll_TraceMessage
lea ecx, reloc.ADVAPI32.dll_TraceMessage
cmp dword [ebp + 8], edi
je 0x42dce4
push 0x403dec
push eax
push 0x401960
jmp 0x42dcef
push 0x403e14
push eax
push 0x401984
mov eax, 0x208
call fcn.0042c99c
add esp, 0xc
test eax, eax
js 0x42dd23
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
call fcn.00440bc3
test eax, eax
je 0x42dd23
xor edi, edi
lea ecx, reloc.ADVAPI32.dll_TraceMessage
inc edi
call fcn.00441e92
mov dword [esi], eax
mov dword [esi + 4], edx
mov eax, edi
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop edi
call fcn.004655f1
leave
ret 4

Function at 0x42dd39
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
xor edi, edi
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], edi
test ebx, ebx
jne 0x42dd63
xor eax, eax
jmp 0x42de05
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0x20019
push edi
push 0x4016a0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42de03
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 1
mov eax, 0x208
lea esi, reloc.ADVAPI32.dll_TraceMessage
mov edx, 0x401718
cmp dword [ebp + 8], edi
jne 0x42dda8
mov edx, 0x4016ec
call fcn.0042c8be
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push edi
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push dword [ebp - 0x298]
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42ddf7
xor edi, edi
lea eax, [ebp - 0x8c]
inc edi
call fcn.0044060c
mov dword [ebx], eax
mov dword [ebx + 4], edx
push dword [ebp - 0x298]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.004655f1
leave
ret 4
Function at 0x42e232
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 2
xor ebx, ebx
push ebx
push 0x4016a0
push 0x80000002
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42e2c3
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
push 4
pop edi
cmp dword [ebp + 8], ebx
je 0x42e2a7
push edi
lea eax, [ebp + 8]
push eax
push edi
push ebx
push 0x4019fc
push dword [ebp - 4]
mov dword [ebp - 8], ebx
call esi
push edi
lea eax, [ebp - 8]
push eax
push edi
push ebx
push 0x401a24
push dword [ebp - 4]
call esi
push edi
lea eax, [ebp - 8]
push eax
push edi
push ebx
push 0x401a54
push dword [ebp - 4]
mov dword [ebp - 8], 1
call esi
push edi
lea eax, [ebp + 0xc]
push eax
push edi
push ebx
push 0x401a7c
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x42e34d
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4683b0], 0
push esi
mov esi, 0x80004005
jne 0x42e3cf
push 0x58
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
test eax, eax
je 0x42e386
push eax
call fcn.0043de00
jmp 0x42e388
xor eax, eax
mov dword [0x4683b0], eax
test eax, eax
je 0x42e3d2
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x42e3d2
mov ecx, dword [0x4683b0]
mov eax, dword [0x4683f0]
mov dword [ecx + 0x4c], eax
mov eax, dword [reloc.ole32.dll_CoCreateInstance]
mov dword [ecx + 0x44], eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
mov edx, edi
call fcn.0043eb82
xor esi, esi
jmp 0x42e3d2
xor esi, esi
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004655f1
leave
ret

Function at 0x42e459
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 8], 1
mov dword [ebp - 4], ebx
call fcn.004636d2
push 4
pop eax
or word [ebp - 0xc], ax
lea eax, [ebp - 0x14]
push eax
call fcn.0043ae8d
test eax, eax
js 0x42e4c6
lea eax, [ebp - 4]
push eax
push 2
push ebx
push dword [ebp - 0x14]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42e4c6
push 4
lea eax, [ebp - 8]
push eax
push 4
push ebx
push 0x401aac
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push 0x401478
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42e505
push 4
lea eax, [ebp - 8]
push eax
push 4
push ebx
push 0x401aac
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x14]
call fcn.00463afc
pop ebx
leave
ret
Function at 0x42e515
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push esi
xor edi, edi
call fcn.00440bc3
test eax, eax
je 0x42e5c8
push edi
push 0x8000080
push 3
push edi
push edi
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, reloc.ADVAPI32.dll_TraceMessage
je 0x42e562
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42e5c8
mov edx, esi
mov eax, 0x104
lea esi, reloc.ADVAPI32.dll_TraceMessage
call fcn.0042c88c
test eax, eax
js 0x42e5c8
mov ecx, esi
call fcn.004404d3
mov ecx, esi
push ecx
push 0x401ae0
mov eax, 0x104
lea ecx, reloc.ADVAPI32.dll_TraceMessage
call fcn.0042c95b
pop ecx
pop ecx
test eax, eax
js 0x42e5c8
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
mov eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
push eax
call esi
test eax, eax
je 0x42e5c5
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
call esi
jmp 0x42e5c8
xor edi, edi
inc edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004655f1
leave
ret

Function at 0x42e652
Capabilities:
Find taskbar

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x401af8
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x42e6b3
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push ebx
push 0x401b14
push ebx
push eax
call esi
mov edi, eax
test edi, edi
je 0x42e6b3
push ebx
push 0x401b30
push ebx
push edi
call esi
test eax, eax
je 0x42e6a5
xor eax, eax
inc eax
jmp 0x42e71e
push ebx
push 0x401b48
push ebx
push edi
call esi
test eax, eax
jne 0x42e6a0
push ebx
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
call fcn.00441544
mov esi, 0x104
test eax, eax
je 0x42e6ea
push 0x401b64
mov eax, esi
lea edi, reloc.ADVAPI32.dll_TraceMessage
call fcn.0042c8f1
test eax, eax
js 0x42e6ea
mov ecx, edi
call fcn.0042e515
test eax, eax
jne 0x42e6a0
push ebx
lea ecx, reloc.ADVAPI32.dll_TraceMessage
push ecx
call fcn.00441544
test eax, eax
je 0x42e71c
push 0x401b80
mov eax, esi
lea edi, reloc.ADVAPI32.dll_TraceMessage
call fcn.0042c8f1
test eax, eax
js 0x42e71c
mov ecx, edi
call fcn.0042e515
test eax, eax
jne 0x42e6a0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004655f1
leave
ret