joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f6a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45f6d8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45f6b9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45f6c8
or bl, 4
test esi, 0x20000000
je 0x45f6d3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x465d80
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x465d92
add esp, 0xfffffff0
call fcn.00403d7c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e74c
mov eax, dword [0x4db714]
mov dword [eax + 4], ebx
mov dword [eax], 0x466124
mov eax, dword [0x4db720]
mov dword [eax + 4], ebx
mov dword [eax], 0x466130
mov eax, ebx
call fcn.0046613c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4160bc]
call fcn.00403a28
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4160bc]
call fcn.00403a28
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4160bc]
call fcn.00403a28
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4160bc]
call fcn.00403a28
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4160bc]
call fcn.00403a28
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 + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x462558
push eax
push 0
push 0
mov eax, dword [0x4db88c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4201f4]
call fcn.00421a08
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4201f4]
call fcn.00421a08
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4201f4]
call fcn.00421a08
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046655c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x466438
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x466438
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x466438
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x465ecf
call fcn.00403dd4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46621c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4663c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4663a8
mov dl, 1
mov eax, dword [0x416664]
call fcn.00403a28
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004047c8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x466397
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.00453ca4
test al, al
je 0x46638a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4663d8
lea eax, [ebp - 0x254]
call fcn.00409bcc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46638a
xor eax, eax
push ebp
push 0x466383
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x466410
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46636c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a38
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
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 + 0x3c]
jne 0x46636c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46638a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46628d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041a93c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4663ce
lea eax, [ebp - 0x260]
call fcn.004047c8
ret

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

Disassembly:
push ecx
mov eax, dword [0x4dcbe8]
cmp byte [eax + 0xa5], 0
jne 0x466d6d
cmp dword [0x4dcc00], 0
jne 0x466d2e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x466cb8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4dcc00], eax
cmp dword [0x4dcbfc], 0
jne 0x466d49
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4dcbfc], eax
cmp dword [0x4dcc04], 0
jne 0x466d6d
push esp
push 0
push 0
push 0x466c5c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4dcc04], eax
pop edx
ret
Function at 0x466e64
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x466e7b
add esp, 0xfffffff0
call fcn.00403d7c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e74c
mov eax, dword [0x4db878]
cmp word [eax + 2], 0
jne 0x466ea3
mov eax, dword [0x4db878]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046853c
mov eax, dword [0x4db934]
cmp word [eax + 2], 0
jne 0x466ebd
mov eax, dword [0x4db934]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00468734
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4160bc]
call fcn.00403a28
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4160bc]
call fcn.00403a28
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x420d74]
call fcn.004289e8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x467044
mov eax, dword [0x4db784]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00428db8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x468ce4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4db784]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d484
test eax, eax
je 0x466fb2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004095ac
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d4ac
test eax, eax
je 0x466fc6
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404a38
mov eax, dword [0x4db628]
cmp byte [eax], 0
jne 0x466ffa
mov eax, ebx
call fcn.0046716c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00468ec0
mov eax, ebx
call fcn.00469884
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46703a
call fcn.00403dd4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4673ec
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4dcbe8]
cmp dword [eax + 0x30], 0
je 0x467496
cmp dword [ebx + 0x94], 0
jne 0x467490
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46737c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x467490
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_GetWindowLongA
test al, 8
je 0x467456
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x467490
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.004185b0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x467465
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x467ff8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x46802d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004048b8
jmp 0x46803a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040481c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46909c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4690dd
mov eax, esi
call fcn.0044f228
test al, al
je 0x4690dd
mov eax, dword [ebx + 0x84]
call fcn.0044ef24
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4690dd
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044ef24
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x469d9c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415624]
call fcn.004051ec
xor eax, eax
push ebp
push 0x469ee0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x481f0c], 0
jne 0x469def
mov ecx, dword [0x4db63c]
mov dl, 1
mov eax, dword [0x407b48]
call fcn.0040c6bc
call fcn.004041e4
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004030d4
mov eax, ebx
call fcn.00405058
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x469ef0
lea edi, [ebp - 0x30]
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 edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406170
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405068
test eax, eax
jle 0x469e87
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x469e80
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404a50
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404a38
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004089a0
test eax, eax
jne 0x469e80
mov ebx, 0x15
jmp 0x469e8c
mov ebx, 0x10
jmp 0x469e8c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x481f0c]
call fcn.00469cf4
mov eax, dword [ebp - 8]
call fcn.00469cf4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406188
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469ee7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004047ec
lea eax, [ebp - 0x10]
mov edx, dword [0x415624]
call fcn.004052bc
ret
Function at 0x475ae7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
test ebx, ebx
je 0x475b41
mov eax, ebx
add eax, dword [eax + 0x3c]
mov edi, dword [eax + 0x78]
add edi, ebx
xor esi, esi
jmp 0x475b3c
mov eax, dword [edi + 0x20]
lea edx, [ebx + eax]
mov eax, dword [edx + esi*4]
add eax, ebx
push dword [ebp + 0xc]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x475b3b
mov edx, dword [edi + 0x24]
lea ecx, [ebx + edx]
mov ax, word [ecx + esi*2]
movzx edx, ax
mov ecx, dword [edi + 0x1c]
lea eax, [ebx + ecx]
mov eax, dword [eax + edx*4]
add eax, ebx
mov dword [ebp - 4], eax
inc esi
cmp esi, dword [edi + 0x18]
jb 0x475b08
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x478a8c
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, eax
mov byte [ebp - 1], 0
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov eax, ebx
call fcn.00404c88
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x478b3e
xor eax, eax
push ebp
push 0x478b37
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, 2
call fcn.00478a20
push eax
xor eax, eax
call fcn.00478a20
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
je 0x478b04
mov eax, 2
call fcn.00478a20
cmp eax, dword [ebp - 0xc]
je 0x478b08
xor eax, eax
jmp 0x478b0a
mov al, 1
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x478b20
mov eax, ebx
call fcn.00404c88
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478b3e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x478b48
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x478c80
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
mov edx, 0x104
call fcn.00404e14
push 0x104
lea eax, [ebp - 8]
call fcn.00404ce0
push eax
push 0x478c94
call sub.kernel32.dll_GetEnvironmentVariableA
mov edx, eax
lea eax, [ebp - 8]
call fcn.00404e14
mov eax, dword [ebp - 8]
call fcn.00404a88
test eax, eax
jle 0x478c62
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.004030d4
mov dword [ebp - 0x4c], 0x44
mov dword [ebp - 0x20], 1
mov word [ebp - 0x1c], 0
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x210
push 0
push 0
push 0
push dword [ebp - 8]
push 0x478ca4
push ebx
push 0x478cb4
push esi
lea eax, [ebp - 0x60]
mov edx, 5
call fcn.00404b48
mov eax, dword [ebp - 0x60]
call fcn.00404c88
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x478c62
xor eax, eax
push ebp
push 0x478c5b
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
setne byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478c62
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478c87
lea eax, [ebp - 0x60]
call fcn.004047c8
lea eax, [ebp - 8]
call fcn.004047c8
ret

Function at 0x478cb8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404c88
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x478cd5
and eax, 0x10
cmp eax, 0x10
je 0x478cd9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x479b80
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407564
ret
Function at 0x405eab
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x42c55c], esi
push edi
jne 0x405ee5
mov ecx, 0x42c558
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x405ec1
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x42c958
jl 0x405ebc
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x405f1a
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c558]
xor eax, esi
inc ecx
dec edx
jne 0x405efd
pop edi
pop esi
not eax
ret 0xc

Function at 0x768d06
Capabilities:
Encode data using xor

Disassembly:
mov word [esp], 0xa5c8
push 0x73b4b99f
lea esp, [esp + 0x2c]
lahf
mov ecx, 0x648d73b4
and al, 0x2c
jne fcn.00896ebf
add cx, cx
pushal
mov ecx, edi
adc si, dx
bsr si, bp
sub ecx, ebx
sar esi, 0xa
btc esi, esp
lea esi, [esp + 0x20]
call fcn.007666d3
popal
jo 0x7611df
sub eax, 0x772d736d
imul ebp, dword [esi + 0x2d], 0x2d747263
jae 0x7611f8
imul ebp, dword fs:[edi + 0x2d], 0x312d316c
sub eax, 0x6c642e30
insb byte es:[edi], dx
add byte [esi + 0x1f540307], dh
or byte [edi], bl
push eax
stosd dword es:[edi], eax
sub byte [ecx + 0x4bf0bb38], dh
stosb byte es:[edi], al
pop es
lcall 0x22ef, 0x97216621
sal byte [ecx + 0x5f], cl
push 0x1c3139d1
push ebx
jne 0x761147
xor al, 0x2b
invalid
add dword [edx + edi*4 + 0x3f], edx
movsb byte es:[edi], byte [esi]
sub eax, 0x6c6c73b5
test byte [edx + 0x73], al
pop edi
out 0xc1, eax
in eax, 0xcb
cmp al, 0x16
cdq
stc
test eax, ebx
xor al, 0xed
xor al, 0xed
les edx, [edx]
add eax, 0x184c17a3
insd dword es:[edi], dx
add edx, ebx
cli
xor eax, 0x2f344510
xchg esp, eax
les edx, [eax + 0x42]
sbb esi, dword [eax - 0x3d273c98]
cmpsd dword [esi], dword es:[edi]
and byte [edx + 1], 0xdb
out 0xb7, eax
sahf
mov ebp, 0x297c02a9
out 0xc2, al
invalid
jmp 0x761140
pushfd
stc
repne scasb al, byte es:[edi]
jmp 0x765835
jae 0x896ecd
neg bh
mov ebx, eax
rcr ecx, cl
and cx, 0xa987
pushal
mov edi, eax
not cl
dec cl
mov ecx, 0x104
mov byte [esp + 8], cl
pushfd
stc
clc
sub al, al
jmp 0x7662ca
lea esp, [esp + 0x44]
jb 0x896ecd
jmp 0x89d3b8
jmp 0x767b88
bt dx, 3
cmp eax, dword [ebp - 0x10]
jmp 0x89c9ae
Function at 0x10070b1
Capabilities:
Execute anti-debugging instructions

