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

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

Function at 0xa7533c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0xa7534e
add esp, 0xfffffff0
call fcn.00a142bc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00a35120
mov eax, dword [0xb72eb8]
mov dword [eax + 4], ebx
mov dword [eax], 0xa756e0
mov eax, dword [0xb72ed0]
mov dword [eax + 4], ebx
mov dword [eax], 0xa756ec
mov eax, ebx
call fcn.00a756f8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0xa2923c]
call fcn.00a13f14
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0xa2923c]
call fcn.00a13f14
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0xa2923c]
call fcn.00a13f14
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0xa2923c]
call fcn.00a13f14
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0xa2923c]
call fcn.00a13f14
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, 0xa71b10
push eax
push 0
push 0
mov eax, dword [0xb73114]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0xa36c50]
call fcn.00a38488
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0xa36c50]
call fcn.00a38488
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0xa36c50]
call fcn.00a38488
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00a75c44
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0xa75ac4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0xa75ac4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0xa75ac4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0xa7548b
call fcn.00a14314
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0xa758a8
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 0xa75a53
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0xa75a34
mov dl, 1
mov eax, dword [0xa29958]
call fcn.00a13f14
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00a14db0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0xa75a23
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.00a63168
test al, al
je 0xa75a16
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, 0xa75a64
lea eax, [ebp - 0x254]
call fcn.00a1b0cc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0xa75a16
xor eax, eax
push ebp
push 0xa75a0f
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 0xa75a9c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0xa759f8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00a15030
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 0xa759f8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00a15030
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xa75a16
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0xa75919
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00a2e910
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 0xa75a5a
lea eax, [ebp - 0x260]
call fcn.00a14db0
ret

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

Disassembly:
push ecx
mov eax, dword [0xb74b78]
cmp byte [eax + 0xa5], 0
jne 0xa76455
cmp dword [0xb74b90], 0
jne 0xa76416
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0xa763a0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0xb74b90], eax
cmp dword [0xb74b8c], 0
jne 0xa76431
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0xb74b8c], eax
cmp dword [0xb74b94], 0
jne 0xa76455
push esp
push 0
push 0
push 0xa76344
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0xb74b94], eax
pop edx
ret
Function at 0xa76b18
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0xb74b78]
cmp dword [eax + 0x30], 0
je 0xa76bc2
cmp dword [ebx + 0x94], 0
jne 0xa76bbc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0xa76aa8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0xa76bbc
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 0xa76b82
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0xa76bbc
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.00a2bc9c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0xa76b91
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0xa77720
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 0xa77755
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.00a14ea0
jmp 0xa77762
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00a14e04
add esp, 0x100
pop esi
pop ebx
ret

Function at 0xa7889c
Capabilities:
Hide graphical window

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

Function at 0xa7a6f0
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.00a7a314
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.00a15280
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0xa7a74e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0xb73134]
mov dl, 1
mov eax, dword [0xa7a1a0]
call fcn.00a1ddb8
call fcn.00a14724
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0xa7a758
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.00a15280
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0xa7a7b0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0xb734f4]
mov dl, 1
mov eax, dword [0xa7a1a0]
call fcn.00a1ddb8
call fcn.00a14724
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00a7a344
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 0xa7af6c
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 [0xa2868c]
call fcn.00a1594c
xor eax, eax
push ebp
push 0xa7b0b0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0xb5f004], 0
jne 0xa7afbf
mov ecx, dword [0xb72d84]
mov dl, 1
mov eax, dword [0xa18a28]
call fcn.00a1dd7c
call fcn.00a14724
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00a13764
mov eax, ebx
call fcn.00a15698
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0xa7b0c0
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.00a16bd0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00a156a8
test eax, eax
jle 0xa7b057
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 0xa7b050
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00a15048
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00a15030
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00a19914
test eax, eax
jne 0xa7b050
mov ebx, 0x15
jmp 0xa7b05c
mov ebx, 0x10
jmp 0xa7b05c
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 [0xb5f004]
call fcn.00a7ade4
mov eax, dword [ebp - 8]
call fcn.00a7ade4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00a16be8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xa7b0b7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00a14dd4
lea eax, [ebp - 0x10]
mov edx, dword [0xa2868c]
call fcn.00a15a1c
ret

Function at 0xa93198
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0xa931d0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0xa931ae
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0xa931bd
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0xa931cc
or bl, 2
mov eax, ebx
pop ebx
ret
Function at 0xaa48c0
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 0xaa4924
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.00a15030
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00a19d98
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaa492b
lea eax, [ebp - 0xc]
call fcn.00a14db0
ret

Function at 0xab8ed0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0xab8efe
mov eax, ebx
call fcn.00ab9984
cmp dword [ebx + 0x40], 0
je 0xab8ef7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0xab8f6f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0xab8f61
cmp dword [ebx + 8], 0
je 0xab8f20
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 0xab8f32
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0xab8f61
cmp dword [ebx + 8], 0
je 0xab8f13
cmp eax, 3
je 0xab8f45
dec eax
jne 0xab8f13
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 0xab8f13
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0xab8f13
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0xab8f8d
cmp dword [ebx + 0x14], 0xcc
je 0xab8f8d
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.00ab8f98
pop ebx
ret

Function at 0xad12e4
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ebx, 0xe
mov eax, 0xb60298
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 0xad12f2
xor ebx, ebx
mov ecx, 0xb5fe98
mov eax, ebx
mov edx, 8
test al, 1
je 0xad1322
shr eax, 1
xor eax, esi
jmp 0xad1324
shr eax, 1
dec edx
jne 0xad1318
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0xad1311
pop esi
pop ebx
ret
Function at 0xad1338
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, 0xb5fe98
test esi, esi
je 0xad134d
test edi, edi
jg 0xad1354
xor eax, eax
jmp 0xad145c
mov ebx, 0xdbc66688
cmp dword [0xb5fe94], 0
je 0xad1367
call fcn.00ad12e4
xor ebx, 0xffffffff
cmp edi, 8
jl 0xad1437
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 0xad1373
test edi, edi
je 0xad1457
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 0xad143b
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0xad90f0
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 0xad915b
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 0xad9102
pop edi
pop esi
pop ebx
ret
Function at 0xadb338
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, 0xb649e8
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 0xadb3fc
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 0xadb370
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
dec edx
je 0xadb413
dec edx
je 0xadb454
jmp 0xadb4b1
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 0xadb4b1
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 0xadb514
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 0xadb531
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0xadb643
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0xadb564
je 0xadb5b0
sub ecx, 0x2b
je 0xadb5a6
sub ecx, 4
je 0xadb5ab
dec ecx
sub ecx, 0xa
jb 0xadb595
jmp 0xadb5b3
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0xadb576
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0xadb584
jmp 0xadb5b3
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0xadb5b3
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0xadb5b3
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0xadb5b3
mov byte [eax], 0x3e
jmp 0xadb5b3
mov byte [eax], 0x3f
jmp 0xadb5b3
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0xadb543
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 0xadb603
cmp byte [esp + 3], 0xff
jne 0xadb603
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 0xadb63b
cmp dl, 0xff
je 0xadb63b
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 0xadb53c
add esp, 0xc
pop ebp
pop edi
pop esi
ret

Function at 0xadc5c4
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.00a183c4
ret
Function at 0xadc794
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00a15270
xor eax, eax
push ebp
push 0xadc8e2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
call fcn.00adc5c4
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00a15280
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0xadc8c1
xor eax, eax
push ebp
push 0xadc8ba
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0xadc8a3
xor eax, eax
push ebp
push 0xadc89c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0xadc885
xor eax, eax
push ebp
push 0xadc87e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ecx, eax
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x14]
call fcn.00adc5f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xadc885
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xadc8a3
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xadc8c1
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x6c]
call fcn.00adc678
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xadc8e9
lea eax, [ebp - 4]
call fcn.00a14db0
ret

Function at 0xae4e50
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0xb74cc8
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0xae4e72
shr eax, 1
xor eax, 0xedb88320
jmp 0xae4e74
shr eax, 1
dec edx
jne 0xae4e60
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0xae4e59
mov byte [0xb750c8], 1
pop esi
pop ebx
ret

Function at 0xae4e90
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0xb750c8], 0
jne 0xae4ea7
call fcn.00ae4e50
mov eax, edi
dec eax
test eax, eax
jl 0xae4ed0
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0xb74cc8]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0xae4eb1
mov eax, ebx
pop edi
pop esi
pop ebx
ret