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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4629d0]
cmp byte [eax + 0xc], 0
je 0x440e15
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x440e0e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x463b68], 0
jne 0x440cfc
push 0x440e1c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x440e24
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b68], eax
cmp dword [0x461b90], 0
jne 0x440df7
push 0x440e34
call sub.kernel32.dll_LoadLibraryA
mov dword [0x461b90], eax
cmp dword [0x461b90], 0
je 0x440df7
push 0x440e40
mov eax, dword [0x461b90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b6c], eax
push 0x440e50
mov eax, dword [0x461b90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b70], eax
push 0x440e64
mov eax, dword [0x461b90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b74], eax
push 0x440e7c
mov eax, dword [0x461b90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b78], eax
push 0x440e94
mov eax, dword [0x461b90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b7c], eax
push 0x440ea8
mov eax, dword [0x461b90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b80], eax
push 0x440ec0
mov eax, dword [0x461b90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b84], eax
push 0x440ed8
mov eax, dword [0x461b90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b88], eax
push 0x440ef4
mov eax, dword [0x461b90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b8c], eax
push 0x440f00
mov eax, dword [0x461b90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440e15
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x444ca0
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.00403e9c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x444cef
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.0040410c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c4d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44c524]
test si, 4
je 0x44c4e8
or bl, 1
test si, 8
je 0x44c4f2
or bl, 4
test si, 1
je 0x44c4fc
or bl, 8
test si, 2
je 0x44c506
or bl, 0x10
test si, 0x10
je 0x44c510
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c51f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44c528
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44c560]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c541
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c550
or bl, 4
test esi, 0x20000000
je 0x44c55b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x452c08
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x452c1a
add esp, 0xfffffff0
call fcn.00403470
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ccac
mov eax, dword [0x462568]
mov dword [eax + 4], ebx
mov dword [eax], 0x452fac
mov eax, dword [0x462574]
mov dword [eax + 4], ebx
mov dword [eax], 0x452fb8
mov eax, ebx
call fcn.00452fc4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x414fa4]
call fcn.0040311c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x414fa4]
call fcn.0040311c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x414fa4]
call fcn.0040311c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x414fa4]
call fcn.0040311c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x414fa4]
call fcn.0040311c
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, 0x44f3e0
push eax
push 0
push 0
mov eax, dword [0x462738]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e708]
call fcn.0041fe44
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e708]
call fcn.0041fe44
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e708]
call fcn.0041fe44
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004533e4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4532c0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4532c0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4532c0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452d57
call fcn.004034c8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4530a4
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 0x45324f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x453230
mov dl, 1
mov eax, dword [0x4153c0]
call fcn.0040311c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e9c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45321f
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.00441008
test al, al
je 0x453212
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, 0x453260
lea eax, [ebp - 0x254]
call fcn.00408da8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x453212
xor eax, eax
push ebp
push 0x45320b
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 0x453298
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4531f4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040410c
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 0x4531f4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040410c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453212
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x453115
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00418e9c
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 0x453256
lea eax, [ebp - 0x260]
call fcn.00403e9c
ret

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

Disassembly:
push ecx
mov eax, dword [0x463bb4]
cmp byte [eax + 0xa5], 0
jne 0x453bf5
cmp dword [0x463bcc], 0
jne 0x453bb6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x453b40
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x463bcc], eax
cmp dword [0x463bc8], 0
jne 0x453bd1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x463bc8], eax
cmp dword [0x463bd0], 0
jne 0x453bf5
push esp
push 0
push 0
push 0x453ae4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x463bd0], eax
pop edx
ret
Function at 0x453cec
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x453d03
add esp, 0xfffffff0
call fcn.00403470
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ccac
mov eax, dword [0x46271c]
cmp word [eax + 2], 0
jne 0x453d2b
mov eax, dword [0x46271c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004553c4
mov eax, dword [0x46280c]
cmp word [eax + 2], 0
jne 0x453d45
mov eax, dword [0x46280c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004555bc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x414fa4]
call fcn.0040311c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x414fa4]
call fcn.0040311c
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 [0x41f1b0]
call fcn.00426a7c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x453ecc
mov eax, dword [0x4625f8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00426e4c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x455b5c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4625f8]
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.0040c56c
test eax, eax
je 0x453e3a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040879c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c594
test eax, eax
je 0x453e4e
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.0040410c
mov eax, dword [0x462454]
cmp byte [eax], 0
jne 0x453e82
mov eax, ebx
call fcn.00453ff4
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.00455d38
mov eax, ebx
call fcn.004566fc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x453ec2
call fcn.004034c8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454274
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x463bb4]
cmp dword [eax + 0x30], 0
je 0x45431e
cmp dword [ebx + 0x94], 0
jne 0x454318
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x454204
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x454318
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 0x4542de
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x454318
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.0041730c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4542ed
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x454e80
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 0x454eb5
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.00403f8c
jmp 0x454ec2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ef0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x455f14
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x455f55
mov eax, esi
call fcn.0043c634
test al, al
je 0x455f55
mov eax, dword [ebx + 0x84]
call fcn.0043c330
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x455f55
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043c330
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x456c4c
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 [0x414554]
call fcn.00404808
xor eax, eax
push ebp
push 0x456d90
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x461dc4], 0
jne 0x456c9f
mov ecx, dword [0x462478]
mov dl, 1
mov eax, dword [0x40702c]
call fcn.0040b7a4
call fcn.004038d8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402b60
mov eax, ebx
call fcn.004046d8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x456da0
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.0040578c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004046e8
test eax, eax
jle 0x456d37
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 0x456d30
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404124
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.0040410c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00407e38
test eax, eax
jne 0x456d30
mov ebx, 0x15
jmp 0x456d3c
mov ebx, 0x10
jmp 0x456d3c
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 [0x461dc4]
call fcn.00456ba4
mov eax, dword [ebp - 8]
call fcn.00456ba4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004057a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456d97
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00403ec0
lea eax, [ebp - 0x10]
mov edx, dword [0x414554]
call fcn.004048d8
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x2f15a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
je 0x2f180d
jne 0x2f180d
je 0x2f11e6
jne 0x2f12ed
add byte [eax], al
add byte [eax], al
Function at 0x2f3620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x23c
mov edi, dword [ebp + 0xc]
je 0x2f37a8
jne 0x2f37a8
Function at 0x2f4860
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
je 0x2f48b6
jne 0x2f48b6
jmp 0x3e9b83b2
inc ebp
cmp ebp, dword [esi + edi + 0x18]
jb 0x2f48d7
xor eax, eax
jmp 0x2f4890
mov eax, dword [esp]
je 0x2f487c
jne 0x2f487c
jmp 0x683bff8f
movzx ecx, word [eax + ebp*2]
xor eax, eax
cmp dword [esi + edi + 0x14], ecx
jb 0x2f4890
mov eax, dword [esi + edi + 0x1c]
je 0x2f48f9
jne 0x2f48f9
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + edi + 0x24]
mov ebx, dword [esi + edi + 0x20]
xor ebp, ebp
je 0x2f491b
jne 0x2f491b
je 0x2f24da
jne 0x2f140a
push eax
mov edx, dword [esp + 0x1c]
xor eax, eax
mov ecx, dword [edx]
cmp dword [ecx + 0x7c], 0
je 0x2f4890
je 0x2f4938
jne 0x2f4938
je 0x2f369f
jne 0x2f2cb7
je 0x1da4d66
mov eax, dword [ebx + ebp*4]
add eax, esi
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x20]
call dword [eax + 0x24]
je 0x2f4907
invalid
jne 0x2f4907
je 0x2f268a
jne 0x2f2922
jmp 0x3bd558a
lea ecx, [esi + ecx*4]
add esi, dword [eax + ecx]
mov eax, esi
je 0x2f4890
jne 0x2f4890
je 0x843f0990
test eax, eax
je 0x2f4874
invalid
je 0x2f4869
jne 0x2f4869
add eax, esi
add ebx, esi
mov dword [esp], eax
nop word cs:[eax + eax]
nop dword [eax]
je 0x2f48d7
jne 0x2f48d7
add byte [eax], al
add byte [eax], al
mov esi, dword [edx + 4]
mov edi, dword [ecx + 0x78]
cmp dword [edi + esi + 0x18], 0
je 0x2f4890
cmp dword [esi + edi + 0x14], 0
je 0x2f4890
je 0x2f489c
jne 0x2f489c
push ebp
push ebx
je 0x2f4a05
jne 0x2f4a05
je 0x378a3b
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
mov ebx, ecx
push dword [esp + 0x20]
push dword [esp + 0x20]
push eax
je 0x2f49d8
add byte [eax], al
add bh, al
inc eax
adc byte [eax], al
add byte [eax], al
add byte [ecx + 0x2474ffcb], cl
and bh, bh
je 0x2f49ab
and byte [eax + 0x74], dl
dec ebp
jne 0x2f49d8
je 0x2f13d2
jne 0x2f363b
add byte [eax], al
add byte [eax], al
test edi, edi
je 0x2f49fb
push 0x8000
push 0
push edi
call dword [ebx + 0xc]
je 0x2f49fb
or al, 0x74
dec ebp
jne 0x2f49fb
jmp 0x816ba740
mov ebx, dword [ebp + 0x3c]
cmp dword [ebp + ebx], 0x4550
jne 0x2f49fb
mov edi, dword [esp + 0x14]
add ebx, ebp
push 4
je 0x2f49ca
jne 0x2f49ca
push 0x3000
push 0x14
push 0
je 0x2f4a1c
jne 0x2f4a1c
jmp 0xec72322d
push ecx
call fcn.002f3620
add esp, 0x10
test eax, eax
je 0x2f49f0
mov esi, edi
mov dword [edi + 0x10], 1
jmp 0x2f49fb
je 0x2f499d
jne 0x2f499d
pop ebx
pop ebp
ret
mov eax, esi
pop esi
pop edi
je 0x2f49f4
jne 0x2f49f4
je 0x6cbaa060
push edi
push esi
mov ebp, dword [esp + 0x18]
and al, 0x18
xor esi, esi
movzx eax, word [ebp]
cmp eax, 0x5a4d
jne 0x2f49fb
je 0x2f49b1
jne 0x2f49b1
call dword [edi]
mov ecx, edi
mov dword [eax + 4], ebp
mov dword [eax], ebx
mov edi, eax
mov dword [eax + 0xc], 0
je 0x2f4970
jne 0x2f4970
nop word [eax + eax]
ret
Function at 0x2f7f80
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, 0x1400
call fcn.00334b40
mov eax, dword [esp + 0x1418]
movdqa xmm4, xmmword [0x33a290]
movdqa xmm6, xmmword [0x33a2a0]
mov esi, 0xfffffc00
pxor xmm2, xmm2
nop
movdqa xmm3, xmm4
movdqa xmm7, xmmword [0x33a2c0]
movdqa xmm0, xmm4
movdqa xmm1, xmm4
movdqa xmm5, xmm4
pand xmm3, xmm6
psrld xmm0, 6
pand xmm1, xmmword [0x33a320]
pcmpeqd xmm3, xmm2
pand xmm3, xmmword [0x33a2b0]
pcmpeqd xmm1, xmm2
pand xmm1, xmmword [0x33a330]
pxor xmm0, xmm3
movdqa xmm3, xmm4
pand xmm3, xmm7
movdqa xmm7, xmmword [0x33a2e0]
pcmpeqd xmm3, xmm2
pand xmm3, xmmword [0x33a2d0]
pand xmm5, xmm7
movdqa xmm7, xmmword [0x33a350]
pcmpeqd xmm5, xmm2
pand xmm5, xmmword [0x33a2f0]
pxor xmm3, xmm0
pand xmm0, xmm6
pcmpeqd xmm0, xmm2
pxor xmm1, xmm5
movdqa xmm5, xmm4
pand xmm5, xmmword [0x33a340]
pcmpeqd xmm5, xmm2
pand xmm5, xmm7
pxor xmm5, xmm1
movdqa xmm1, xmm4
paddd xmm4, xmmword [0x33a2e0]
pand xmm1, xmmword [str._b_b_b_b]
pxor xmm5, xmm3
pand xmm3, xmmword [0x33a2c0]
pcmpeqd xmm1, xmm2
pcmpeqd xmm3, xmm2
pand xmm1, xmmword [0x33a310]
pand xmm3, xmm7
pxor xmm5, xmm1
movdqa xmm1, xmm0
pand xmm0, xmmword [0x33a370]
pandn xmm1, xmmword [0x33a360]
psrld xmm5, 2
por xmm0, xmm1
pxor xmm0, xmm5
pxor xmm0, xmm3
movdqu xmmword [esp + esi + 0x400], xmm0
add esi, 0x10
jne 0x2f7fb0
mov esi, eax
mov eax, 0xfffffc00
shr esi, 2
nop word [eax + eax]
mov ebx, dword [esp + eax + 0x400]
movzx ecx, bl
shr ebx, 8
xor ebx, dword [esp + ecx*4]
movzx ecx, bl
shr ebx, 8
xor ebx, dword [esp + ecx*4]
movzx ecx, bl
shr ebx, 8
xor ebx, dword [esp + ecx*4]
mov dword [esp + eax + 0x800], ebx
add eax, 4
jne 0x2f80d0
mov eax, dword [esp]
mov edi, dword [esp + 0x400]
xor ebp, ebp
mov ebx, eax
shr ebx, 8
nop
mov ecx, eax
xor ecx, ebp
movzx ecx, cl
mov ecx, dword [esp + ecx*4]
xor ecx, ebx
movzx edx, cl
shr ecx, 8
xor ecx, dword [esp + edx*4]
movzx edx, cl
shr ecx, 8
mov edx, dword [esp + edx*4]
xor edx, edi
xor edx, ecx
mov dword [esp + ebp*4 + 0x800], edx
inc ebp
cmp ebp, 0x100
jne 0x2f8110
movzx eax, al
Function at 0x2fadf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
je 0x2fb0ab
jne 0x2fb0ab
je 0x2f93c2
jne 0x2fa2d9
add byte [eax], al
add byte [eax], al
push ebx
push edi
push esi
je 0x2fb126
jne 0x2fb126
add byte [eax], al
add byte [eax], al

Function at 0x2fb180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov byte [esp], 0
jmp 0x2fb2a3
je 0x2fb306
jne 0x2fb306
Function at 0x322fc0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push esi
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov esi, dword [edx]
mov dword [eax + 0x10], esi
mov esi, dword [edx + 4]
mov dword [eax + 0x14], esi
mov esi, dword [edx + 8]
mov dword [eax + 0x18], esi
mov esi, dword [edx + 0xc]
mov dword [eax + 0x1c], esi
lea esi, [edx + 0x10]
cmp ecx, 0x100
cmovne esi, edx
mov ecx, str.expand_32_byte_kexpand_16_byte_k
mov edx, 0x33a690
cmove edx, ecx
mov ecx, dword [esi]
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 0x24], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 0x28], ecx
mov ecx, dword [esi + 0xc]
mov dword [eax + 0x2c], ecx
mov ecx, dword [edx]
mov esi, dword [edx + 4]
mov dword [eax], ecx
mov dword [eax + 4], esi
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
pop esi
ret

Function at 0x3230f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x7c
mov dword [esp + 0x78], ecx
mov eax, dword [edx]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x48], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x54], eax
mov eax, dword [edx + 0x20]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x5c], eax
mov ebp, dword [edx + 0x28]
mov ebx, dword [edx + 0x2c]
mov edi, dword [edx + 0x30]
mov esi, dword [edx + 0x34]
mov ecx, dword [edx + 0x38]
mov eax, dword [edx + 0x3c]
mov dword [esp + 0x2c], 0xfffffff8
mov dword [esp + 0x74], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x68], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov ebp, dword [esp + 0x54]