Disassembly:
je 0x1007107
push ebx
dec ecx
inc esp
add byte [ebx + 0x65], dl
jae 0x100712f
imul ebp, dword [edi + 0x6e], 0x53004449
push edi
pop edi
dec eax
dec ecx
inc esp
inc ebp
add byte [edi + 0x54], dl
push ebx
pop edi
inc ebx
push ebp
push edx
push edx
inc ebp
dec esi
push esp
pop edi
push ebx
inc ebp
push edx
push esi
inc ebp
push edx
pop edi
dec eax
inc ecx
dec esi
inc esp
dec esp
inc ebp
add byte [edx + 0x45], dl
push ebx
push ebp
dec esp
push esp
pop edi
inc esi
inc ecx
dec ecx
dec esp
add byte [edi + eax*2 + 0x5f], cl
inc edi
jb 0x1007157
insd dword es:[edi], dx
xor dword [edi], esi
push ebx
dec ebx
dec esp
add byte [edi + eax*2 + 0x5f], cl
inc ecx
dec esp
dec esp
add byte [edi + 0x69], dl
outsb dx, byte [esi]
outsd dx, dword fs:[esi]
ja 0x100717e
pop edi
inc ecx
dec esp
dec esp
add byte [edi + 0x54], dl
push ebx
inc ecx
push eax
dec ecx
xor esi, dword [edx]
inc esp
dec esp
dec esp
add byte [ecx + 0x44], al
push esi
inc ecx
push eax
dec ecx
xor esi, dword [edx]
inc esp
dec esp
dec esp
add byte [ebx + 0x45], cl
push edx
dec esi
inc ebp
dec esp
xor esi, dword [edx]
inc esp
dec esp
dec esp
add byte [ebx + 0x65], dl
je 0x1007190
push ebx
inc edx
xor esi, dword [eax]
dec eax
push ebp
inc edx
pop edi
push eax
dec ebp
add byte [eax + 0x52], dl
push edx
dec ecx
Function at 0x402700
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
xor eax, eax
test ecx, ecx
je 0x4027e7
test edx, edx
je 0x4027e7
mov ebp, dword [esp + 0x28]
test ebp, ebp
mov dword [esp], ecx
je 0x40274a
xor edi, edi
mov ecx, 0x1505
nop
nop
nop
nop
nop
movzx ebx, byte [edx + edi]
test ebx, ebx
je 0x402751
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, ebx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x402730
jmp 0x402753
mov esi, 0x1505
jmp 0x402753
mov esi, ecx
mov dword [esp + 8], edx
mov ecx, dword [esp]
mov ebp, dword [ecx + 0x20]
lea ebx, [ebp - 1]
mov edx, ebp
sub edx, 1
jb 0x4027e7
and ebx, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 4], edx
jmp 0x402784
inc ebx
dec ebp
je 0x4027e5
mov eax, ebx
and eax, edx
mov edi, dword [esp + 0x10]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x4027e5
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402780
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 0xc], eax
push eax
call fcn.004094a0
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x402780
push dword [esp + 0x28]
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.004094c0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x402780
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x4027e7
xor eax, eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4027f0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x4028f9
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4028f9
push ebx
call fcn.004094a0
add esp, 4
test eax, eax
je 0x40284a
xor ebp, ebp
mov ecx, 0x1505
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x402851
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x402830
jmp 0x402853
mov esi, 0x1505
jmp 0x402853
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov edx, ebx
sub edx, 1
jb 0x4028f9
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
mov dword [esp], edx
jmp 0x402884
inc ebp
dec ebx
je 0x4028f7
mov eax, ebp
and eax, edx
mov edi, dword [esp + 0xc]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x4028f7
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402880
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
push eax
call fcn.004094a0
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x402880
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0x30]
call fcn.004094c0
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402880
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x4028f7
cmp dword [eax + 4], 2
mov edi, 0
jne 0x4028f9
mov edi, dword [eax + 8]
jmp 0x4028f9
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret