joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408d54
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x679034], 0
je 0x408d7f
mov edx, edi
mov eax, esi
call dword [0x679034]
mov ebx, eax
jmp 0x408d90
mov eax, 8
call fcn.004067cc
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x68105d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x408d1c
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x408dc0
mov eax, ebx
call fcn.004067e8
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x40b88c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40b9f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00408e94
cmp si, word [0x679a00]
jb 0x40b924
cmp si, word [0x679c00]
ja 0x40b924
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40b924
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x679a00]
jae 0x40b8fe
mov edi, ebx
dec edi
jmp 0x40b91f
cmp si, word [ebx*8 + 0x679a00]
jbe 0x40b90e
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40b91f
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x679a04]
call fcn.0040b7ac
jmp 0x40b924
cmp edi, dword [ebp - 8]
jae 0x40b8e8
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40b9d3
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40b9d3
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00409da8
push dword [ebp - 0x160]
push 0x40ba0c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00409da8
push dword [ebp - 0x164]
push 0x40ba1c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00409da8
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00409fe0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b9f8
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00408ef4
ret
Function at 0x40bba4
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40bca8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x683b8c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x683ba4]
jne 0x40bbf0
mov eax, esi
mov edx, 0x683ba6
mov ecx, 0x55
call fcn.00409da8
push 0x683b8c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40bc92
push 0x683b8c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00408e94
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40bc5f
cmp byte [0x683b88], 0
je 0x40bc24
mov edx, esi
mov eax, ebx
call fcn.0040ba88
jmp 0x40bc5f
mov edx, esi
mov eax, ebx
call fcn.0040b88c
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40bc5f
cmp dword [esi], 0
je 0x40bc48
mov eax, esi
mov edx, 0x40bcc0
call fcn.00409f00
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040b88c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00409f00
push 0x683b8c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x683ba4], bx
mov eax, dword [esi]
call fcn.00409cec
mov ecx, eax
mov eax, 0x683ba6
mov edx, 0xaa
call fcn.0040b70c
push 0x683b8c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bcaf
lea eax, [ebp - 4]
call fcn.00408e94
ret
Function at 0x40bed8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00408f78
xor eax, eax
push ebp
push 0x40c0fd
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40bf18
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40bf32
mov eax, dword [ebp - 4]
call fcn.00409cec
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040b70c
cmp word [ebp - 0x21a], 0
je 0x40c0e7
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40c10c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c001
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40c10c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c001
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40c148
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c001
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40c148
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c001
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40c17c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c001
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40c1b0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40c0e7
xor eax, eax
push ebp
push 0x40c0e0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040bce8
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40c070
mov eax, dword [ebp - 0x10]
call fcn.004067cc
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00409d54
jmp 0x40c0bb
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40c1f0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40c0bb
mov eax, dword [ebp - 0x10]
call fcn.004067cc
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40c1f0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00409d54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c0e7
cmp dword [ebp - 8], 0
je 0x40c0d6
mov eax, dword [ebp - 8]
call fcn.004067e8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c104
lea eax, [ebp - 4]
call fcn.00408e94
ret
Function at 0x40c3ec
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00408f78
xor eax, eax
push ebp
push 0x40c4ac
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00409da8
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00409f58
mov eax, dword [ebx]
call fcn.0040c2b4
test al, al
jne 0x40c489
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00409da8
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00409f58
mov eax, dword [ebx]
call fcn.0040c2b4
test al, al
jne 0x40c489
mov eax, ebx
call fcn.00408e94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c4b3
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00408ef4
lea eax, [ebp - 4]
call fcn.00408e94
ret

Function at 0x41ea88
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41eae1
test eax, edx
je 0x41eae4
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41ea9f
movzx eax, word [eax]
sub eax, ecx
jmp 0x41eac6
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x41eac7
add ecx, 4
js 0x41eab7
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41eac4
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41eac6
xor eax, eax
ret
test eax, eax
je 0x41eaf0
test edx, edx
jne 0x41ea90
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41fcfc
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
test eax, eax
jne 0x41fd29
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x41fdbc
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.00409cec
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x41fe63
test esi, 0x400
jne 0x41fdf8
test esi, 0x10
setne bl
jmp 0x41fe93
cmp byte [esp], 0
je 0x41fe2c
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41fe93
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x41fe93
test esi, 0x10
je 0x41fe38
mov bl, 1
jmp 0x41fe93
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41fe5f
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x41fe93
mov bl, 1
jmp 0x41fe93
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x41fe8d
cmp eax, 3
je 0x41fe8d
cmp eax, 0xa1
je 0x41fe8d
cmp eax, 0x7b
je 0x41fe8d
cmp eax, 0x35
je 0x41fe8d
cmp eax, 0x15
je 0x41fe8d
cmp eax, 0x43
jne 0x41fe91
xor ebx, ebx
jmp 0x41fe93
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x423f3c
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 0x423f75
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040901c
jmp 0x423f7e
mov eax, ebx
mov edx, esi
call fcn.00409274
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x423f88
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 0x423faa
movzx eax, word [esp]
jmp 0x423fac
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x425010
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 0x425135
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00424e18
mov esi, eax
mov eax, dword [0x680590]
cmp byte [eax], 0
je 0x4250dd
mov eax, dword [0x680280]
call fcn.00406dd8
call fcn.00406940
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 [0x424fe0]
call fcn.0040b180
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 0x425150
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x425119
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x680208]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x683c54]
call fcn.0040b3ac
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 0x42513c
lea eax, [ebp - 4]
mov edx, dword [0x424fe0]
call fcn.0040b2a4
ret

Function at 0x42603c
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 0x426112
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004092bc
lea eax, [ebp - 4]
call fcn.00409458
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00409cec
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4260fc
mov eax, ebx
call fcn.004067cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4260f5
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.00409cec
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4260df
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x426124
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4260df
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 0x4260fc
mov eax, dword [ebp - 0x10]
call fcn.004067e8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426119
lea eax, [ebp - 4]
call fcn.00408e94
ret
Function at 0x46e3cc
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 0x46e3d4
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4a488c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a492a
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x4a48ee
cmp byte [ebx + 0x11], 0
jne 0x4a48ee
cmp byte [ebx + 0x3c], 0
jne 0x4a48ee
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 0x4a490f
lea edx, [ebp - 4]
mov eax, dword [0x680504]
call fcn.0040cdb4
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x47c928]
call fcn.00425160
call fcn.00408590
jmp 0x4a490f
lea edx, [ebp - 8]
mov eax, dword [0x680504]
call fcn.0040cdb4
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x47c928]
call fcn.00425160
call fcn.00408590
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4931
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408ef4
ret

Function at 0x4a4e18
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 0x4a4e66
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.004a47d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a4e7f
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4a4e88
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.004a47d8
dec esi
jne 0x4a4eaa
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x4a744c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x6863d8
cmp dword [edi], 0
jne 0x4a74c8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x6863d4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x67b604
mov ecx, 2
call fcn.00406990
mov edx, 0x4a7424
lea eax, [esi + 5]
call fcn.004a7444
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004a7444
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 0x4a749d
mov dword [0x6863d4], 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 0x4c5148
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.00409cec
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.004c4c00
test al, al
jne 0x4c51a9
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x680760]
mov dl, 1
mov eax, dword [0x4c3934]
call fcn.00425258
call fcn.00408590
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004c4b68
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 0x4cd72c
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 0x4cd732
ret
Function at 0x4e2334
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, 0x67cb80
test edx, edx
jne 0x4e2353
xor eax, eax
jmp 0x4e2471
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x4e2370
push esi
push edx
push eax
call fcn.004e2478
add esp, 0xc
jmp 0x4e2471
push esi
push edx
push eax
call fcn.004e2738
add esp, 0xc
jmp 0x4e2471
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4eff24
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 [0x6865e8], 0
je 0x4f0065
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x6804d0]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x4f0065
mov eax, dword [0x6865ec]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x6865e8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4f0034
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x6865e8]
call fcn.00494050
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4f002c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x205], 0
je 0x4f002c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x68]
test al, al
je 0x4f002c
mov eax, dword [ebp - 0x14]
call fcn.004fb980
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4f002c
push ebp
call fcn.004efee0
pop ecx
test al, al
jne 0x4f002c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb9
call fcn.0040756c
test al, al
je 0x4f002c
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.0040756c
cmp byte [ebp - 9], 0
je 0x4f002c
lea edx, [ebp - 8]
lea eax, [ebp - 0x28]
call fcn.0040e534
test al, al
je 0x4f002c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x6865ec]
call fcn.004ef628
inc edi
dec ebx
jne 0x4eff89
mov eax, dword [0x6865ec]
cmp dword [eax + 8], 0
jle 0x4f004c
mov eax, dword [0x6865ec]
call fcn.004ef6dc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4f0065
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004efd48
pop ecx
test al, al
jne 0x4f0065
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 0x4f84b8
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.0040e734
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.004f2568
test ebx, ebx
jne 0x4f850b
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004f8330
mov ebx, eax
test ebx, ebx
je 0x4f8601
cmp esi, ebx
je 0x4f8534
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 0x4f8549
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 0x4f8581
add eax, 0xffffff5f
sub eax, 2
jb 0x4f8599
dec eax
sub eax, 2
jb 0x4f85ad
dec eax
sub eax, 2
jb 0x4f85a3
jmp 0x4f85b7
add eax, 0xfffffdff
sub eax, 2
jb 0x4f8599
dec eax
sub eax, 2
jb 0x4f85ad
dec eax
sub eax, 2
jb 0x4f85a3
jmp 0x4f85b7
mov byte [esp + 0x120], 0
jmp 0x4f85bf
mov byte [esp + 0x120], 2
jmp 0x4f85bf
mov byte [esp + 0x120], 1
jmp 0x4f85bf
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.005800f8
mov esi, eax
call fcn.004eefd4
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.004f3e70
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4f8603
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret