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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0xb744e8]
cmp byte [eax + 0xc], 0
je 0xa62f85
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xa62f7e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0xb75b2c], 0
jne 0xa62e6c
push 0xa62f8c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0xa62f94
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xb75b2c], eax
cmp dword [0xb5fdb4], 0
jne 0xa62f67
push 0xa62fa4
call sub.kernel32.dll_LoadLibraryA
mov dword [0xb5fdb4], eax
cmp dword [0xb5fdb4], 0
je 0xa62f67
push 0xa62fb0
mov eax, dword [0xb5fdb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xb75b30], eax
push 0xa62fc0
mov eax, dword [0xb5fdb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xb75b34], eax
push 0xa62fd4
mov eax, dword [0xb5fdb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xb75b38], eax
push 0xa62fec
mov eax, dword [0xb5fdb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xb75b3c], eax
push 0xa63004
mov eax, dword [0xb5fdb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xb75b40], eax
push 0xa63018
mov eax, dword [0xb5fdb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xb75b44], eax
push 0xa63030
mov eax, dword [0xb5fdb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xb75b48], eax
push 0xa63048
mov eax, dword [0xb5fdb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xb75b4c], eax
push 0xa63064
mov eax, dword [0xb5fdb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xb75b50], eax
push 0xa63070
mov eax, dword [0xb5fdb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xb75b54], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xa62f85
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0xa6730c
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.00a14dc8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0xa6735b
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.00a15048
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xa6ebdc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0xa6ec2c]
test si, 4
je 0xa6ebf0
or bl, 1
test si, 8
je 0xa6ebfa
or bl, 4
test si, 1
je 0xa6ec04
or bl, 8
test si, 2
je 0xa6ec0e
or bl, 0x10
test si, 0x10
je 0xa6ec18
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0xa6ec27
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0xa6ec30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0xa6ec68]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0xa6ec49
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0xa6ec58
or bl, 4
test esi, 0x20000000
je 0xa6ec63
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0xa7534c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0xa7535e
add esp, 0xfffffff0
call fcn.00a142d4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00a35130
mov eax, dword [0xb73eb8]
mov dword [eax + 4], ebx
mov dword [eax], 0xa756f0
mov eax, dword [0xb73ed0]
mov dword [eax + 4], ebx
mov dword [eax], 0xa756fc
mov eax, ebx
call fcn.00a75708
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0xa2924c]
call fcn.00a13f2c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0xa2924c]
call fcn.00a13f2c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0xa2924c]
call fcn.00a13f2c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0xa2924c]
call fcn.00a13f2c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0xa2924c]
call fcn.00a13f2c
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, 0xa71b20
push eax
push 0
push 0
mov eax, dword [0xb74114]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0xa36c60]
call fcn.00a38498
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0xa36c60]
call fcn.00a38498
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0xa36c60]
call fcn.00a38498
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00a75c54
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0xa75ad4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0xa75ad4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0xa75ad4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0xa7549b
call fcn.00a1432c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0xa758b8
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 0xa75a63
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0xa75a44
mov dl, 1
mov eax, dword [0xa29968]
call fcn.00a13f2c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00a14dc8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0xa75a33
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.00a63178
test al, al
je 0xa75a26
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, 0xa75a74
lea eax, [ebp - 0x254]
call fcn.00a1b0dc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0xa75a26
xor eax, eax
push ebp
push 0xa75a1f
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 0xa75aac
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0xa75a08
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00a15048
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 0xa75a08
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00a15048
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xa75a26
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0xa75929
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00a2e920
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 0xa75a6a
lea eax, [ebp - 0x260]
call fcn.00a14dc8
ret

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

Disassembly:
push ecx
mov eax, dword [0xb75b78]
cmp byte [eax + 0xa5], 0
jne 0xa76465
cmp dword [0xb75b90], 0
jne 0xa76426
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0xa763b0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0xb75b90], eax
cmp dword [0xb75b8c], 0
jne 0xa76441
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0xb75b8c], eax
cmp dword [0xb75b94], 0
jne 0xa76465
push esp
push 0
push 0
push 0xa76354
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0xb75b94], eax
pop edx
ret
Function at 0xa76b28
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0xb75b78]
cmp dword [eax + 0x30], 0
je 0xa76bd2
cmp dword [ebx + 0x94], 0
jne 0xa76bcc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0xa76ab8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0xa76bcc
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 0xa76b92
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0xa76bcc
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.00a2bcac
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0xa76ba1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0xa77730
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 0xa77765
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.00a14eb8
jmp 0xa77772
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00a14e1c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0xa788ac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0xa788ed
mov eax, esi
call fcn.00a5e6f0
test al, al
je 0xa788ed
mov eax, dword [ebx + 0x84]
call fcn.00a5e3ec
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0xa788ed
push 0
mov eax, dword [ebx + 0x84]
call fcn.00a5e3ec
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0xa7a700
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00a7a324
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00a15298
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0xa7a75e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0xb74134]
mov dl, 1
mov eax, dword [0xa7a1b0]
call fcn.00a1ddc8
call fcn.00a1473c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0xa7a768
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.00a15298
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0xa7a7c0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0xb744f4]
mov dl, 1
mov eax, dword [0xa7a1b0]
call fcn.00a1ddc8
call fcn.00a1473c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00a7a354
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 0xa7af7c
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 [0xa2869c]
call fcn.00a15964
xor eax, eax
push ebp
push 0xa7b0c0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0xb60004], 0
jne 0xa7afcf
mov ecx, dword [0xb73d84]
mov dl, 1
mov eax, dword [0xa18a38]
call fcn.00a1dd8c
call fcn.00a1473c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00a1377c
mov eax, ebx
call fcn.00a156b0
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0xa7b0d0
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.00a16be8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00a156c0
test eax, eax
jle 0xa7b067
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 0xa7b060
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00a15060
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00a15048
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00a19924
test eax, eax
jne 0xa7b060
mov ebx, 0x15
jmp 0xa7b06c
mov ebx, 0x10
jmp 0xa7b06c
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 [0xb60004]
call fcn.00a7adf4
mov eax, dword [ebp - 8]
call fcn.00a7adf4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00a16c00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xa7b0c7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00a14dec
lea eax, [ebp - 0x10]
mov edx, dword [0xa2869c]
call fcn.00a15a34
ret

Function at 0xa931a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0xa931e0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0xa931be
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0xa931cd
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0xa931dc
or bl, 2
mov eax, ebx
pop ebx
ret
Function at 0xaa48d4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0xaa4938
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00a15048
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00a19da8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaa493f
lea eax, [ebp - 0xc]
call fcn.00a14dc8
ret

Function at 0xab8ee4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0xab8f12
mov eax, ebx
call fcn.00ab9998
cmp dword [ebx + 0x40], 0
je 0xab8f0b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0xab8f83
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0xab8f75
cmp dword [ebx + 8], 0
je 0xab8f34
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0xab8f46
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0xab8f75
cmp dword [ebx + 8], 0
je 0xab8f27
cmp eax, 3
je 0xab8f59
dec eax
jne 0xab8f27
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0xab8f27
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0xab8f27
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0xab8fa1
cmp dword [ebx + 0x14], 0xcc
je 0xab8fa1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00ab8fac
pop ebx
ret

Function at 0xad12f8
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ebx, 0xe
mov eax, 0xb61298
xor edx, edx
mov dl, byte [eax]
mov ecx, 0x1f
sub ecx, edx
mov edx, 1
shl edx, cl
or esi, edx
inc eax
dec ebx
jne 0xad1306
xor ebx, ebx
mov ecx, 0xb60e98
mov eax, ebx
mov edx, 8
test al, 1
je 0xad1336
shr eax, 1
xor eax, esi
jmp 0xad1338
shr eax, 1
dec edx
jne 0xad132c
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0xad1325
pop esi
pop ebx
ret
Function at 0xad134c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, edx
mov esi, eax
mov ebp, 0xb60e98
test esi, esi
je 0xad1361
test edi, edi
jg 0xad1368
xor eax, eax
jmp 0xad1470
mov ebx, 0xdbc66688
cmp dword [0xb60e94], 0
je 0xad137b
call fcn.00ad12f8
xor ebx, 0xffffffff
cmp edi, 8
jl 0xad144b
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jge 0xad1387
test edi, edi
je 0xad146b
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
jne 0xad144f
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0xad9104
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov ebx, ecx
test ebx, ebx
jle 0xad916f
mov ecx, 1
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, ecx
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
sub eax, 1
sbb edx, 0
mov al, byte [eax]
push eax
mov eax, edi
xor edx, edx
push edx
push eax
mov eax, ecx
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
sub eax, 1
sbb edx, 0
pop edx
xor dl, byte [eax]
push edx
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, ecx
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
sub eax, 1
sbb edx, 0
pop edx
mov byte [eax], dl
inc ecx
dec ebx
jne 0xad9116
pop edi
pop esi
pop ebx
ret
Function at 0xadb050
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, dword [ebp + 0xc]
jmp fcn.01835d95

Function at 0xadb394
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, 0xb659e8
lea ecx, [esp + 8]
mov dword [ecx], eax
mov eax, dword [esp]
mov dword [esp + 0xc], eax
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
test eax, eax
jle 0xadb458
mov edx, dword [ecx]
movzx edx, byte [edx + ebx]
shr edx, 2
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 1]
shr ebp, 4
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 1], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 2]
shr ebp, 6
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 2], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 3], dl
add esi, 4
add ebx, 3
dec eax
jne 0xadb3cc
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
dec edx
je 0xadb46f
dec edx
je 0xadb4b0
jmp 0xadb50d
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 2], 0x3d
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
jmp 0xadb50d
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov edx, dword [ecx]
movzx edx, byte [edx + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [ecx]
mov al, byte [eax + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 2], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
mov eax, dword [esp + 4]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0xadb570
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
xor esi, esi
xor edi, edi
xor eax, eax
mov ebp, ecx
test ebp, ebp
jns 0xadb58d
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0xadb69f
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0xadb5c0
je 0xadb60c
sub ecx, 0x2b
je 0xadb602
sub ecx, 4
je 0xadb607
dec ecx
sub ecx, 0xa
jb 0xadb5f1
jmp 0xadb60f
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0xadb5d2
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0xadb5e0
jmp 0xadb60f
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0xadb60f
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0xadb60f
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0xadb60f
mov byte [eax], 0x3e
jmp 0xadb60f
mov byte [eax], 0x3f
jmp 0xadb60f
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0xadb59f
mov al, byte [esp]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 1]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi], al
lea eax, [edi + 1]
mov dl, byte [esp + 2]
cmp dl, 0xff
je 0xadb65f
cmp byte [esp + 3], 0xff
jne 0xadb65f
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
lea eax, [edi + 2]
inc edi
jmp 0xadb697
cmp dl, 0xff
je 0xadb697
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 2]
shl edx, 6
or dl, byte [esp + 3]
mov byte [eax + edi + 2], dl
lea eax, [edi + 3]
add edi, 2
inc edi
dec ebp
jne 0xadb598
add esp, 0xc
pop ebp
pop edi
pop esi
ret

Function at 0xadc620
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.00a183d4
ret