joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3cd2b1c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x3cd2c80
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x3cd2abc]
call fcn.03cba318
add esp, 4
push 0x104
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x3cd2aec]
call fcn.03cba318
add esp, 4
movzx ebx, byte [0x3cd2c90]
mov dl, 1
mov eax, esi
call fcn.03cd3068
test al, al
jne 0x3cd2b96
mov dl, 1
mov eax, esi
call fcn.03cd2fd0
test al, al
je 0x3cd2c20
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.03cd382c
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.03cd9f8c
push 0x104
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x104
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.03cb8d98
mov esi, eax
push esi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x3cd2c1b
test byte [ebp - 0x14], 1
je 0x3cd2be6
or bl, 1
test byte [ebp - 0x14], 2
je 0x3cd2bef
or bl, 2
test byte [ebp - 0x14], 0x80
je 0x3cd2bf8
or bl, 0x20
push esi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x3cd2c0c
dec eax
je 0x3cd2c11
dec eax
je 0x3cd2c16
dec eax
jne 0x3cd2c41
or bl, 0x10
jmp 0x3cd2c41
or bl, 4
jmp 0x3cd2c41
or bl, 8
jmp 0x3cd2c41
call fcn.03cda92c
lea edx, [ebp - 0x20]
mov eax, dword [0x3f2e27c]
call fcn.03cbc0e8
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x3ccbd18]
call fcn.03cd8b74
call fcn.03cb73d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3cd2c87
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.03cb7eb0
lea eax, [ebp - 0xc]
mov edx, dword [0x3cd2aec]
call fcn.03cba43c
lea eax, [ebp - 8]
mov edx, dword [0x3cd2abc]
call fcn.03cba43c
lea eax, [ebp - 4]
call fcn.03cb7e50
ret

Function at 0x3cd2cec
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x3cd2d19
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x3cd2fd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.03cb8d98
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x3cd303a
test ah, 4
je 0x3cd3033
test bl, bl
jne 0x3cd2ff8
mov al, 1
jmp 0x3cd3061
test al, 0x10
je 0x3cd3000
xor eax, eax
jmp 0x3cd3061
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x3cd3024
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x3cd3061
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x3cd3061
test al, 0x10
sete al
jmp 0x3cd3061
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 2
je 0x3cd305b
cmp ebx, 3
je 0x3cd305b
cmp ebx, 0x7b
je 0x3cd305b
mov eax, esi
call fcn.03cd2f90
test al, al
jne 0x3cd305f
xor eax, eax
jmp 0x3cd3061
mov al, 1
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.03cb8d98
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x3cd310f
test esi, 0x400
jne 0x3cd30a4
test esi, 0x10
setne bl
jmp 0x3cd313f
cmp byte [esp], 0
je 0x3cd30d8
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x3cd313f
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x3cd313f
test esi, 0x10
je 0x3cd30e4
mov bl, 1
jmp 0x3cd313f
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x3cd310b
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x3cd313f
mov bl, 1
jmp 0x3cd313f
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x3cd3139
cmp eax, 3
je 0x3cd3139
cmp eax, 0xa1
je 0x3cd3139
cmp eax, 0x7b
je 0x3cd3139
cmp eax, 0x35
je 0x3cd3139
cmp eax, 0x15
je 0x3cd3139
cmp eax, 0x43
jne 0x3cd313d
xor ebx, ebx
jmp 0x3cd313f
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x3cd3318
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x3cd33bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.03cb8d98
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
test edi, 0x400
setne al
test al, bl
je 0x3cd33a2
or edi, 0xffffffff
lea edx, [ebp - 4]
mov eax, esi
call fcn.03cd14d8
test al, al
je 0x3cd33a2
mov eax, dword [ebp - 4]
call fcn.03cd3a14
test al, al
je 0x3cd3392
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.03cd3774
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.03cd9f8c
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.03cb8fec
mov eax, dword [ebp - 4]
call fcn.03cb8d98
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3cd33c4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.03cb7eb0
ret
Function at 0x3cd33d0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x3cd34a3
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.03cb8278
cmp byte [ebp - 9], 0
je 0x3cd3461
mov eax, ebx
call fcn.03cb8d98
push eax
call sub.kernel32.dll_GetFileAttributesW
test ah, 4
je 0x3cd3461
lea edx, [ebp - 8]
mov eax, ebx
call fcn.03cd14d8
test al, al
je 0x3cd3461
mov eax, dword [ebp - 8]
call fcn.03cd3a14
test al, al
je 0x3cd3456
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.03cd3774
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.03cd9f8c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.03cb8fec
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.03cb8278
push edi
mov eax, dword [ebp - 4]
call fcn.03cb8d98
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x3cd347b
call sub.kernel32.dll_GetLastError_2
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3cd34aa
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.03cb7eb0
lea eax, [ebp - 8]
mov edx, 2
call fcn.03cb7eb0
ret

Function at 0x3cd35e0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.03cb8d98
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x3cd3635
call sub.kernel32.dll_GetLastError_2
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x3cd362f
test ah, 4
je 0x3cd362f
test al, 0x10
je 0x3cd362f
mov eax, esi
call fcn.03cb8d98
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x3cd3635
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x3cd7854
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x3cd788d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.03cb7fd8
jmp 0x3cd7896
mov eax, ebx
mov edx, esi
call fcn.03cb8230
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x3cd78a0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x3cd78c2
movzx eax, word [esp]
jmp 0x3cd78c4
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x3cd8a04
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x3cd8b29
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.03cd880c
mov esi, eax
mov eax, dword [0x3f2e174]
cmp byte [eax], 0
je 0x3cd8ad1
mov eax, dword [0x3f2dd7c]
call fcn.03cb5a54
call fcn.03cb5230
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x3cd89d4]
call fcn.03cba318
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x3cd8b44
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x3cd8b0d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x3f2dce8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x3f31c54]
call fcn.03cba544
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3cd8b30
lea eax, [ebp - 4]
mov edx, dword [0x3cd89d4]
call fcn.03cba43c
ret

Function at 0x3cd9a50
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x3cd9b26
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.03cb8278
lea eax, [ebp - 4]
call fcn.03cb8418
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.03cb8d98
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x3cd9b10
mov eax, ebx
call fcn.03cb504c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x3cd9b09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.03cb8d98
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x3cd9af3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x3cd9b38
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x3cd9af3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3cd9b10
mov eax, dword [ebp - 0x10]
call fcn.03cb5068
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3cd9b2d
lea eax, [ebp - 4]
call fcn.03cb7e50
ret
Function at 0x3cdb014
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.03cb8e3c
add esp, 0x800
pop ebx
ret
Function at 0x3d22d4c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x3d22d54
mov eax, edx
pop esi
pop ebx
ret

Function at 0x3d5b36c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x3d5b40a
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x3d5b3ce
cmp byte [ebx + 0x11], 0
jne 0x3d5b3ce
cmp byte [ebx + 0x3c], 0
jne 0x3d5b3ce
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x3d5b3ef
lea edx, [ebp - 4]
mov eax, dword [0x3f2e0e8]
call fcn.03cbc0e8
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x3d31774]
call fcn.03cd8b74
call fcn.03cb73d4
jmp 0x3d5b3ef
lea edx, [ebp - 8]
mov eax, dword [0x3f2e0e8]
call fcn.03cbc0e8
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x3d31774]
call fcn.03cd8b74
call fcn.03cb73d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3d5b411
lea eax, [ebp - 8]
mov edx, 2
call fcn.03cb7eb0
ret

Function at 0x3d5b73c
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x3d5b78a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.03d5b2b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x3d5b7a3
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x3d5b7ac
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.03d5b2b8
dec esi
jne 0x3d5b7ce
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x3d5dca4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x3f36684
cmp dword [edi], 0
jne 0x3d5dd20
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x3f36680]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x3f1dd3c
mov ecx, 2
call fcn.03cb5330
mov edx, 0x3d5dc7c
lea eax, [esi + 5]
call fcn.03d5dc9c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.03d5dc9c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x3d5dcf5
mov dword [0x3f36680], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x3d7bae8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x3d7bba0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x48]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.03d7ba7c
test al, al
je 0x3d7bb82
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.03cb7fd8
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x3d7bb82
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.03cb8d98
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.03cb8d98
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.03cb8e00
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
inc esi
dec ebx
jne 0x3d7bb3b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3d7bba7
lea eax, [ebp - 0x2c]
call fcn.03cb7e50
lea eax, [ebp - 4]
call fcn.03cb7e50
ret

