joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ee48
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46b1d4]
cmp byte [eax + 0xc], 0
je 0x43efb5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43efae
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46cafc], 0
jne 0x43ee9c
push 0x43efbc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43efc4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cafc], eax
cmp dword [0x46ab1c], 0
jne 0x43ef97
push 0x43efd4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46ab1c], eax
cmp dword [0x46ab1c], 0
je 0x43ef97
push 0x43efe0
mov eax, dword [0x46ab1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb00], eax
push 0x43eff0
mov eax, dword [0x46ab1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb04], eax
push 0x43f004
mov eax, dword [0x46ab1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb08], eax
push 0x43f01c
mov eax, dword [0x46ab1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb0c], eax
push 0x43f034
mov eax, dword [0x46ab1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb10], eax
push 0x43f048
mov eax, dword [0x46ab1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb14], eax
push 0x43f060
mov eax, dword [0x46ab1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb18], eax
push 0x43f078
mov eax, dword [0x46ab1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb1c], eax
push 0x43f094
mov eax, dword [0x46ab1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb20], eax
push 0x43f0a0
mov eax, dword [0x46ab1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb24], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43efb5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x442e84
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0040421c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x442ed3
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.0040448c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44b02c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44b07c]
test si, 4
je 0x44b040
or bl, 1
test si, 8
je 0x44b04a
or bl, 4
test si, 1
je 0x44b054
or bl, 8
test si, 2
je 0x44b05e
or bl, 0x10
test si, 0x10
je 0x44b068
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b077
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44b080
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44b0b8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b099
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b0a8
or bl, 4
test esi, 0x20000000
je 0x44b0b3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x451a9c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x451aae
add esp, 0xfffffff0
call fcn.004037c8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ce68
mov eax, dword [0x46ae88]
mov dword [eax + 4], ebx
mov dword [eax], 0x451e40
mov eax, dword [0x46ae94]
mov dword [eax + 4], ebx
mov dword [eax], 0x451e4c
mov eax, ebx
call fcn.00451e58
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415080]
call fcn.00403460
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415080]
call fcn.00403460
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415080]
call fcn.00403460
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415080]
call fcn.00403460
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415080]
call fcn.00403460
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, 0x44e270
push eax
push 0
push 0
mov eax, dword [0x46afdc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e8e4]
call fcn.0041ffa4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e8e4]
call fcn.0041ffa4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e8e4]
call fcn.0041ffa4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004522a8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452170
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452170
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452170
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x451beb
call fcn.00403820
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x451f54
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 0x4520ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4520e0
mov dl, 1
mov eax, dword [0x41549c]
call fcn.00403460
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040421c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4520cf
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.0043f1a8
test al, al
je 0x4520c2
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, 0x452110
lea eax, [ebp - 0x254]
call fcn.0040922c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4520c2
xor eax, eax
push ebp
push 0x4520bb
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 0x452148
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4520a4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040448c
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 0x4520a4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040448c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4520c2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x451fc5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00419000
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 0x452106
lea eax, [ebp - 0x260]
call fcn.0040421c
ret

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

Disassembly:
push ecx
mov eax, dword [0x46cb48]
cmp byte [eax + 0xa5], 0
jne 0x452ab9
cmp dword [0x46cb60], 0
jne 0x452a7a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x452a04
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46cb60], eax
cmp dword [0x46cb5c], 0
jne 0x452a95
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46cb5c], eax
cmp dword [0x46cb64], 0
jne 0x452ab9
push esp
push 0
push 0
push 0x4529a8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46cb64], eax
pop edx
ret
Function at 0x45314c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46cb48]
cmp dword [eax + 0x30], 0
je 0x4531f6
cmp dword [ebx + 0x94], 0
jne 0x4531f0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4530dc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4531f0
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 0x4531b6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4531f0
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.004173fc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4531c5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x453d54
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 0x453d89
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.0040430c
jmp 0x453d96
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404270
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x454ea8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x454ee9
mov eax, esi
call fcn.0043a960
test al, al
je 0x454ee9
mov eax, dword [ebx + 0x84]
call fcn.0043a65c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x454ee9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043a65c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x456f50
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 6
jae 0x456f6e
xor eax, eax
jmp 0x456f70
mov al, 1
add esp, 0x94
ret

Function at 0x457478
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004046dc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4574d0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x46b1e0]
mov dl, 1
mov eax, dword [0x4570a0]
call fcn.0040bcc0
call fcn.00403c30
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004571a8
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x459954
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
ja 0x459980
cmp dword [esp + 4], 5
jne 0x45997c
cmp dword [esp + 8], 1
jae 0x459980
xor eax, eax
jmp 0x459982
mov al, 1
add esp, 0x94
ret

Function at 0x459eac
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff64
xor ebx, ebx
mov dword [esp], 0x9c
mov eax, esp
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x459f0f
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
cmp eax, 6
jne 0x459ede
cmp edx, 1
jne 0x459ede
mov bl, 1
jmp 0x459f0f
cmp eax, 6
jne 0x459eec
cmp edx, 2
jne 0x459eec
mov bl, 2
jmp 0x459f0f
cmp eax, 6
jne 0x459efa
cmp edx, 3
jne 0x459efa
mov bl, 2
jmp 0x459f0f
cmp eax, 6
jne 0x459f08
cmp edx, 4
jne 0x459f08
mov bl, 3
jmp 0x459f0f
cmp eax, 0xa
jne 0x459f0f
mov bl, 3
mov eax, ebx
add esp, 0x9c
pop ebx
ret

Function at 0x45aec4
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
ja 0x45aef0
cmp dword [esp + 4], 5
jne 0x45aeec
cmp dword [esp + 8], 1
jae 0x45aef0
xor eax, eax
jmp 0x45aef2
mov al, 1
add esp, 0x94
ret
Function at 0x4660fc
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
push 0
push ebx
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
sub ebx, 8
je 0x46612a
sub ebx, 5
je 0x46612a
add ebx, 0xfffffffd
sub ebx, 3
jb 0x46612a
or eax, 0x1000000
push 0xff
lea edx, [esp + 4]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov edx, esi
mov eax, esp
call fcn.00408dac
add esp, 0x100
pop esi
pop ebx
ret
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x40895b
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov ecx, 0x4085d8
mov ebx, ebx
call fcn.00408988
inc ebx
sub ebx, ebx
xor dword [eax], ecx
and esi, ebx
inc eax
add ebx, 0x68292a64
and ebx, ebx
cmp eax, edx
jne fcn.0040895b
ret
Function at 0x778ebab0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x778ebaee
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x778ebae6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x778ebaf0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x778ebad6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x778ebbc0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x778ebbf1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x778ebbf1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x778ebbf1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x779164d9
Capabilities:
Encode data using xor

Disassembly:
call 0x77916452
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x77916482
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x7791649e
xor edx, 0
jmp 0x779164a9
xor edx, edx
jmp 0x779164c0
jmp 0x779164cc
xor eax, eax
push 0x8427d7c0
call 0x779164d9
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x77916515
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x779164ee
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x7791652c
add eax, 0
jno 0x77916531
add esi, 0
ret 0x10
Function at 0x7791729a
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x779172bc
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x7791745e
cmp edi, dword [ebp + 0x10]
jb 0x7791745e
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.77916d86
inc edi
jmp 0x77917345
jmp 0x77917352
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77916d86
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77916d86
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x779173a6
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x7791738a
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.779173d4
add dword [eax], 0x39
jle 0x779173b0
sub al, 0xf5
mov ch, al
call fcn.779173e9
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x779190c1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x779190d7
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x779190e8
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.77919129
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x7791b495
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x7791b3de
add ebx, 0
push ecx
call 0x7791b3f3
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x737170f2
sub ebx, dword [0x73736931]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x73736921
call fcn.77916ebd
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.779163cb
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x7791b551
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x7791b551
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x7791b508
mov eax, 1
lock xchg dword [0x7373692d], eax
push 0x3dd1fc71
call 0x7791b495
push esi
add esp, 8
cmp eax, 0
jne 0x7791b47e
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x7791b4a4
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x7791b4b9
cmp ecx, edx
cmp eax, 0
je 0x7791b4de
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x7791b4c8
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.7791b4f7
dec eax
loope 0x7791b4fa
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x7373692d], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x7791b52e
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x7791b543
jmp 0x7791b54e
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x7791b43c
Function at 0x779225b6
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x7792288c
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x737235a5
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x7371a56b
push 0xffffffffffffffff
call fcn.779197b6
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x77922620
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.77922638
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x77922880
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x77922854