joyce8/EMBER2024-capa huggingface dataset:
Function at 0x479c5c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x566bc8]
cmp dword [eax + 0x30], 0
je 0x479d06
cmp dword [ebx + 0x94], 0
jne 0x479d00
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x479bec
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x479d00
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x479cc6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x479d00
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041d8f4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x479cd5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x47a868
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x47a89d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040447c
jmp 0x47a8aa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004043e0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x47b9a4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x47b9e5
mov eax, esi
call fcn.00461378
test al, al
je 0x47b9e5
mov eax, dword [ebx + 0x84]
call fcn.00461074
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47b9e5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00461074
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x47f5a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x47f604
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040460c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409a24
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f60b
lea eax, [ebp - 0xc]
call fcn.0040438c
ret
Function at 0x47f680
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x47f6dc
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x47f6ab
call fcn.0041064c
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.00402960
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x47f6dc
call fcn.0041064c
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x48329c
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [0x5653ec]
cmp dword [eax], 2
je 0x4832ba
mov ecx, 0x304
mov edx, 0x4832ec
mov eax, 0x48333c
call fcn.004042e8
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x48323c
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x566f9c], eax
cmp dword [0x566f9c], 0
jne 0x4832e1
call fcn.0041064c
ret

Function at 0x483698
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, dword [0x564ba4]
cmp byte [eax], 0
jne 0x4836c6
mov ecx, 0xad
mov edx, 0x483714
mov eax, 0x483764
call fcn.004042e8
mov eax, ebx
call fcn.00404a7c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x483705
push 0x200
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00404c34
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x483778
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x564ba4]
cmp byte [eax], 0
jne 0x483799
mov ecx, 0xb9
mov edx, 0x4837b0
mov eax, 0x483800
call fcn.004042e8
push 2
movzx eax, bx
push eax
call sub.user32.dll_MapVirtualKeyW
pop ebx
ret

Function at 0x48b6d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x48b6e3
add esp, 0xfffffff0
call fcn.004038a0
mov ebx, ecx
mov byte [ebp - 1], dl
mov edi, eax
inc dword [0x56051c]
mov eax, dword [0x564c54]
mov byte [eax], 1
mov dl, 1
mov eax, edi
call fcn.0048ba68
mov dl, 1
mov eax, dword [0x41b000]
call fcn.0041dc6c
mov dword [edi + 0x44], eax
mov edx, 0x48b934
mov eax, edi
call fcn.004a0ba0
mov dword [edi + 0x18], eax
xor esi, esi
test bl, bl
je 0x48b72e
mov esi, 4
mov byte [edi + 0x1d], 1
lea eax, [edi + 0x14]
push eax
push esi
push 0
mov eax, dword [edi + 0x18]
push eax
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [edi + 8], eax
mov eax, edi
cmp byte [ebp - 1], 0
je 0x48b75c
call fcn.004038f8
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x48ba6c
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
cmp bl, byte [esi + 0x1d]
je 0x48ba93
mov eax, dword [esi + 8]
test eax, eax
je 0x48ba93
test bl, bl
je 0x48ba8a
push eax
call sub.kernel32.dll_SuspendThread
jmp 0x48ba90
push eax
call sub.kernel32.dll_ResumeThread
mov byte [esi + 0x1d], bl
pop esi
pop ebx
ret

Function at 0x48d98c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x48da4e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
mov eax, dword [ebp - 4]
call fcn.004a0fa0
test al, al
je 0x48da23
mov eax, dword [0x564cb8]
cmp dword [eax], 0
je 0x48d9ed
lea edx, [ebp - 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
mov eax, dword [ebp - 8]
call fcn.00404ccc
push eax
mov eax, dword [0x564cb8]
mov eax, dword [eax]
call eax
jmp 0x48da13
lea edx, [ebp - 0x10]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.00404624
mov eax, dword [ebp - 0xc]
call fcn.0040485c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 1
je 0x48da21
cmp eax, 4
je 0x48da21
xor ebx, ebx
jmp 0x48da23
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48da55
lea eax, [ebp - 0x10]
call fcn.00404a7c
lea eax, [ebp - 0xc]
call fcn.0040438c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a94
ret

Function at 0x48dc30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
xor edx, edx
push ebp
push 0x48dc96
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
push edx
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x48dc7e
push 0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x48c398]
call fcn.0048e94c
mov ebx, eax
lea edx, [ebp - 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x110]
jmp 0x48dc80
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48dc9d
lea eax, [ebp - 8]
call fcn.00406350
ret
Function at 0x48dec8
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48df83
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x56510c]
cmp dword [eax], 0
je 0x48df0e
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push edi
push esi
push ebx
mov eax, dword [0x56510c]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
jmp 0x48df68
call fcn.004a176c
test al, al
jne 0x48df3e
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004045c4
mov eax, dword [ebp - 4]
call fcn.0040485c
mov ecx, edi
mov edx, esi
call fcn.0048dda8
mov ebx, eax
jmp 0x48df68
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push edi
push esi
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004045c4
mov eax, dword [ebp - 8]
call fcn.0040485c
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48df8a
lea eax, [ebp - 8]
mov edx, 2
call fcn.004043b0
ret

Function at 0x48e94c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x48e95f
add esp, 0xfffffff0
call fcn.004038a0
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.0040350c
mov dword [ebx + 0x48], esi
mov dword [ebx + 0xa1], 0xffffffff
mov dword [ebx + 0xa5], 0xffffffff
mov dword [ebx + 0xe1], 0xffffffff
mov dword [ebx + 0xe5], 0xffffffff
mov dword [ebx + 0x34], 0xffffffff
or word [ebx + 0x6c], 0x10
or word [ebx + 0x6c], 0x20
or word [ebx + 0x6c], 0x40
mov dl, 1
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x19c]
mov dword [ebx + 0x3c], 0xffffffff
test esi, esi
jne 0x48ea18
test edi, edi
je 0x48e9de
mov edx, edi
mov eax, dword [0x567004]
call fcn.0049e2c0
test al, al
je 0x48ea02
test edi, edi
jne 0x48e9f7
lea eax, [ebx + 0x50]
push eax
push 0
mov eax, ebx
call fcn.00491348
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
jmp 0x48e9fa
mov dword [ebx + 0x50], edi
mov eax, dword [ebx + 0x50]
mov dword [ebx + 4], eax
jmp 0x48ea5f
mov esi, edi
mov dword [ebx + 4], esi
mov edx, esi
mov eax, dword [0x567004]
call fcn.0049e260
mov dword [ebx + 0x50], eax
jmp 0x48ea5f
mov edx, dword [esi + 4]
mov eax, dword [0x567004]
call fcn.0049e2c0
test al, al
je 0x48ea31
mov dword [ebx + 0x50], edi
mov dword [ebx + 4], edi
jmp 0x48ea5f
mov ecx, edi
mov edx, dword [esi + 4]
mov eax, dword [0x567004]
call fcn.0049e0bc
mov dword [ebx + 4], eax
mov edx, dword [ebx + 4]
mov eax, dword [0x567004]
call fcn.0049e260
mov dword [ebx + 0x50], eax
mov edx, edi
mov eax, dword [0x567004]
call fcn.0049e250
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48ea76
call fcn.004038f8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x4923cc
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbec
push ebx
push esi
mov esi, ecx
mov ebx, 0x400c
mov edx, dword [ebp + 8]
cmp byte [edx - 5], 1
jne 0x4923ec
or ebx, 0
jmp 0x4923ef
or ebx, 1
test al, al
je 0x4923f6
or ebx, 2
call fcn.004a1738
test al, al
je 0x492447
lea eax, [ebp - 0x414]
xor ecx, ecx
mov edx, 0x2b4
call fcn.00402db4
push ebx
push 0x2b4
lea eax, [ebp - 0x414]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x564f4c]
mov eax, dword [eax]
call eax
test eax, eax
je 0x492441
mov eax, dword [ebp - 0x410]
mov dword [esi], eax
jmp 0x492489
xor eax, eax
mov dword [esi], eax
jmp 0x492489
lea eax, [ebp - 0x160]
xor ecx, ecx
mov edx, 0x160
call fcn.00402db4
push ebx
push 0x160
lea eax, [ebp - 0x160]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x492485
mov eax, dword [ebp - 0x15c]
mov dword [esi], eax
jmp 0x492489
xor eax, eax
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x493f60
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x424], edx
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x41c], edx
mov dword [ebp - 0x420], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x494136
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x68], 0
jne 0x494118
call fcn.004a1738
test al, al
je 0x494070
mov eax, 4
call fcn.00402764
mov esi, eax
mov dword [ebx + 0x68], esi
mov eax, esi
mov edx, dword [0x4010c8]
call fcn.00405168
cmp dword [ebx + 0x68], 0
je 0x494118
push 0x408
push 0x2b4
lea eax, [ebp - 0x414]
push eax
push 0
mov eax, dword [ebx + 4]
push eax
mov eax, dword [0x564f4c]
mov eax, dword [eax]
call eax
mov eax, dword [ebx + 0x68]
lea edx, [ebp - 0x200]
mov ecx, 0x50
call fcn.00404c34
mov eax, dword [ebx + 0x68]
mov eax, dword [eax]
xor edx, edx
call fcn.00404df4
jne 0x494118
lea edx, [ebp - 0x420]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xdc]
mov eax, dword [ebp - 0x420]
lea edx, [ebp - 0x41c]
call fcn.0049f218
mov eax, dword [ebp - 0x41c]
lea edx, [ebp - 0x418]
call fcn.0049fa8c
mov edx, dword [ebp - 0x418]
mov ecx, dword [0x564b08]
mov ecx, dword [ecx]
mov eax, dword [ebx + 0x68]
call fcn.00404d48
jmp 0x494118
mov eax, 4
call fcn.00402764
mov esi, eax
mov dword [ebx + 0x68], esi
mov eax, esi
mov edx, dword [0x4010c8]
call fcn.00405168
cmp dword [ebx + 0x68], 0
je 0x494118
push 0x408
push 0x160
lea eax, [ebp - 0x160]
push eax
push 0
mov eax, dword [ebx + 4]
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [ebx + 0x68]
lea edx, [ebp - 0x50]
mov ecx, 0x50
call fcn.00404c1c
mov eax, dword [ebx + 0x68]
mov eax, dword [eax]
xor edx, edx
call fcn.00404df4
jne 0x494118
lea edx, [ebp - 0x42c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xdc]
mov eax, dword [ebp - 0x42c]
lea edx, [ebp - 0x428]
call fcn.0049f218
mov eax, dword [ebp - 0x428]
lea edx, [ebp - 0x424]
call fcn.0049fa8c
mov edx, dword [ebp - 0x424]
mov ecx, dword [0x564b08]
mov ecx, dword [ecx]
mov eax, dword [ebx + 0x68]
call fcn.00404d48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49413d
lea eax, [ebp - 0x42c]
mov edx, 6
call fcn.00404a94
ret
Function at 0x4a0ba0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 0x40
push 0x1000
push 0xd
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov byte [eax], 0x5a
mov byte [eax + 1], 0xb8
mov dword [eax + 2], ebx
mov byte [eax + 6], 0x50
mov byte [eax + 7], 0x52
mov byte [eax + 8], 0xe9
lea edx, [eax + 8]
sub esi, edx
sub esi, 5
mov dword [eax + 9], esi
pop esi
pop ebx
ret

