joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa75898
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 0xa75a43
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0xa75a24
mov dl, 1
mov eax, dword [0xa29950]
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 0xa75a13
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.00a63158
test al, al
je 0xa75a06
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, 0xa75a54
lea eax, [ebp - 0x254]
call fcn.00a1b0c4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0xa75a06
xor eax, eax
push ebp
push 0xa759ff
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 0xa75a8c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0xa759e8
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 0xa759e8
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 0xa75a06
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0xa75909
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00a2e908
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 0xa75a4a
lea eax, [ebp - 0x260]
call fcn.00a14db0
ret

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

Disassembly:
push ecx
mov eax, dword [0xb77b78]
cmp byte [eax + 0xa5], 0
jne 0xa76445
cmp dword [0xb77b90], 0
jne 0xa76406
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0xa76390
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0xb77b90], eax
cmp dword [0xb77b8c], 0
jne 0xa76421
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0xb77b8c], eax
cmp dword [0xb77b94], 0
jne 0xa76445
push esp
push 0
push 0
push 0xa76334
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0xb77b94], eax
pop edx
ret
Function at 0xa76b08
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0xb77b78]
cmp dword [eax + 0x30], 0
je 0xa76bb2
cmp dword [ebx + 0x94], 0
jne 0xa76bac
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0xa76a98
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0xa76bac
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 0xa76b72
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0xa76bac
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.00a2bc94
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0xa76b81
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Function at 0xa7888c
Capabilities:
Hide graphical window

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

Function at 0xa7a6e0
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.00a7a304
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 0xa7a73e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0xb76114]
mov dl, 1
mov eax, dword [0xa7a190]
call fcn.00a1ddb0
call fcn.00a14724
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0xa7a748
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 0xa7a7a0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0xb764d4]
mov dl, 1
mov eax, dword [0xa7a190]
call fcn.00a1ddb0
call fcn.00a14724
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00a7a334
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 0xa7af5c
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 [0xa28684]
call fcn.00a1594c
xor eax, eax
push ebp
push 0xa7b0a0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0xb62004], 0
jne 0xa7afaf
mov ecx, dword [0xb75d68]
mov dl, 1
mov eax, dword [0xa18a20]
call fcn.00a1dd74
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, 0xa7b0b0
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 0xa7b047
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 0xa7b040
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.00a1990c
test eax, eax
jne 0xa7b040
mov ebx, 0x15
jmp 0xa7b04c
mov ebx, 0x10
jmp 0xa7b04c
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 [0xb62004]
call fcn.00a7add4
mov eax, dword [ebp - 8]
call fcn.00a7add4
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 0xa7b0a7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00a14dd4
lea eax, [ebp - 0x10]
mov edx, dword [0xa28684]
call fcn.00a15a1c
ret

Function at 0xa93188
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0xa931c0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0xa9319e
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0xa931ad
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0xa931bc
or bl, 2
mov eax, ebx
pop ebx
ret
Function at 0xaa48b0
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 0xaa4914
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.00a19d90
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaa491b
lea eax, [ebp - 0xc]
call fcn.00a14db0
ret
Function at 0xabb7ec
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0xabb81a
mov eax, ebx
call fcn.00abc2a0
cmp dword [ebx + 0x40], 0
je 0xabb813
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0xabb88b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0xabb87d
cmp dword [ebx + 8], 0
je 0xabb83c
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 0xabb84e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0xabb87d
cmp dword [ebx + 8], 0
je 0xabb82f
cmp eax, 3
je 0xabb861
dec eax
jne 0xabb82f
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 0xabb82f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0xabb82f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0xabb8a9
cmp dword [ebx + 0x14], 0xcc
je 0xabb8a9
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.00abb8b4
pop ebx
ret

Function at 0xad3c08
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ebx, 0xe
mov eax, 0xb632a8
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 0xad3c16
xor ebx, ebx
mov ecx, 0xb62ea8
mov eax, ebx
mov edx, 8
test al, 1
je 0xad3c46
shr eax, 1
xor eax, esi
jmp 0xad3c48
shr eax, 1
dec edx
jne 0xad3c3c
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0xad3c35
pop esi
pop ebx
ret
Function at 0xad3c5c
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, 0xb62ea8
test esi, esi
je 0xad3c71
test edi, edi
jg 0xad3c78
xor eax, eax
jmp 0xad3d80
mov ebx, 0xdbc66688
cmp dword [0xb62ea4], 0
je 0xad3c8b
call fcn.00ad3c08
xor ebx, 0xffffffff
cmp edi, 8
jl 0xad3d5b
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 0xad3c97
test edi, edi
je 0xad3d7b
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 0xad3d5f
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0xadb9ec
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jle 0xadba0c
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0xadb9fa
pop edi
pop esi
pop ebx
ret
Function at 0xaddbb8
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, 0xb679f8
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 0xaddc7c
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 0xaddbf0
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
dec edx
je 0xaddc93
dec edx
je 0xaddcd4
jmp 0xaddd31
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 0xaddd31
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 0xaddd94
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 0xadddb1
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0xaddec3
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0xaddde4
je 0xadde30
sub ecx, 0x2b
je 0xadde26
sub ecx, 4
je 0xadde2b
dec ecx
sub ecx, 0xa
jb 0xadde15
jmp 0xadde33
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0xadddf6
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0xadde04
jmp 0xadde33
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0xadde33
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0xadde33
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0xadde33
mov byte [eax], 0x3e
jmp 0xadde33
mov byte [eax], 0x3f
jmp 0xadde33
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0xadddc3
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 0xadde83
cmp byte [esp + 3], 0xff
jne 0xadde83
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 0xaddebb
cmp dl, 0xff
je 0xaddebb
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 0xadddbc
add esp, 0xc
pop ebp
pop edi
pop esi
ret

Function at 0xadee44
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.00a183bc
ret
Function at 0xadf014
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 0xadf162
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
call fcn.00adee44
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 0xadf141
xor eax, eax
push ebp
push 0xadf13a
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 0xadf123
xor eax, eax
push ebp
push 0xadf11c
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 0xadf105
xor eax, eax
push ebp
push 0xadf0fe
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.00adee78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xadf105
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 0xadf123
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 0xadf141
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.00adeef8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xadf169
lea eax, [ebp - 4]
call fcn.00a14db0
ret
Function at 0xae4ac4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0xae4bc7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.00a13764
mov dword [ebp - 0x4c], 0x44
mov dword [ebp - 0x20], 1
test bl, bl
je 0xae4b12
mov word [ebp - 0x1c], 1
jmp 0xae4b18
mov word [ebp - 0x1c], 0
lea edx, [ebp - 4]
mov eax, edi
call fcn.00a1a6d0
mov eax, esi
call fcn.00a15080
test eax, eax
jle 0xae4b53
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x6c], edi
mov byte [ebp - 0x68], 0xb
mov dword [ebp - 0x64], esi
mov byte [ebp - 0x60], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 1
mov eax, 0xae4be0
call fcn.00a1b15c
jmp 0xae4b6d
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x74], edi
mov byte [ebp - 0x70], 0xb
lea edx, [ebp - 0x74]
xor ecx, ecx
mov eax, 0xae4bf0
call fcn.00a1b15c
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
call fcn.00a15280
push eax
push 0
push 0x30
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00a15280
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0xae4ba1
mov ebx, dword [ebp - 0x5c]
jmp 0xae4ba3
xor ebx, ebx
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xae4bce
lea eax, [ebp - 8]
mov edx, 2
call fcn.00a14dd4
ret

Function at 0xae4bf8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
mov eax, esp
call fcn.00a1ac44
add esp, 0x104
pop ebx
ret

Function at 0xae4e6c
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov bl, 1
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0xae4e8e
push 0
push esi
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, ebx
pop esi
pop ebx
ret

Function at 0xae7ee0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00a15270
xor eax, eax
push ebp
push 0xae7f3e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.00ae7fbc
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0xae7f26
lea eax, [ebp - 4]
call fcn.00ae7fbc
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0xae7f28
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xae7f45
lea eax, [ebp - 4]
call fcn.00a14db0
ret