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

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x50fad6
mov eax, esp
push eax
push 0x50fa78
call sub.user32.dll_EnumWindows
jmp 0x50fae9
mov eax, esp
push eax
push 0x50fa58
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x50fbac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x50fbfc]
test bl, 4
je 0x50fbc0
or si, 1
test bl, 8
je 0x50fbc9
or si, 4
test bl, 1
je 0x50fbd2
or si, 8
test bl, 2
je 0x50fbdb
or si, 0x10
test bl, 0x10
je 0x50fbe4
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x50fbf4
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x50fc00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x50fc3c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x50fc1b
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x50fc2b
or bx, 4
test esi, 0x20000000
je 0x50fc37
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x50fc90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0050fc40
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret
Function at 0x51865c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x51866e
add esp, 0xfffffff0
call fcn.00405b5c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00448c7c
mov eax, dword [0x8e0794]
mov dword [eax + 4], ebx
mov dword [eax], 0x518ab8
mov eax, dword [0x8e07b4]
mov dword [eax + 4], ebx
mov dword [eax], 0x518ac4
mov eax, ebx
call fcn.00518ad0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x4318b0]
call fcn.00405600
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4318b0]
call fcn.00405600
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4318b0]
call fcn.00405600
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4318b0]
call fcn.00405600
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x4318b0]
call fcn.00405600
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x513910
push eax
push 0
push 0
mov eax, dword [0x8e0c10]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x455748]
call fcn.0045bd9c
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x455748]
call fcn.0045bd9c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x455748]
call fcn.0045bd9c
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x455748]
call fcn.0045bd9c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x455748]
call fcn.0045bd9c
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.005190c4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x518ee4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x518ee4
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x518ee4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x518ee4
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x518ee4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5187e9
call fcn.00405bb4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x518c84
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x518e31
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x518e12
mov dl, 1
mov eax, dword [0x43497c]
call fcn.00441618
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00407bac
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x518e01
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004fa728
test al, al
je 0x518df4
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x518e40
lea eax, [ebp - 0x394]
call fcn.004173c8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x518df4
xor eax, eax
push ebp
push 0x518ded
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x518eb0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x518dd6
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, 0x100
call fcn.00407dbc
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x40]
jne 0x518dd6
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, 0x100
call fcn.00407dbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x518df4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x518cf7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00441554
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x518e38
lea eax, [ebp - 0x3a0]
call fcn.00407b9c
ret

Function at 0x5199e0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x8e72e8]
cmp byte [eax + 0xad], 0
jne 0x519a52
cmp dword [0x8e7300], 0
jne 0x519a12
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x8daf2c]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x8e7300], eax
cmp dword [0x8e72fc], 0
jne 0x519a2d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x8e72fc], eax
cmp dword [0x8e7304], 0
jne 0x519a52
push esp
push 0
push 0
mov eax, dword [0x8daf28]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x8e7304], eax
pop edx
ret
Function at 0x519d78
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x519d8f
add esp, 0xfffffff0
call fcn.00405b5c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00448c7c
mov eax, dword [0x8e048c]
cmp byte [eax], 0
jne 0x519dbc
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x8e0bc0]
cmp word [eax + 2], 0
jne 0x519dd6
mov eax, dword [0x8e0bc0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0051be3c
mov eax, dword [0x8e0e1c]
cmp word [eax + 2], 0
jne 0x519df0
mov eax, dword [0x8e0e1c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0051c04c
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x455748]
call fcn.0045bd9c
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x51c500
mov dl, 1
mov eax, dword [0x4318b0]
call fcn.00405600
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4318b0]
call fcn.00405600
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x459f04]
call fcn.004652f8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x519fd0
mov eax, dword [0x8e08e4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004656f8
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x51c7c0
mov dl, 1
mov eax, dword [0x4318b0]
call fcn.00405600
mov dword [ebx + 0x98], eax
push 0x100
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x8e08e4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00417154
test eax, eax
je 0x519f01
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00416f20
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00417138
test eax, eax
je 0x519f19
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, 0x100
call fcn.00407dbc
push ebx
push 0x51b80c
call fcn.0050fb90
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x8e048c]
cmp byte [eax], 0
jne 0x519f6a
mov eax, ebx
call fcn.0051a144
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0051c9ec
mov eax, ebx
call fcn.0051d620
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x519fc7
call fcn.00405bb4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51a418
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x51a4ba
cmp dword [ebx + 0x94], 0
jne 0x51a4b4
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x51a364
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x51a4b4
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_GetWindowLongW
test al, 8
je 0x51a47a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x51a4b4
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.0043d5d8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x51a489
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x51a6d8
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x8e72e8]
cmp dword [eax + 0x170], 0
je 0x51a83d
test bl, bl
jne 0x51a78b
cmp dword [esi + 0x9c], 0
jne 0x51a780
mov eax, esi
call fcn.0051d470
push eax
push 0x51a5e4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x51a751
mov eax, dword [0x8e72e8]
cmp byte [eax + 0xd3], 0
je 0x51a751
mov eax, dword [esi + 0xd8]
call fcn.004095ec
mov edi, eax
cmp edi, 0
jl 0x51a751
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x51a73a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x51a780
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043d5d8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x51a760
inc dword [esi + 0x9c]
jmp 0x51a83d
cmp dword [esi + 0x9c], 0
jle 0x51a83d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x51a83d
cmp dword [esi + 0x44], 0
je 0x51a7e8
mov eax, dword [0x8e72e8]
cmp byte [eax + 0xd3], 0
je 0x51a7e8
mov eax, dword [esi + 0xd8]
call fcn.004095ec
mov edi, eax
cmp edi, 0
jl 0x51a7e8
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x51a7d1
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x51a817
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043d5d8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x51a7f7
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x50da68]
call fcn.004097ac
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x51b458
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x51b4c3
cmp byte [ebx + 0xd3], 0
jne 0x51b4c3
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00407ce8
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x51b4b0
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x51b4d0
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00407bac
jmp 0x51b4d0
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00407bac
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x51cbd4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x51cc42
mov eax, esi
call fcn.004f4694
test al, al
je 0x51cc42
mov eax, dword [ebx + 0x84]
call fcn.004f42e8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x51cc42
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x51cc36
push 0
mov eax, dword [ebx + 0x84]
call fcn.004f42e8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004eb650
jmp 0x51cc42
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0051ca0c
pop esi
pop ebx
ret
Function at 0x52285c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40e3ec]
call fcn.00408944
xor eax, eax
push ebp
push 0x5229a6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x8dafb4], 0
jne 0x5228b0
mov ecx, dword [0x8e04e8]
mov dl, 1
mov eax, dword [0x40fe04]
call fcn.0041ca04
call fcn.004061c4
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.00404e04
mov eax, ebx
call fcn.00407840
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x5229b4
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.0040acf8
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x5228f7
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x52294c
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x522945
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00407e24
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.00407dbc
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.004151ac
test eax, eax
jne 0x522945
mov ebx, 0x15
jmp 0x522951
mov ebx, 0x10
jmp 0x522951
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x8dafb4]
call fcn.0052266c
mov eax, dword [ebp - 4]
call fcn.0052266c
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.0040ad10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5229ad
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00407ba4
lea eax, [ebp - 0xc]
mov edx, dword [0x40e3ec]
call fcn.00408a1c
ret
Function at 0x554288
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
xor edx, edx
mov eax, dword [ebx + 0x294]
call fcn.0048c2c0
xor eax, eax
mov dword [ebx + 0x29c], eax
mov eax, ebx
call fcn.004f4694
test al, al
je 0x5542ba
push 0
mov eax, ebx
call fcn.004f42e8
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x555944
Capabilities:
Log keystrokes via polling

Disassembly:
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x555965
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x555965
xor eax, eax
ret
mov al, 1
ret
Function at 0x59664c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
dec edx
test edx, edx
jl 0x5966f1
inc edx
mov dword [ebp - 0x14], edx
mov edx, dword [eax]
and edx, 0xffff
or edx, 2
mov dword [ebp - 0x10], edx
movzx edx, byte [esi]
mov ebx, dword [ebp - 0x10]
xor ebx, 1
imul ebx, dword [ebp - 0x10]
shr ebx, 8
xor dl, bl
mov byte [esi], dl
mov edx, dword [ecx]
movzx ebx, byte [esi]
xor dl, bl
movzx edx, dl
mov edx, dword [edx*4 + 0x8db4c0]
mov ebx, dword [ecx]
shr ebx, 8
and ebx, 0xffffff
xor edx, ebx
mov dword [ecx], edx
mov edx, dword [ecx]
and edx, 0xff
add dword [edi], edx
mov edx, dword [edi]
imul edx, dword [ebp + 8]
inc edx
mov dword [edi], edx
mov edx, dword [eax]
mov ebx, dword [edi]
shr ebx, 0x18
xor dl, bl
movzx edx, dl
mov edx, dword [edx*4 + 0x8db4c0]
mov ebx, dword [eax]
shr ebx, 8
and ebx, 0xffffff
xor edx, ebx
mov dword [eax], edx
inc esi
dec dword [ebp - 0x14]
jne 0x596674
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5980dc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
mov ebx, eax
lea eax, [ebp - 0x208]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathW
mov edx, ebx
lea eax, [ebp - 0x208]
call fcn.004172a8
mov eax, dword [ebx]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x20c]
test eax, eax
je 0x59811d
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x598133
mov eax, ebx
mov edx, 0x598144
call fcn.00407fd0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5b4178
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov edx, ebx
lea eax, [ebp - 0x208]
call fcn.005b413c
mov eax, dword [ebx]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x20c]
test eax, eax
je 0x5b41b9
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x5b41cf
mov eax, ebx
mov edx, 0x5b41e0
call fcn.00407fd0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5b41e4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
lea eax, [ebp - 0x208]
call fcn.005b413c
mov eax, dword [ebx]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x20c]
test eax, eax
je 0x5b4225
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x5b423b
mov eax, ebx
mov edx, 0x5b424c
call fcn.00407fd0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5b9498
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x8e7424
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x5b94ba
shr eax, 1
xor eax, 0xedb88320
jmp 0x5b94bc
shr eax, 1
dec edx
jne 0x5b94a8
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x5b94a1
mov byte [0x8e7824], 1
pop esi
pop ebx
ret

Function at 0x5b94d8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x8e7824], 0
jne 0x5b94ef
call fcn.005b9498
mov eax, edi
dec eax
test eax, eax
jl 0x5b9517
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x8e7424]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x5b94f9
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x5bc264
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x5bc2fe.0
jmp dword [ecx*4 + 0x5bc297]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5bc2c9
sub dl, 8
je 0x5bc2d8
jmp case.0x5bc2fe.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x5bbf0c
jmp case.0x5bc2fe.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x5bbf64
jmp case.0x5bc2fe.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x5bc2fe.0
movzx ecx, byte [ecx + 0x5bc305]
jmp dword [ecx*4 + 0x5bc316]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x5bc010
jmp case.0x5bc2fe.0
cmp dl, 3
jne 0x5bc343
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x5bc068
jmp case.0x5bc2fe.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x5bc024
jmp case.0x5bc2fe.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x5bc0ac
jmp case.0x5bc2fe.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5bc36e
sub dl, 8
je 0x5bc37a
jmp case.0x5bc2fe.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x5bc0d8
jmp case.0x5bc2fe.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x5bc144
jmp case.0x5bc2fe.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5bc399
sub dl, 8
je 0x5bc3a5
jmp case.0x5bc2fe.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x5bc200
jmp case.0x5bc2fe.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x5bc228
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0x10], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 0xc], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x14], edx
mov esi, ecx
test esi, esi
jb 0x5bc447
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.005bb410
test eax, eax
je 0x5bc447
mov eax, ebx
call fcn.005bc450
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call dword [ebp - 0x20]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0x10], eax
sub dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 0xc], eax
dec esi
jne 0x5bc3e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8