Function at 0x4a0d74
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.00405084
xor eax, eax
push ebp
push 0x4a0ebc
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
test bl, bl
je 0x4a0e8a
mov eax, dword [ebp - 4]
call fcn.004a0fa0
test al, al
je 0x4a0e8a
call fcn.004a1738
test al, al
je 0x4a0e0b
cmp dword [0x5606dc], 0
je 0x4a0e0b
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ccc
push eax
call dword [0x5606dc]
test eax, eax
je 0x4a0e9e
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
sub eax, dword [ebp - 0x20]
sbb edx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp 0x4a0e9e
call fcn.004a176c
test al, al
jne 0x4a0e59
cmp dword [0x5606d8], 0
je 0x4a0e59
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00404624
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040485c
push eax
call dword [0x5606d8]
test eax, eax
je 0x4a0e9e
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
sub eax, dword [ebp - 0x20]
sbb edx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp 0x4a0e9e
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040485c
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
mov eax, dword [ebp - 0x2c]
imul dword [ebp - 0x30]
imul dword [ebp - 0x38]
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp 0x4a0e9e
mov byte [0x560788], 0
lea ecx, [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049f484
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0ec3
lea eax, [ebp - 0x14]
call fcn.0040438c
lea eax, [ebp - 4]
call fcn.00404a7c
ret

Function at 0x4a1864
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4a189c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4a187d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4a188c
or bl, 4
test esi, 0x20000000
je 0x4a1897
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4dee38
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4dee9c
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040460c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409a24
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4deea3
lea eax, [ebp - 0xc]
call fcn.0040438c
ret

Function at 0x4e2860
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4e28b1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4e2898
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4e2888
jmp 0x4e28b1
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4e2899
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f4dd4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x4f4e03
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x4f4e82
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004f3690
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4f4e50
mov cx, word [esp]
sub cx, si
jmp 0x4f4e52
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4f4e39
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4f4e78
mov cx, word [esp]
sub cx, si
jmp 0x4f4e7a
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4f4e61
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4f4edf
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.004f4aa8
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x4f4eca
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x4f4edf
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4f4dde
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4fb414
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5671c0
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4fb436
shr eax, 1
xor eax, 0xedb88320
jmp 0x4fb438
shr eax, 1
dec edx
jne 0x4fb424
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4fb41d
mov byte [0x5675c0], 1
pop esi
pop ebx
ret

Function at 0x4fb454
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5675c0], 0
jne 0x4fb46b
call fcn.004fb414
mov eax, edi
dec eax
test eax, eax
jl 0x4fb494
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5671c0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4fb475
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4fdfb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4fdfe1
dec al
je 0x4fe01d
dec al
je 0x4fe061
dec al
je 0x4fe0cc
jmp 0x4fe156
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4fe156
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4fdff1
jmp 0x4fe156
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4fe156
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4fe02d
jmp 0x4fe156
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4fe156
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4fe08f
xor ebp, ebp
jmp 0x4fe0a0
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4fe0a9
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4fe071
jmp 0x4fe156
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4fe156
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4fe124
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004fb49c
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4fe0e0
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret