joyce8/EMBER2024-capa huggingface dataset:
Function at 0x547db8
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 0x547f63
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x547f44
mov dl, 1
mov eax, dword [0x48b430]
call fcn.004adf20
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00409170
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x547f33
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.0057fc78
test al, al
je 0x547f26
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, 0x547f74
lea eax, [ebp - 0x394]
call fcn.00423ac0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x547f26
xor eax, eax
push ebp
push 0x547f1f
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 0x547fe4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x547f08
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00409d98
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
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 + 0x44]
jne 0x547f08
mov eax, dword [ebp - 4]
add eax, 0x40
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00409d98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x547f26
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x547e29
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.004ade5c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x547f6a
lea eax, [ebp - 0x3a0]
call fcn.00409170
ret

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

Disassembly:
push ecx
mov eax, dword [0x6a1280]
cmp byte [eax + 0xb1], 0
jne 0x548b8e
cmp dword [0x6a12a0], 0
jne 0x548b4e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x699ecc]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x6a12a0], eax
cmp dword [0x6a129c], 0
jne 0x548b69
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x6a129c], eax
cmp dword [0x6a12a4], 0
jne 0x548b8e
push esp
push 0
push 0
mov eax, dword [0x699ec8]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x6a12a4], eax
pop edx
ret
Function at 0x548ea8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x548ebf
add esp, 0xfffffff0
call fcn.00407aa8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c1130
mov eax, dword [0x69b0fc]
cmp byte [eax], 0
jne 0x548eec
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x184], al
mov eax, dword [0x69b48c]
cmp word [eax + 2], 0
jne 0x548f06
mov eax, dword [0x69b48c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0054b090
mov eax, dword [0x69b5d8]
cmp word [eax + 2], 0
jne 0x548f20
mov eax, dword [0x69b5d8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0054b294
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x4efb08]
call fcn.004f5cac
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x54b80c
mov dl, 1
mov eax, dword [0x487c7c]
call fcn.0040747c
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x487c7c]
call fcn.0040747c
mov dword [ebx + 0xb4], eax
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x60], 0xff000018
mov dword [ebx + 0x7c], 0x1f4
mov byte [ebx + 0x80], 1
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x78], 0x9c4
mov byte [ebx + 0x8c], 0
mov byte [ebx + 0xa9], 1
mov byte [ebx + 0xc0], 1
mov dl, 1
mov eax, dword [0x4f43e8]
call fcn.004ff2ec
mov esi, eax
mov dword [ebx + 0xa4], esi
push 0x549104
mov eax, dword [0x69b328]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004ff77c
mov eax, dword [ebx + 0xa4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x54baf4
mov dl, 1
mov eax, dword [0x487c7c]
call fcn.0040747c
mov dword [ebx + 0x9c], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x69b328]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004238c0
test eax, eax
je 0x549034
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004236fc
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004238a4
test eax, eax
je 0x54904c
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 + 0x90]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00409d98
push ebx
push 0x54aa6c
call fcn.0053ea1c
mov dword [ebx + 0x180], eax
mov byte [ebx + 0xd4], 0
mov eax, dword [0x69b0fc]
cmp byte [eax], 0
jne 0x54909d
mov eax, ebx
call fcn.005492c4
mov byte [ebx + 0x5d], 1
mov byte [ebx + 0x5e], 1
mov byte [ebx + 0x5f], 1
mov byte [ebx + 0xaa], 1
mov byte [ebx + 0xd5], 0
mov byte [ebx + 0xe0], 0
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xd7], 0
xor eax, eax
mov dword [ebx + 0xac], eax
mov eax, ebx
call fcn.0054bd3c
mov eax, ebx
call fcn.0054c968
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5490fa
call fcn.00407b00
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5495fc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x5496a8
cmp dword [ebx + 0x98], 0
jne 0x5496a2
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x549534
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x94]
cmp dword [eax + 8], 0
je 0x5496a2
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x549668
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x94]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5496a2
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x94]
call fcn.004a98bc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x549677
inc dword [ebx + 0x98]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x6a1280]
cmp dword [eax + 0x178], 0
je 0x549a2d
test bl, bl
jne 0x54997b
cmp dword [esi + 0xa0], 0
jne 0x549970
mov eax, esi
call fcn.0054c7b8
push eax
push 0x5497d4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x48], 0
je 0x549941
mov eax, dword [0x6a1280]
cmp byte [eax + 0xd7], 0
je 0x549941
mov eax, dword [esi + 0xdc]
call fcn.0040af5c
mov edi, eax
cmp edi, 0
jl 0x549941
push 0
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x54992a
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x549970
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.004a98bc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x549950
inc dword [esi + 0xa0]
jmp 0x549a2d
cmp dword [esi + 0xa0], 0
jle 0x549a2d
dec dword [esi + 0xa0]
cmp dword [esi + 0xa0], 0
jne 0x549a2d
cmp dword [esi + 0x48], 0
je 0x5499d8
mov eax, dword [0x6a1280]
cmp byte [eax + 0xd7], 0
je 0x5499d8
mov eax, dword [esi + 0xdc]
call fcn.0040af5c
mov edi, eax
cmp edi, 0
jl 0x5499d8
push 5
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5499c1
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x549a07
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.004a98bc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5499e7
mov eax, dword [esi + 0x9c]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xdc]
mov ecx, 1
mov edx, dword [0x53b8f0]
call fcn.0040b170
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x54a688
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xb0], 0
je 0x54a6e5
cmp byte [ebx + 0xd7], 0
jne 0x54a6e5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x178]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004092f8
mov eax, dword [esi]
test eax, eax
je 0x54a6d2
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x54a6f2
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00409550
jmp 0x54a6f2
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00409550
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x54bf24
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x54bf92
mov eax, esi
call fcn.00579b70
test al, al
je 0x54bf92
mov eax, dword [ebx + 0x88]
call fcn.005797bc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x54bf92
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x110]
test al, al
je 0x54bf86
push 0
mov eax, dword [ebx + 0x88]
call fcn.005797bc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.005704a8
jmp 0x54bf92
mov cl, 1
mov edx, dword [ebx + 0x78]
mov eax, ebx
call fcn.0054bd5c
pop esi
pop ebx
ret
Function at 0x5596ec
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00409170
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov ebx, eax
test ebx, ebx
je 0x55973e
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x559737
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00409d98
jmp 0x55973e
mov eax, esi
call fcn.00409170
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x55eecc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x55f02b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x69a05c], 0
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x4e9e34]
call fcn.004eaf80
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x55f001
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004eb068
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00409d98
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x55f044
call fcn.00409f48
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.004eb2f4
test al, al
je 0x55efeb
lea ecx, [ebp - 4]
mov edx, 0x55f0b8
mov eax, dword [ebp - 0xc]
call fcn.004ebb7c
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0042a98c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x55efeb
xor edx, edx
push ebp
push 0x55efe4
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x55f0d0
mov eax, dword [ebp - 8]
push eax
call fcn.004114f0
test eax, eax
je 0x55efcd
mov ebx, eax
call ebx
mov ebx, eax
test ebx, ebx
je 0x55efcd
call fcn.0055ee58
test eax, eax
je 0x55efbd
mov eax, dword [ebx + 0x50]
jmp 0x55efc0
mov eax, dword [ebx + 0x28]
and eax, 1
cmp eax, 1
sete byte [0x69a05c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55efeb
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_2
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55f008
mov eax, dword [ebp - 0xc]
call fcn.004074ac
ret

Function at 0x55f134
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x55f17b
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x55f15e
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x55f16f
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x55f17b
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x56dafc
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 - 0xc]
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 [0x6a1328], 0
je 0x56dc3d
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x69b5a0]
mov edx, dword [edx]
xor al, byte [edx + 0xc0]
je 0x56dc3d
mov eax, dword [0x6a132c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x6a1328]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x56dc0c
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x6a1328]
call fcn.004a98bc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x56dc04
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1fd], 0
je 0x56dc04
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x68]
test al, al
je 0x56dc04
mov eax, dword [ebp - 0x14]
call fcn.005797bc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x56dc04
push ebp
call fcn.0056dab8
pop ecx
test al, al
jne 0x56dc04
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffba
call fcn.004077f8
test al, al
je 0x56dc04
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.004077f8
cmp byte [ebp - 1], 0
je 0x56dc04
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.0040f4d0
test al, al
je 0x56dc04
mov edx, dword [ebp - 0x14]
mov eax, dword [0x6a132c]
call fcn.0056d21c
inc edi
dec ebx
jne 0x56db61
mov eax, dword [0x6a132c]
cmp dword [eax + 8], 0
jle 0x56dc24
mov eax, dword [0x6a132c]
call fcn.0056d2d0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x56dc3d
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0056d920
pop ecx
test al, al
jne 0x56dc3d
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 0x576218
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.0040fa20
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.005700b8
test ebx, ebx
jne 0x57626b
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00576094
mov ebx, eax
test ebx, ebx
je 0x576361
cmp esi, ebx
je 0x576294
mov eax, dword [esp]
sub eax, dword [ebx + 0x48]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x4c]
mov dword [esp + 0x118], eax
jmp 0x5762a9
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 0x5762e1
add eax, 0xffffff5f
sub eax, 2
jb 0x5762f9
dec eax
sub eax, 2
jb 0x57630d
dec eax
sub eax, 2
jb 0x576303
jmp 0x576317
add eax, 0xfffffdff
sub eax, 2
jb 0x5762f9
dec eax
sub eax, 2
jb 0x57630d
dec eax
sub eax, 2
jb 0x576303
jmp 0x576317
mov byte [esp + 0x120], 0
jmp 0x57631f
mov byte [esp + 0x120], 2
jmp 0x57631f
mov byte [esp + 0x120], 1
jmp 0x57631f
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0053eacc
mov esi, eax
call fcn.0056cbac
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.00571ab8
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x576363
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x5a128c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.005a133c
test eax, eax
je 0x5a12c7
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.005a133c
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004092f8
jmp 0x5a12d5
mov ecx, esi
mov edx, 0x5a12f4
mov eax, ebx
call fcn.005a1214
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.00409550
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x606aec
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetCurrentProcessId
mov esi, eax
mov edx, esi
mov eax, 4
call fcn.00606894
mov edi, eax
cmp edi, 0xffffffff
setne bl
test bl, bl
je 0x606b8c
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.006068b4
test eax, eax
je 0x606b86
cmp esi, dword [ebp - 0x1c]
jne 0x606b78
call sub.kernel32.dll_GetCurrentThreadId_1
cmp eax, dword [ebp - 0x20]
je 0x606b78
mov eax, dword [ebp - 0x20]
push eax
push 0
push 2
call dword [0x6b4c7c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x606b78
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SuspendThread
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x606b6f
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004a96d8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.006068d8
test eax, eax
jne 0x606b2c
push edi
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x606b98
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, eax
mov byte [ebp - 1], 0
test edi, edi
je 0x606bf2
mov ebx, dword [edi + 8]
dec ebx
test ebx, ebx
jl 0x606bf2
inc ebx
xor esi, esi
mov edx, esi
mov eax, edi
call fcn.004a98bc
cmp eax, 0xffffffff
je 0x606bee
mov byte [ebp - 1], 1
push eax
push 0
push 2
call dword [0x6b4c7c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x606bee
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ResumeThread
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
inc esi
dec ebx
jne 0x606bb6
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x606d1c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x606d56
mov eax, dword [ebp - 8]
push eax
push 0x3000
mov eax, dword [ebp - 4]
push eax
push 0
call dword [0x6b4c84]
mov dword [ebp - 0xc], eax
jmp 0x606e96
lea eax, [ebp - 0x64]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
jb 0x606e96
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
ja 0x606e96
push 0x1c
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [0x6b4c90]
test eax, eax
je 0x606e96
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
cmp ebx, dword [ebp - 0x18]
jae 0x606e1f
push 0x1c
lea eax, [ebp - 0x40]
push eax
push ebx
call dword [0x6b4c90]
test eax, eax
je 0x606e96
cmp dword [ebp - 0x30], 0x10000
jne 0x606e17
cmp esi, dword [ebp - 0x34]
ja 0x606e17
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 4]
jb 0x606e17
mov edi, ebx
test edi, edi
jne 0x606de2
mov dword [ebp - 0x20], esi
jmp 0x606df1
mov eax, esi
dec eax
add eax, edi
mov edx, esi
dec edx
not edx
and eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push eax
push 0x3000
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [0x6b4c84]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x606e96
add ebx, dword [ebp - 0x34]
cmp ebx, dword [ebp - 0x18]
jb 0x606dac
mov ebx, dword [ebp - 0x10]
cmp ebx, dword [ebp - 0x1c]
jbe 0x606e96
push 0x1c
lea eax, [ebp - 0x40]
push eax
push ebx
call dword [0x6b4c90]
test eax, eax
je 0x606e96
cmp dword [ebp - 0x30], 0x10000
jne 0x606e8e
cmp esi, dword [ebp - 0x34]
ja 0x606e8e
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 4]
jb 0x606e8e
mov edi, ebx
test edi, edi
jne 0x606e59
mov dword [ebp - 0x24], esi
jmp 0x606e68
mov eax, esi
dec eax
add eax, edi
mov edx, esi
dec edx
not edx
and eax, edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push eax
push 0x3000
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [0x6b4c84]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x606e96
sub ebx, dword [ebp - 0x34]
cmp ebx, dword [ebp - 0x1c]
ja 0x606e27
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x619828
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x6b50dc], 0
jne 0x61983f
call fcn.006197e4
mov eax, edi
dec eax
test eax, eax
jl 0x619867
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x6b4cdc]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x619849
mov eax, ebx
pop edi
pop esi
pop ebx
ret