joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5f5068
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x5f5089
test edi, 0x40000
je 0x5f50a3
test bl, bl
jne 0x5f5124
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x5f5124
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x5f50d6
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x5f50eb
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x5f50fa
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x5f510b
cmp byte [esp + 2], 0
je 0x5f5124
cmp byte [esp + 2], 0
je 0x5f511c
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x5f5124
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x5f53c8
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 0x5f53ee
mov eax, esp
push eax
push 0x5f5390
call sub.user32.dll_EnumWindows
jmp 0x5f5401
mov eax, esp
push eax
push 0x5f5370
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x5f54c4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x5f5514]
test bl, 4
je 0x5f54d8
or si, 1
test bl, 8
je 0x5f54e1
or si, 4
test bl, 1
je 0x5f54ea
or si, 8
test bl, 2
je 0x5f54f3
or si, 0x10
test bl, 0x10
je 0x5f54fc
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5f550c
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x5f5518
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x5f5554]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5f5533
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5f5543
or bx, 4
test esi, 0x20000000
je 0x5f554f
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x5fea1c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x5fea2e
add esp, 0xfffffff0
call fcn.00408528
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0047fe34
mov eax, dword [0x682b70]
mov dword [eax + 4], ebx
mov dword [eax], 0x5feee8
mov eax, dword [0x682b80]
mov dword [eax + 4], ebx
mov dword [eax], 0x5feef4
mov eax, ebx
call fcn.005fef00
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x43fe68]
call fcn.00407e70
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x43fe68]
call fcn.00407e70
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x43fe68]
call fcn.00407e70
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x43fe68]
call fcn.00407e70
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x43fe68]
call fcn.00407e70
mov dword [ebx + 0x84], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x50], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x68]
push eax
mov eax, 0x5f9438
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x51bd6c]
call fcn.00522438
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x51bd6c]
call fcn.00522438
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x51bd6c]
call fcn.00522438
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x51bd6c]
call fcn.00522438
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x51bd6c]
call fcn.00522438
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.005ff4dc
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5ff30c
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5ff30c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5ff30c
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5ff30c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5ff30c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5febae
call fcn.00408580
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5ff0ac
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 0x5ff257
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5ff238
mov dl, 1
mov eax, dword [0x443824]
call fcn.0046df70
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00409cd4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5ff227
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.00560250
test al, al
je 0x5ff21a
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, 0x5ff268
lea eax, [ebp - 0x394]
call fcn.00426a04
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x5ff21a
xor eax, eax
push ebp
push 0x5ff213
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 0x5ff2d8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x5ff1fc
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040a894
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x5ff1fc
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040a894
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ff21a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5ff11d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.0046de98
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ff25e
lea eax, [ebp - 0x3a0]
call fcn.00409cd4
ret

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

Disassembly:
push ecx
mov eax, dword [0x68a80c]
cmp byte [eax + 0xc5], 0
jne 0x5ffed6
cmp dword [0x68a830], 0
jne 0x5ffe96
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x6823ec]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x68a830], eax
cmp dword [0x68a82c], 0
jne 0x5ffeb1
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventW
mov dword [0x68a82c], eax
cmp dword [0x68a834], 0
jne 0x5ffed6
push esp
push 0
push 0
mov eax, dword [0x6823e8]
push eax
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x68a834], eax
pop edx
ret
Function at 0x6002f8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x60030f
add esp, 0xfffffff0
call fcn.00408528
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0047fe34
mov eax, dword [0x682a04]
cmp byte [eax], 0
jne 0x60033c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x682dac]
cmp word [eax + 2], 0
jne 0x600356
mov eax, dword [0x682dac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00602790
mov eax, dword [0x682f0c]
cmp word [eax + 2], 0
jne 0x600370
mov eax, dword [0x682f0c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00602994
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x51bd6c]
call fcn.00522438
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x602f0c
mov dl, 1
mov eax, dword [0x43fe68]
call fcn.00407e70
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x43fe68]
call fcn.00407e70
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x520b08]
call fcn.0052c6f4
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x600560
mov eax, dword [0x682c28]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0052cc10
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x6031f4
mov dl, 1
mov eax, dword [0x43fe68]
call fcn.00407e70
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x682c28]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00426804
test eax, eax
je 0x60048a
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0042665c
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004267e8
test eax, eax
je 0x6004a2
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040a894
push ebx
push 0x602170
call fcn.005f54a8
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x682a04]
cmp byte [eax], 0
jne 0x6004f3
mov eax, ebx
call fcn.00600728
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.0060342c
mov eax, ebx
call fcn.006040b4
mov byte [ebx + 0x196], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x600557
call fcn.00408580
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x600a54
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x600af6
cmp dword [ebx + 0xac], 0
jne 0x600af0
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x600994
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x600af0
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 0x600ab6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x600af0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.00469028
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x600ac5
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x68a80c]
cmp dword [eax + 0x188], 0
je 0x600f05
test bl, bl
jne 0x600e58
cmp dword [esi + 0xb4], 0
jne 0x600e4d
mov eax, esi
call fcn.00603f04
push eax
push 0x600c9c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x600e1e
mov eax, dword [0x68a80c]
cmp byte [eax + 0xeb], 0
je 0x600e1e
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x600dff
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x600e1e
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x600e07
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x600e4d
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.00469028
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x600e2d
inc dword [esi + 0xb4]
jmp 0x600f05
cmp dword [esi + 0xb4], 0
jle 0x600f05
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x600f05
cmp dword [esi + 0x58], 0
je 0x600eba
mov eax, dword [0x68a80c]
cmp byte [eax + 0xeb], 0
je 0x600eba
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x600e9b
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x600eba
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x600ea3
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x600ee9
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.00469028
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x600ec9
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5f2120]
call fcn.0040c164
pop edi
pop esi
pop ebx
ret
Function at 0x601c8c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x601ce9
cmp byte [ebx + 0xeb], 0
jne 0x601ce9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409e5c
mov eax, dword [esi]
test eax, eax
je 0x601cd6
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x601cf6
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a0b4
jmp 0x601cf6
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a0b4
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x603640
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x6036b1
mov eax, esi
call fcn.00559db4
test al, al
je 0x6036b1
mov eax, dword [ebx + 0x98]
call fcn.005599e0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x6036b1
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x140]
test al, al
je 0x6036a2
push 0
mov eax, dword [ebx + 0x98]
call fcn.005599e0
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.005505b8
jmp 0x6036b1
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.0060344c
pop esi
pop ebx
ret
Function at 0x6104a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x68ac9c], 0
jne 0x6104b7
call fcn.0061045c
mov eax, edi
dec eax
test eax, eax
jl 0x6104df
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x68a89c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x6104c1
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x613504
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x613535
dec al
je 0x613570
dec al
je 0x6135b4
dec al
je 0x613626
jmp 0x6136c1
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x6136c1
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, 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 0x613545
jmp 0x6136c1
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6136c1
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
movzx ecx, al
mov ecx, dword [ebx + ecx*4 + 0x40]
add dl, byte [ecx + esi]
and dl, 0xff
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x613580
jmp 0x6136c1
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6136c1
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
jbe 0x6135e7
xor edx, edx
mov dword [esp + 4], edx
jmp 0x6135fc
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov ebp, dword [ebx + edx*4 + 0x40]
movzx edx, byte [ebp + esi]
add eax, dword [esp + 4]
sar eax, 1
jns 0x613614
adc eax, 0
add dl, al
and dl, 0xff
mov byte [ebp + esi], dl
inc esi
dec edi
jne 0x6135c4
jmp 0x6136c1
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6136c1
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
ja 0x61368d
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, 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 + 8], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 8]
push eax
movzx eax, byte [esp + 8]
pop edx
call fcn.006104e8
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [esp]
and al, 0xff
mov byte [edx + esi], al
inc esi
dec edi
jne 0x613642
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x617f64
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda8
xor edx, edx
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x258], edx
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409db8
xor eax, eax
push ebp
push 0x6180f0
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov eax, 2
call fcn.0060c170
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x23c], 0x22c
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 0x10]
call fcn.0060c190
mov dword [ebp - 0xc], eax
jmp 0x6180b7
lea eax, [ebp - 0x248]
lea edx, [ebp - 0x218]
mov ecx, 0x104
call fcn.0040a894
mov eax, dword [ebp - 0x248]
lea edx, [ebp - 0x244]
call fcn.00426370
mov eax, dword [ebp - 0x244]
lea edx, [ebp - 0x240]
call fcn.004245b8
mov eax, dword [ebp - 0x240]
push eax
lea edx, [ebp - 0x24c]
mov eax, dword [ebp - 4]
call fcn.004245b8
mov edx, dword [ebp - 0x24c]
pop eax
call fcn.0040ab7c
je 0x61808b
lea eax, [ebp - 0x254]
lea edx, [ebp - 0x218]
mov ecx, 0x104
call fcn.0040a894
mov eax, dword [ebp - 0x254]
lea edx, [ebp - 0x250]
call fcn.004245b8
mov eax, dword [ebp - 0x250]
push eax
lea edx, [ebp - 0x258]
mov eax, dword [ebp - 4]
call fcn.004245b8
mov edx, dword [ebp - 0x258]
pop eax
call fcn.0040ab7c
jne 0x6180a6
push 0
mov eax, dword [ebp - 0x234]
push eax
push 0
push 1
call sub.KERNEL32.DLL_OpenProcess
push eax
call sub.KERNEL32.DLL_TerminateProcess
mov dword [ebp - 8], eax
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 0x10]
call fcn.0060c1b0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x617fe6
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6180f7
lea eax, [ebp - 0x258]
mov edx, 7
call fcn.00409d34
lea eax, [ebp - 4]
call fcn.00409cd4
ret

Function at 0x618100
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0x5b
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x5b
call sub.user32.dll_keybd_event
push 0
push 0
push 0
push 0x4d
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x4d
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x4d
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x4d
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x5b
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x5b
call sub.user32.dll_keybd_event
pop ebp
ret
Function at 0x61815c
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0x5b
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x5b
call sub.user32.dll_keybd_event
push 0
push 0
push 0
push 0x10
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x10
call sub.user32.dll_keybd_event
push 0
push 0
push 0
push 0x4d
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x4d
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x4d
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x4d
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x10
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x10
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x5b
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x5b
call sub.user32.dll_keybd_event
pop ebp
ret
Function at 0x406043
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x406067
xor eax, eax
test eax, eax
je 0x406079
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406079
xor ecx, ecx
jmp 0x40607c
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409010]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x406120
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422af4], 0
push esi
jne 0x406157
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406131
mov dword [ecx*4 + 0x422af0], eax
inc ecx
cmp ecx, 0x100
jl 0x40612c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406188
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422af0]
xor eax, esi
inc ecx
dec edx
jne 0x40616a
pop edi
not eax
pop esi
ret 0xc

Function at 0x1002195
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xf0
push 4
call fcn.010012b0
test eax, eax
pop ecx
je 0x10021b6
mov ecx, eax
call dword [sym.imp.ulib.dll_public:_void___thiscall_CLASS_DESCRIPTOR::constructor_void_]
jmp 0x10021b8
xor eax, eax
test eax, eax
mov dword [0x1004004], eax
je 0x10021c9
mov ecx, eax
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_CLASS_DESCRIPTOR::Initialize_void_]
lea ecx, [ebp - 0x78]
call fcn.010012ff
lea ecx, [ebp - 0x78]
call fcn.01001cd6
test al, al
je 0x10021ee
lea ecx, [ebp - 0x78]
call fcn.0100133e
test al, al
je 0x10021ee
push dword [ebp + 0x10]
jmp 0x10021f0
push 2
call dword [sym.imp.msvcrt.dll_exit]
int3