Function at 0x3d7bd58
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x3d7be10
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x48]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.03d7ba7c
test al, al
je 0x3d7bdf2
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.03cb7fd8
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x3d7bdf2
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.03cb8d98
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.03cb8d98
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.03cb8e00
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
inc esi
dec ebx
jne 0x3d7bdab
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3d7be17
lea eax, [ebp - 0x2c]
call fcn.03cb7e50
lea eax, [ebp - 4]
call fcn.03cb7e50
ret
Function at 0x3d7c05c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.03d7b59c
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.03cb8d98
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.03d7b6a0
test al, al
jne 0x3d7c0c4
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x3f2dfa8]
mov dl, 1
mov eax, dword [0x3d7a368]
call fcn.03cd8c6c
call fcn.03cb73d4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x3d7c0d0
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
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.03cb8d98
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.03d7b6a0
test al, al
jne 0x3d7c131
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x3f2e3d4]
mov dl, 1
mov eax, dword [0x3d7a368]
call fcn.03cd8c6c
call fcn.03cb73d4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.03d7b5cc
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x3d8486c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x3d84872
ret
Function at 0x3d9b9f4
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x3f1fee4
test edx, edx
jne 0x3d9ba13
xor eax, eax
jmp 0x3d9bb31
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x3d9ba30
push esi
push edx
push eax
call fcn.03d9bb38
add esp, 0xc
jmp 0x3d9bb31
push esi
push edx
push eax
call fcn.03d9bdf8
add esp, 0xc
jmp 0x3d9bb31
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x3da9fbc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x3f36890], 0
je 0x3daa0fd
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x3f2e0a4]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x3daa0fd
mov eax, dword [0x3f36894]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x3f36890]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x3daa0cc
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x3f36890]
call fcn.03d4ac70
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x3daa0c4
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x205], 0
je 0x3daa0c4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x68]
test al, al
je 0x3daa0c4
mov eax, dword [ebp - 0x14]
call fcn.03db59f8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x3daa0c4
push ebp
call fcn.03da9f78
pop ecx
test al, al
jne 0x3daa0c4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb9
call fcn.03cb63b0
test al, al
je 0x3daa0c4
mov byte [ebp - 9], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 9]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffba
call fcn.03cb63b0
cmp byte [ebp - 9], 0
je 0x3daa0c4
lea edx, [ebp - 8]
lea eax, [ebp - 0x28]
call fcn.03cbd7ec
test al, al
je 0x3daa0c4
mov edx, dword [ebp - 0x14]
mov eax, dword [0x3f36894]
call fcn.03da96c0
inc edi
dec ebx
jne 0x3daa021
mov eax, dword [0x3f36894]
cmp dword [eax + 8], 0
jle 0x3daa0e4
mov eax, dword [0x3f36894]
call fcn.03da9774
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x3daa0fd
push ebp
mov eax, dword [ebp - 0x18]
call fcn.03da9de0
pop ecx
test al, al
jne 0x3daa0fd
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x3db2530
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.03cbd9ec
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.03dac600
test ebx, ebx
jne 0x3db2583
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.03db23a8
mov ebx, eax
test ebx, ebx
je 0x3db2679
cmp esi, ebx
je 0x3db25ac
mov eax, dword [esp]
sub eax, dword [ebx + 0x50]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x54]
mov dword [esp + 0x118], eax
jmp 0x3db25c1
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x3db25f9
add eax, 0xffffff5f
sub eax, 2
jb 0x3db2611
dec eax
sub eax, 2
jb 0x3db2625
dec eax
sub eax, 2
jb 0x3db261b
jmp 0x3db262f
add eax, 0xfffffdff
sub eax, 2
jb 0x3db2611
dec eax
sub eax, 2
jb 0x3db2625
dec eax
sub eax, 2
jb 0x3db261b
jmp 0x3db262f
mov byte [esp + 0x120], 0
jmp 0x3db2637
mov byte [esp + 0x120], 2
jmp 0x3db2637
mov byte [esp + 0x120], 1
jmp 0x3db2637
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.03e46c7c
mov esi, eax
call fcn.03da906c
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.03daded4
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x3db267b
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret