joyce8/EMBER2024-capa huggingface dataset:
Function at 0x61afdc
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x61b21a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
inc dword [eax + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov ebx, dword [ebp - 4]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], ecx
xor eax, eax
lea ebx, [eax + 0xc]
add ebx, ecx
xor edx, edx
push ebp
push 0x61b1bf
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x61b051
mov eax, 0x61b238
call fcn.005f84d8
xor edx, edx
push ebp
push 0x61b154
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x14
call fcn.00405ce4
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
push 0x14
mov eax, dword [ebp - 4]
add eax, 0x4034
push eax
push ebx
mov eax, dword [ebp - 4]
add eax, 0x20
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
call sub.kernel32.dll_TransactNamedPipe
test eax, eax
jne 0x61b13d
call sub.kernel32.dll_GetLastError
cmp eax, 0x3e5
je 0x61b0b9
mov eax, 0x61b25c
call fcn.005f84d8
xor edx, edx
push ebp
push 0x61b126
push dword fs:[edx]
mov dword fs:[edx], esp
cmp byte [ebp + 8], 0
je 0x61b0f9
mov eax, dword [ebp - 4]
cmp word [eax + 0x1a], 0
je 0x61b0f9
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x1c]
call dword [ebx + 0x18]
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x61b0d7
pop dword fs:[0]
add esp, 8
push 0x61b12d
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
call sub.kernel32.dll_GetOverlappedResult
mov ebx, eax
call sub.kernel32.dll_GetLastError
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61b15b
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
ret

Function at 0x61cc68
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
push 1
lea eax, [ebp - 4]
push eax
mov eax, ebx
call fcn.004097c8
mov ecx, eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 1]
mov edx, 0x80000002
call fcn.005b0f7c
test eax, eax
jne 0x61ccdb
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
mov eax, esi
call fcn.004097c8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x61ccca
cmp dword [ebp - 8], 4
je 0x61ccce
xor ebx, ebx
jmp 0x61ccd0
mov bl, 1
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
jmp 0x61ccdd
xor ebx, ebx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x620f38
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffe08
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x11f4], ebx
mov dword [ebp - 0x11f8], ebx
mov dword [ebp - 0x11ec], ebx
mov dword [ebp - 0x11f0], ebx
mov dword [ebp - 0x11e8], ebx
mov dword [ebp - 0x1004], ecx
mov dword [ebp - 0x11cc], edx
mov dword [ebp - 0x11d0], eax
lea esi, [ebp - 0x11de]
xor eax, eax
push ebp
push 0x62117f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x11d4], eax
xor eax, eax
mov dword [ebp - 0x11c8], eax
mov eax, dword [ebp - 0x11d0]
add eax, 0x10
push eax
lea ecx, [ebp - 0x11c4]
mov edx, dword [ebp - 0x1004]
mov eax, dword [ebp - 0x11cc]
call fcn.0061dbb8
cmp dword [ebp - 0x1084], 0x418
jle 0x620ff8
lea ecx, [ebp - 0x11e8]
mov edx, dword [ebp - 0x1004]
mov al, 0xd9
call fcn.005b8018
mov ecx, dword [ebp - 0x11e8]
mov dl, 1
mov eax, dword [0x4197e4]
call fcn.0042648c
call fcn.00407e14
lea eax, [ebp - 0x11f0]
lea edx, [ebp - 0x1184]
mov ecx, 0x80
push 0
call fcn.00408ee8
mov edx, dword [ebp - 0x11f0]
lea ecx, [ebp - 0x11ec]
mov eax, dword [ebp - 0x11d0]
mov eax, dword [eax]
call fcn.00620854
mov edx, dword [ebp - 0x11ec]
mov eax, dword [ebp - 0x11d0]
add eax, 0x14
call fcn.00408af8
lea eax, [ebp - 0x11f8]
lea edx, [ebp - 0x1104]
mov ecx, 0x80
push 0
call fcn.00408ee8
mov edx, dword [ebp - 0x11f8]
lea ecx, [ebp - 0x11f4]
mov eax, dword [ebp - 0x11d0]
mov eax, dword [eax]
call fcn.00620854
mov edx, dword [ebp - 0x11f4]
mov eax, dword [ebp - 0x11d0]
add eax, 0x18
call fcn.00408af8
lea eax, [ebp - 0x1078]
movzx eax, byte [eax]
mov edx, dword [ebp - 0x11d0]
mov byte [edx + 0x1d], al
mov ebx, dword [ebp - 0x1080]
test ebx, ebx
jle 0x621140
push ebp
mov eax, esi
mov edx, 0xa
call fcn.00620ec0
pop ecx
mov eax, dword [esi + 6]
push eax
mov eax, dword [ebp - 0x11d0]
mov eax, dword [eax]
mov ecx, dword [esi + 2]
movzx edx, word [esi]
call fcn.0061e358
mov dword [ebp - 0x11e4], eax
cmp dword [ebp - 0x11e4], 0
jne 0x6210dd
push ebp
call fcn.00620d18
pop ecx
xor eax, eax
push ebp
push 0x62110e
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov eax, dword [ebp - 0x11e4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x11e4]
add eax, 0x12
call fcn.00620ec0
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x621128
mov edx, dword [ebp - 0x11e4]
mov eax, dword [ebp - 0x11d0]
call fcn.0061e394
dec ebx
jne 0x6210a2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x621186
lea eax, [ebp - 0x11f8]
call fcn.0040873c
lea eax, [ebp - 0x11f4]
call fcn.00408718
lea eax, [ebp - 0x11f0]
call fcn.0040873c
lea eax, [ebp - 0x11ec]
mov edx, 2
call fcn.00408778
ret
Function at 0x622a04
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov ebx, esi
test ebx, ebx
je 0x622a1d
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.004097c8
push eax
push 1
push 0
mov eax, dword [ebp - 4]
push eax
push edi
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x622a51
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
xor eax, eax
call fcn.006228d4
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x6248dc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x624a0d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
lea eax, [ebp - 8]
push eax
mov eax, dword [0x66256c]
movzx eax, byte [eax]
mov ecx, dword [eax*4 + 0x661fc4]
mov edx, 0x80000002
xor eax, eax
call fcn.005b0f7c
test eax, eax
jne 0x624971
mov esi, edi
test esi, esi
je 0x624934
sub esi, 4
mov esi, dword [esi]
inc esi
mov eax, esi
add eax, eax
push eax
mov eax, edi
call fcn.004097c8
push eax
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.004097c8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x624966
mov eax, 0x624a28
call fcn.006013d8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
jmp 0x62497b
mov eax, 0x624a8c
call fcn.006013d8
test bl, bl
je 0x6249f2
mov eax, edi
call fcn.004097c8
push eax
call sub.gdi32.dll_AddFontResourceW
test eax, eax
je 0x6249a2
push 0
push 0
push 0x1d
push 0xffff
call sub.user32.dll_SendNotifyMessageW
jmp 0x6249f2
lea ecx, [ebp - 0x10]
mov edx, 0x624ae0
mov al, 0x3f
call fcn.005b8018
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.005b1864
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x66279c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x66279c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [0x66279c]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x1c]
mov ecx, 2
pop eax
call fcn.00621eb0
test al, al
je 0x62497f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x624a14
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00408778
ret
Function at 0x627c94
Capabilities:
Check if file exists
Delete directory
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x627d55
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004097c8
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x627d3a
test bl, 0x10
je 0x627d3a
lea ecx, [ebp - 4]
mov edx, 0x627d70
mov eax, esi
call fcn.005af65c
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
xor ecx, ecx
mov edx, 0x627d94
mov eax, 0x627db0
call fcn.005afe34
mov edx, 0x627ddc
mov eax, dword [ebp - 8]
call fcn.0041f9b4
test eax, eax
jne 0x627d3a
mov eax, dword [ebp - 4]
call fcn.00420f94
lea ecx, [ebp - 0xc]
mov edx, 0x627e38
mov eax, esi
call fcn.005af65c
mov eax, dword [ebp - 0xc]
call fcn.00420f94
and ebx, 0xfffffffe
push ebx
mov eax, esi
call fcn.004097c8
mov edi, eax
push edi
call sub.kernel32.dll_SetFileAttributesW
push edi
call sub.kernel32.dll_RemoveDirectoryW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x627d5c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00408778
ret

Function at 0x628d88
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x628e62
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, edi
call fcn.005f85e4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x18]
mov ecx, 1
mov eax, 0x628e80
call fcn.0060165c
mov eax, dword [0x662360]
mov eax, dword [eax + 8]
mov edx, dword [ebp + 8]
call fcn.0045fd1c
mov esi, eax
mov eax, dword [esi]
mov ebx, eax
test ebx, ebx
je 0x628dfb
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [esi]
push eax
mov eax, ebx
mov ecx, 0x14
cdq
idiv ecx
push eax
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 8]
mov edx, edi
call fcn.006217b0
test al, al
jne 0x628e4c
call sub.kernel32.dll_GetLastError
cmp eax, 2
jne 0x628e31
mov eax, 0x628ed0
call fcn.006013d8
jmp 0x628e4c
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x628f70
call fcn.0060165c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x628e69
lea eax, [ebp - 0x1c]
call fcn.00408718
ret
Function at 0x62b334
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x62b4be
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x254]
push eax
lea edx, [ebp - 0x258]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005af4ec
lea eax, [ebp - 0x258]
mov edx, 0x62b4d8
call fcn.004099c0
mov eax, dword [ebp - 0x258]
call fcn.004097c8
push eax
call sub.kernel32.dll_FindFirstFileW
mov esi, eax
cmp esi, 0xffffffff
je 0x62b498
lea eax, [ebp - 4]
lea edx, [ebp - 0x228]
mov ecx, 0x104
call fcn.00409868
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x62b3c7
sub ebx, 4
mov ebx, dword [ebx]
cmp ebx, 9
jl 0x62b40c
lea eax, [ebp - 0x25c]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00409be8
mov eax, dword [ebp - 0x25c]
mov edx, 0x62b4fc
call fcn.0041f9b4
test eax, eax
jne 0x62b40c
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xa]
add eax, 0xffffffd0
sub ax, 0xa
setb al
jmp 0x62b40e
xor eax, eax
test al, al
je 0x62b425
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xc]
add eax, 0xffffffd0
sub ax, 0xa
setb al
jmp 0x62b427
xor eax, eax
test al, al
je 0x62b43e
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xe]
add eax, 0xffffffd0
sub ax, 0xa
setb al
jmp 0x62b440
xor eax, eax
test al, al
je 0x62b47d
mov eax, dword [ebp - 4]
cmp word [eax + 0x10], 0x2e
jne 0x62b47d
lea eax, [ebp - 0x260]
push eax
mov ecx, 3
mov edx, 6
mov eax, dword [ebp - 4]
call fcn.00409be8
mov eax, dword [ebp - 0x260]
call fcn.004209e8
mov edx, dword [ebp + 8]
mov byte [edx + eax - 0x3ec], 1
lea eax, [ebp - 0x254]
push eax
push esi
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x62b3a8
push esi
call sub.kernel32.dll_FindClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62b4c5
lea eax, [ebp - 0x260]
mov edx, 3
call fcn.00408778
lea eax, [ebp - 4]
call fcn.00408718
ret
Function at 0x62d7dc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
call fcn.0062d6b0
lea eax, [ebp - 0x18]
push eax
push 0
push 0x4a
mov eax, dword [0x66a374]
push eax
call sub.user32.dll_SendMessageW
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx], ecx
call fcn.004069c8
cmp ebx, 0x6c840001
jne 0x62d83c
call fcn.00426480
mov eax, 0xffff0000
and eax, ebx
cmp eax, 0x6c830000
je 0x62d860
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x62d914
call fcn.005f83dc
mov word [ebp - 0xa], bx
call sub.kernel32.dll_GetTickCount
mov ebx, eax
call dword [ebp - 8]
call sub.kernel32.dll_GetTickCount
mov edx, eax
sub edx, ebx
cmp edx, 0xa
jb 0x62d8b6
mov ebx, eax
mov edx, 1
movzx eax, word [ebp - 0xa]
call fcn.0062d730
mov esi, eax
mov eax, esi
sub ax, 2
je 0x62d8b6
dec eax
sub ax, 2
jb 0x62d8ca
movzx eax, si
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x62d974
call fcn.005f83dc
push 0x4ff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x62d86b
mov edx, 2
movzx eax, word [ebp - 0xa]
call fcn.0062d730
movzx ebx, ax
mov edx, 3
movzx eax, word [ebp - 0xa]
call fcn.0062d730
movzx eax, ax
shl eax, 0x10
or ebx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
cmp si, 3
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x62fc0c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push ecx
mov ebx, eax
mov eax, ebx
call fcn.0062fc90
call fcn.00405490
mov esi, eax
push esp
push 0x40
mov eax, ebx
call fcn.0062fc90
push eax
push esi
call sub.kernel32.dll_VirtualProtect
mov edx, esi
mov eax, ebx
call fcn.0062fc40
mov eax, esi
pop edx
pop esi
pop ebx
ret
Function at 0x6316b4
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x631886
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea eax, [ebp - 4]
mov ecx, 0x200
xor edx, edx
call fcn.004088a0
push 0
movzx eax, byte [ebp + 8]
mov eax, dword [eax*4 + 0x661ff0]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004097c8
mov ecx, eax
mov eax, ebx
mov edx, esi
call fcn.005b0f7c
test eax, eax
jne 0x63186b
xor eax, eax
push ebp
push 0x631860
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [edi + 4]
mov eax, dword [edi]
xor ecx, ecx
call fcn.005ccac0
xor ebx, ebx
mov esi, dword [ebp - 4]
test esi, esi
je 0x631745
sub esi, 4
mov esi, dword [esi]
mov dword [ebp - 0x18], esi
cmp byte [ebp + 8], 0
je 0x631772
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.00408cc4
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov dword [ebp - 0x1c], eax
jmp 0x631794
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.00408cc4
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumValueW
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
sub eax, 1
jb 0x63180a
sub eax, 0xe9
je 0x6317ae
sub eax, 0x19
je 0x631849
jmp 0x631803
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x6317c5
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x10000
jl 0x6317d8
call fcn.00407f08
jmp 0x63186b
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x6317ef
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.004088a0
jmp 0x631739
call fcn.00407f08
jmp 0x63186b
lea ecx, [ebx + 1]
mov edx, dword [edi + 4]
mov eax, dword [edi]
call fcn.005ccac0
lea eax, [ebp - 4]
call fcn.00408cc4
mov edx, eax
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0x18]
call fcn.004088a0
lea ecx, [ebp - 0x30]
mov eax, edi
mov edx, ebx
call fcn.005de188
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
call fcn.005cac60
inc ebx
jmp 0x631739
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x631867
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63188d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408778
ret
Function at 0x6378e4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x637968
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x637950
mov ebx, esi
test ebx, ebx
je 0x637916
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.004097c8
push eax
push 1
push 0
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x637984
call fcn.00409a18
mov eax, dword [ebp - 8]
call fcn.004097c8
push eax
push edi
call sub.advapi32.dll_RegSetValueExW
test eax, eax
sete al
mov ebx, eax
jmp 0x637952
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63796f
lea eax, [ebp - 8]
call fcn.00408718
ret

Function at 0x63dbc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x63dbca
mov eax, dword [esp + 0x2000]
add esp, 4
mov edi, edx
mov esi, eax
push 0x63dc80
push 0x63dcb4
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00411e58
mov ebx, eax
test ebx, ebx
je 0x63dc69
mov eax, esi
call fcn.004097c8
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x63dc69
test al, 0x10
je 0x63dc1a
mov ebp, 0x2000000
jmp 0x63dc1c
xor ebp, ebp
push 0
push ebp
push 3
push 0
push 7
push 0
mov eax, esi
call fcn.004097c8
push eax
call sub.kernel32.dll_CreateFileW
mov ebp, eax
cmp ebp, 0xffffffff
je 0x63dc69
push 0
push 0x1000
lea eax, [esp + 8]
push eax
push ebp
call ebx
mov ebx, eax
push ebp
call sub.kernel32.dll_CloseHandle
test ebx, ebx
jle 0x63dc69
cmp ebx, 0xff0
jge 0x63dc69
mov edx, edi
mov eax, esp
call fcn.0063dad8
jmp 0x63dc72
mov eax, edi
mov edx, esi
call fcn.00408af8
add esp, 0x2000
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x63dcd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x20c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x63dd61
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x208]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryW
mov ebx, eax
test ebx, ebx
jle 0x63dd37
cmp ebx, 0x104
jge 0x63dd37
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x208]
mov ecx, 0x104
call fcn.00409868
mov eax, dword [ebp - 0x20c]
mov edx, esi
call fcn.0063dbc0
jmp 0x63dd48
mov eax, 0x63dd7c
call fcn.005f858c
mov eax, esi
call fcn.00408718
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63dd68
lea eax, [ebp - 0x20c]
call fcn.00408718
ret
Function at 0x63dda4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x63def3
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0063dbc0
lea eax, [ebp - 8]
call fcn.0063dcd0
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x3c
call fcn.00405ce4
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x800540
mov eax, 0x63df00
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
call fcn.004097c8
mov dword [ebp - 0x38], eax
mov eax, esi
call fcn.004097c8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
call fcn.004097c8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 1
lea eax, [ebp - 0x48]
push eax
call sub.shell32.dll_ShellExecuteExW
test eax, eax
jne 0x63de4f
call sub.kernel32.dll_GetLastError
cmp eax, 0x4c7
jne 0x63de45
call fcn.00426460
mov eax, 0x63df18
call fcn.005f84d8
cmp dword [ebp - 0x10], 0
jne 0x63de5f
mov eax, 0x63df44
call fcn.005f8384
xor edx, edx
push ebp
push 0x63ded1
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.0063d8cc
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x10]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x63de6d
cmp eax, 0xffffffff
jne 0x63de9a
mov eax, 0x63df98
call fcn.005f84d8
call fcn.0063d8cc
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
jne 0x63deba
mov eax, 0x63dfd8
call fcn.005f84d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63ded8
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
ret

Function at 0x63e000
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x63e0cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x63d6a0]
call fcn.0063e0f8
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x63e0a8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x63e0e8
call fcn.00421a6c
mov edx, dword [ebp - 8]
mov eax, dword [0x662788]
mov eax, dword [eax]
call fcn.005a2a3c
call fcn.0063d8cc
call sub.user32.dll_GetFocus
mov edx, dword [0x662788]
mov edx, dword [edx]
cmp eax, dword [edx + 0x188]
jne 0x63e08b
push 0x7a
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x63e092
call sub.user32.dll_WaitMessage
jmp 0x63e065
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63e0af
mov eax, dword [ebp - 4]
call fcn.004069c8
ret