joyce8/EMBER2024-capa huggingface dataset:
Function at 0x67d1658
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 0x67d1679
test edi, 0x40000
je 0x67d1693
test bl, bl
jne 0x67d1714
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x67d1714
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 0x67d16c6
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x67d16db
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x67d16ea
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x67d16fb
cmp byte [esp + 2], 0
je 0x67d1714
cmp byte [esp + 2], 0
je 0x67d170c
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x67d1714
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x67d19bc
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 0x67d19e2
mov eax, esp
push eax
push 0x67d1984
call sub.user32.dll_EnumWindows
jmp 0x67d19f5
mov eax, esp
push eax
push 0x67d1964
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 0x67d1ab8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x67d1b08]
test bl, 4
je 0x67d1acc
or si, 1
test bl, 8
je 0x67d1ad5
or si, 4
test bl, 1
je 0x67d1ade
or si, 8
test bl, 2
je 0x67d1ae7
or si, 0x10
test bl, 0x10
je 0x67d1af0
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x67d1b00
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x67d1b0c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x67d1b48]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x67d1b27
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x67d1b37
or bx, 4
test esi, 0x20000000
je 0x67d1b43
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x67da864
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x67da876
add esp, 0xfffffff0
call fcn.06666488
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.066ff39c
mov eax, dword [0x6859238]
mov dword [eax + 4], ebx
mov dword [eax], 0x67dad2c
mov eax, dword [0x6859244]
mov dword [eax + 4], ebx
mov dword [eax], 0x67dad38
mov eax, ebx
call fcn.067dad44
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x66cb298]
call fcn.06665eb0
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x66cb298]
call fcn.06665eb0
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x66cb298]
call fcn.06665eb0
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x66cb298]
call fcn.06665eb0
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x66cb298]
call fcn.06665eb0
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, 0x67d5844
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x671930c]
call fcn.0671f4e0
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x671930c]
call fcn.0671f4e0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x671930c]
call fcn.0671f4e0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x671930c]
call fcn.0671f4e0
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x671930c]
call fcn.0671f4e0
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.067db320
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x67db150
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x67db150
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x67db150
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x67db150
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x67db150
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x67da9f6
call fcn.066664e0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x67daef0
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 0x67db09b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x67db07c
mov dl, 1
mov eax, dword [0x66cebf8]
call fcn.066f0e94
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.06667bac
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x67db06b
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.06759a70
test al, al
je 0x67db05e
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, 0x67db0ac
lea eax, [ebp - 0x394]
call fcn.0667ece4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x67db05e
xor eax, eax
push ebp
push 0x67db057
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 0x67db11c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x67db040
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.06668778
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 0x67db040
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.06668778
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x67db05e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x67daf61
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.066f0db8
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 0x67db0a2
lea eax, [ebp - 0x3a0]
call fcn.06667bac
ret

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

Disassembly:
push ecx
mov eax, dword [0x68600ac]
cmp byte [eax + 0xc5], 0
jne 0x67dbcc6
cmp dword [0x68600d0], 0
jne 0x67dbc86
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x6855104]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x68600d0], eax
cmp dword [0x68600cc], 0
jne 0x67dbca1
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventW
mov dword [0x68600cc], eax
cmp dword [0x68600d4], 0
jne 0x67dbcc6
push esp
push 0
push 0
mov eax, dword [0x6855100]
push eax
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x68600d4], eax
pop edx
ret
Function at 0x67dc098
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x67dc0af
add esp, 0xfffffff0
call fcn.06666488
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.066ff39c
mov eax, dword [0x68590e8]
cmp byte [eax], 0
jne 0x67dc0dc
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x6859454]
cmp word [eax + 2], 0
jne 0x67dc0f6
mov eax, dword [0x6859454]
mov dword [eax + 4], ebx
mov dword [eax], fcn.067de334
mov eax, dword [0x68595a0]
cmp word [eax + 2], 0
jne 0x67dc110
mov eax, dword [0x68595a0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.067de538
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x671930c]
call fcn.0671f4e0
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x67de9b4
mov dl, 1
mov eax, dword [0x66cb298]
call fcn.06665eb0
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x66cb298]
call fcn.06665eb0
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 [0x671dc2c]
call fcn.06728414
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x67dc2f8
mov eax, dword [0x68592dc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.06728818
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x67dec74
mov dl, 1
mov eax, dword [0x66cb298]
call fcn.06665eb0
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x68592dc]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0667eae4
test eax, eax
je 0x67dc22a
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0667e93c
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0667eac8
test eax, eax
je 0x67dc242
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.06668778
push ebx
push 0x67ddd10
call fcn.067d1a9c
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x68590e8]
cmp byte [eax], 0
jne 0x67dc293
mov eax, ebx
call fcn.067dc4e0
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.067deeac
mov eax, ebx
call fcn.067dfb0c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x67dc2f0
call fcn.066664e0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x67dc824
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x67dc8c6
cmp dword [ebx + 0xac], 0
jne 0x67dc8c0
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x67dc760
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x67dc8c0
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 0x67dc886
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x67dc8c0
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.066ed228
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x67dc895
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x68600ac]
cmp dword [eax + 0x188], 0
je 0x67dcc7e
test bl, bl
jne 0x67dcbc9
cmp dword [esi + 0xb4], 0
jne 0x67dcbbe
mov eax, esi
call fcn.067df95c
push eax
push 0x67dc9f8
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x67dcb8f
mov eax, dword [0x68600ac]
cmp byte [eax + 0xeb], 0
je 0x67dcb8f
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x67dcb70
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x67dcb8f
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 0x67dcb78
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x67dcbbe
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.066ed228
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x67dcb9e
inc dword [esi + 0xb4]
jmp 0x67dcc7e
cmp dword [esi + 0xb4], 0
jle 0x67dcc7e
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x67dcc7e
cmp dword [esi + 0x58], 0
je 0x67dcc33
mov eax, dword [0x68600ac]
cmp byte [eax + 0xeb], 0
je 0x67dcc33
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x67dcc14
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x67dcc33
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 0x67dcc1c
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x67dcc62
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.066ed228
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x67dcc42
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x67ce8fc]
call fcn.06669f20
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x67dd89c
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 0x67dd8f9
cmp byte [ebx + 0xeb], 0
jne 0x67dd8f9
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.06667d34
mov eax, dword [esi]
test eax, eax
je 0x67dd8e6
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x67dd906
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.06667f8c
jmp 0x67dd906
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.06667f8c
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x67df094
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x67df105
mov eax, esi
call fcn.06753630
test al, al
je 0x67df105
mov eax, dword [ebx + 0x98]
call fcn.0675325c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x67df105
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x128]
test al, al
je 0x67df0f6
push 0
mov eax, dword [ebx + 0x98]
call fcn.0675325c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.0674a164
jmp 0x67df105
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.067deecc
pop esi
pop ebx
ret
Function at 0x67eacf8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x68604e8], 0
jne 0x67ead0f
call fcn.067eacb4
mov eax, edi
dec eax
test eax, eax
jl 0x67ead37
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x68600e8]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x67ead19
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x67ed9cc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
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.0x67eda68.0
jmp dword [ecx*4 + 0x67eda01]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x67eda33
sub dl, 8
je 0x67eda42
jmp case.0x67eda68.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x67ed698
jmp case.0x67eda68.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x67ed6ec
jmp case.0x67eda68.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x67eda68.0
movzx ecx, byte [ecx + 0x67eda6f]
jmp dword [ecx*4 + 0x67eda80]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x67ed78c
jmp case.0x67eda68.0
cmp dl, 3
jne 0x67edaad
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x67ed7e4
jmp case.0x67eda68.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x67ed7a0
jmp case.0x67eda68.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x67ed828
jmp case.0x67eda68.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x67edad8
sub dl, 8
je 0x67edae4
jmp case.0x67eda68.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x67ed854
jmp case.0x67eda68.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x67ed8b8
jmp case.0x67eda68.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x67edb03
sub dl, 8
je 0x67edb0f
jmp case.0x67eda68.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x67ed968
jmp case.0x67eda68.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x67ed990
mov ecx, dword [eax + 0x468]
mov edx, dword [ebx + 0x1c]
dec edx
imul ecx, edx
mov esi, ecx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add ecx, dword [eax + 0x44c]
mov dword [ebp - 0x10], ecx
mov esi, edx
test esi, esi
jb 0x67edbb1
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 - 4]
mov eax, ebx
call fcn.067ecbf0
test eax, eax
je 0x67edbb1
mov eax, ebx
call fcn.067edbbc
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
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 - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x67edb4a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x67edbbc
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 0x67edbed
dec al
je 0x67edc28
dec al
je 0x67edc6c
dec al
je 0x67edcde
jmp 0x67edd79
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x67edd79
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 0x67edbfd
jmp 0x67edd79
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x67edd79
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 0x67edc38
jmp 0x67edd79
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x67edd79
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 0x67edc9f
xor edx, edx
mov dword [esp + 4], edx
jmp 0x67edcb4
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 0x67edccc
adc eax, 0
add dl, al
and dl, 0xff
mov byte [ebp + esi], dl
inc esi
dec edi
jne 0x67edc7c
jmp 0x67edd79
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 0x67edd79
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 0x67edd45
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.067ead40
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 0x67edcfa
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret