joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5dc478
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x5dc48a
add esp, 0xfffffff0
call fcn.00407be0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c28bc
mov eax, dword [0x762768]
mov dword [eax + 4], ebx
mov dword [eax], 0x5dc8b8
mov eax, dword [0x76277c]
mov dword [eax + 4], ebx
mov dword [eax], 0x5dc8c4
mov eax, ebx
call fcn.005dc8d0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x48b560]
call fcn.004075b4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x48b560]
call fcn.004075b4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x48b560]
call fcn.004075b4
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x48b560]
call fcn.004075b4
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x48b560]
call fcn.004075b4
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x48], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x60]
push eax
mov eax, 0x5d7208
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x4f9390]
call fcn.004ff608
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4f9390]
call fcn.004ff608
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4f9390]
call fcn.004ff608
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x4f9390]
call fcn.004ff608
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4f9390]
call fcn.004ff608
mov dword [ebx + 0x90], eax
mov eax, ebx
call fcn.005dcec0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5dccdc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5dccdc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5dccdc
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5dccdc
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5dccdc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5dc607
call fcn.00407c38
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5dca7c
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 0x5dcc27
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x5dcc08
mov dl, 1
mov eax, dword [0x48ed14]
call fcn.004b0f64
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.004092a4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5dcbf7
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.00535274
test al, al
je 0x5dcbea
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, 0x5dcc38
lea eax, [ebp - 0x394]
call fcn.00425200
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x5dcbea
xor eax, eax
push ebp
push 0x5dcbe3
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 0x5dcca8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x5dcbcc
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, 0x100
call fcn.0040a2fc
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 0x5dcbcc
mov eax, dword [ebp - 4]
add eax, 0x40
lea edx, [ebp - 0x314]
mov ecx, 0x100
call fcn.0040a2fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5dcbea
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5dcaed
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.004b0ea0
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 0x5dcc2e
lea eax, [ebp - 0x3a0]
call fcn.004092a4
ret

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

Disassembly:
push ecx
mov eax, dword [0x769388]
cmp byte [eax + 0xb1], 0
jne 0x5dd852
cmp dword [0x7693a8], 0
jne 0x5dd812
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x75e55c]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x7693a8], eax
cmp dword [0x7693a4], 0
jne 0x5dd82d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x7693a4], eax
cmp dword [0x7693ac], 0
jne 0x5dd852
push esp
push 0
push 0
mov eax, dword [0x75e558]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x7693ac], eax
pop edx
ret
Function at 0x5ddb6c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5ddb83
add esp, 0xfffffff0
call fcn.00407be0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c28bc
mov eax, dword [0x762504]
cmp byte [eax], 0
jne 0x5ddbb0
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x184], al
mov eax, dword [0x762aa4]
cmp word [eax + 2], 0
jne 0x5ddbca
mov eax, dword [0x762aa4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005dfd54
mov eax, dword [0x762cd8]
cmp word [eax + 2], 0
jne 0x5ddbe4
mov eax, dword [0x762cd8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005dff58
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x4f9390]
call fcn.004ff608
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5e04d0
mov dl, 1
mov eax, dword [0x48b560]
call fcn.004075b4
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x48b560]
call fcn.004075b4
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 [0x4fdee8]
call fcn.00508f94
mov esi, eax
mov dword [ebx + 0xa4], esi
push 0x5dddc8
mov eax, dword [0x76287c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00509424
mov eax, dword [ebx + 0xa4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5e07b8
mov dl, 1
mov eax, dword [0x48b560]
call fcn.004075b4
mov dword [ebx + 0x9c], eax
push 0x100
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x76287c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00425000
test eax, eax
je 0x5ddcf8
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00424e08
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00424fe4
test eax, eax
je 0x5ddd10
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, 0x100
call fcn.0040a2fc
push ebx
push 0x5df730
call fcn.005d3460
mov dword [ebx + 0x180], eax
mov byte [ebx + 0xd4], 0
mov eax, dword [0x762504]
cmp byte [eax], 0
jne 0x5ddd61
mov eax, ebx
call fcn.005ddf88
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.005e0a00
mov eax, ebx
call fcn.005e162c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5dddbe
call fcn.00407c38
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5de2c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x5de36c
cmp dword [ebx + 0x98], 0
jne 0x5de366
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5de1f8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x94]
cmp dword [eax + 8], 0
je 0x5de366
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 0x5de32c
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x94]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5de366
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.004ac8b8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5de33b
inc dword [ebx + 0x98]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x769388]
cmp dword [eax + 0x178], 0
je 0x5de6f1
test bl, bl
jne 0x5de63f
cmp dword [esi + 0xa0], 0
jne 0x5de634
mov eax, esi
call fcn.005e147c
push eax
push 0x5de498
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x48], 0
je 0x5de605
mov eax, dword [0x769388]
cmp byte [eax + 0xd7], 0
je 0x5de605
mov eax, dword [esi + 0xdc]
call fcn.0040b69c
mov edi, eax
cmp edi, 0
jl 0x5de605
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 0x5de5ee
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5de634
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.004ac8b8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5de614
inc dword [esi + 0xa0]
jmp 0x5de6f1
cmp dword [esi + 0xa0], 0
jle 0x5de6f1
dec dword [esi + 0xa0]
cmp dword [esi + 0xa0], 0
jne 0x5de6f1
cmp dword [esi + 0x48], 0
je 0x5de69c
mov eax, dword [0x769388]
cmp byte [eax + 0xd7], 0
je 0x5de69c
mov eax, dword [esi + 0xdc]
call fcn.0040b69c
mov edi, eax
cmp edi, 0
jl 0x5de69c
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 0x5de685
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5de6cb
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.004ac8b8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5de6ab
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 [0x5cfd60]
call fcn.0040b8b0
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x5df34c
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 0x5df3a9
cmp byte [ebx + 0xd7], 0
jne 0x5df3a9
push 0x100
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.0040942c
mov eax, dword [esi]
test eax, eax
je 0x5df396
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5df3b6
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00409684
jmp 0x5df3b6
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00409684
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5e0be8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x5e0c56
mov eax, esi
call fcn.0052f11c
test al, al
je 0x5e0c56
mov eax, dword [ebx + 0x88]
call fcn.0052ed68
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5e0c56
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x110]
test al, al
je 0x5e0c4a
push 0
mov eax, dword [ebx + 0x88]
call fcn.0052ed68
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.00525a1c
jmp 0x5e0c56
mov cl, 1
mov edx, dword [ebx + 0x78]
mov eax, ebx
call fcn.005e0a20
pop esi
pop ebx
ret
Function at 0x62fee8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x76996c], 0
jne 0x62feff
call fcn.0062fea4
mov eax, edi
dec eax
test eax, eax
jl 0x62ff27
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x76956c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x62ff09
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x632be4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x632c7e.0
jmp dword [ecx*4 + 0x632c17]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x632c49
sub dl, 8
je 0x632c58
jmp case.0x632c7e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6328b0
jmp case.0x632c7e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x632904
jmp case.0x632c7e.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x632c7e.0
movzx ecx, byte [ecx + 0x632c85]
jmp dword [ecx*4 + 0x632c96]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6329a4
jmp case.0x632c7e.0
cmp dl, 3
jne 0x632cc3
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6329fc
jmp case.0x632c7e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6329b8
jmp case.0x632c7e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x632a40
jmp case.0x632c7e.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x632cee
sub dl, 8
je 0x632cfa
jmp case.0x632c7e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x632a6c
jmp case.0x632c7e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x632ad0
jmp case.0x632c7e.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x632d19
sub dl, 8
je 0x632d25
jmp case.0x632c7e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x632b80
jmp case.0x632c7e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x632ba8
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 - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x632dc7
Function at 0x632dd0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x632e01
dec al
je 0x632e3c
dec al
je 0x632e81
dec al
je 0x632eea
jmp 0x632f74
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x632f74
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 0x632e11
jmp 0x632f74
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x632f74
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]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x632e4c
jmp 0x632f74
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x632f74
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 ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x632eb0
xor ebp, ebp
jmp 0x632ec0
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x632ec9
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x632e91
jmp 0x632f74
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x632f74
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, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x632f43
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + 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 + 4], 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 + 4]
push eax
mov eax, ebp
pop edx
call fcn.0062ff30
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x632efe
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x63852c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x769974
test esi, esi
jne 0x638546
xor eax, eax
jmp 0x638637
cmp dword [ebp], 0
jne 0x638551
call fcn.006384bc
xor ebx, 0xffffffff
cmp edi, 8
jb 0x638611
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x63855d
test edi, edi
jbe 0x638632
movzx eax, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x638615
or eax, 0xffffffff
xor eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x64abf4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff828
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x7d8], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x64acae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004092ec
mov eax, dword [0x76307c]
cmp dword [eax], 2
jne 0x64ac63
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.0040a198
mov eax, dword [ebx]
call fcn.004097a0
push eax
mov eax, dword [ebx]
call fcn.00409f2c
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004097a0
mov edx, eax
dec edx
mov eax, ebx
call fcn.0040a198
jmp 0x64ac95
lea eax, [ebp - 0x7d2]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageW
lea edx, [ebp - 0x7d8]
lea eax, [ebp - 0x7d2]
call fcn.004250e8
mov edx, dword [ebp - 0x7d8]
mov eax, ebx
call fcn.0040a34c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64acb5
lea eax, [ebp - 0x7d8]
call fcn.004092a4
ret
Function at 0x6867c4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, ebx
call fcn.006867b0
test eax, eax
jne 0x6867e5
mov eax, esi
call fcn.004092a4
jmp 0x686876
mov eax, ebx
call fcn.00686914
test al, al
je 0x68682b
push 0
push 0
push 0xe
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageW
mov edi, eax
mov eax, esi
mov ecx, edi
xor edx, edx
call fcn.0040942c
test edi, edi
je 0x686822
mov eax, dword [esi]
push eax
inc edi
push edi
push 0xd
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageW
jmp 0x686876
mov eax, esi
call fcn.004092a4
jmp 0x686876
mov ebp, dword [ebx + 0x78]
test ebp, ebp
je 0x68686f
mov eax, dword [ebp + 0x288]
call fcn.004ae5d0
test eax, eax
jle 0x68685d
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x288]
mov edx, edi
call fcn.005631cc
mov edx, dword [eax + 0xc]
mov eax, esi
call fcn.00409684
jmp 0x686876
mov eax, esi
mov edx, dword [ebx + 0x78]
mov edx, dword [edx + 0x290]
call fcn.00409684
jmp 0x686876
mov eax, esi
call fcn.004092a4
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x6885ec
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 1
push esi
mov ecx, 1
xor edx, edx
xor eax, eax
call fcn.0040ffe0
push esi
push 0
push 0x419
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageW
pop esi
pop ebx
ret