joyce8/EMBER2024-capa huggingface dataset:
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 [0xa2992c]
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.00a6314c
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.00a1b0a0
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.00a2e8e4
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 [0xb76b78]
cmp byte [eax + 0xa5], 0
jne 0xa76455
cmp dword [0xb76b90], 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 [0xb76b90], eax
cmp dword [0xb76b8c], 0
jne 0xa76431
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0xb76b8c], eax
cmp dword [0xb76b94], 0
jne 0xa76455
push esp
push 0
push 0
push 0xa76344
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0xb76b94], 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 [0xb76b78]
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.00a2bc70
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.00a5e6c4
test al, al
je 0xa788dd
mov eax, dword [ebx + 0x84]
call fcn.00a5e3c0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0xa788dd
push 0
mov eax, dword [ebx + 0x84]
call fcn.00a5e3c0
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 [0xb75124]
mov dl, 1
mov eax, dword [0xa7a1a0]
call fcn.00a1dd8c
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 [0xb754b0]
mov dl, 1
mov eax, dword [0xa7a1a0]
call fcn.00a1dd8c
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 [0xa28660]
call fcn.00a1594c
xor eax, eax
push ebp
push 0xa7b0b0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0xb61004], 0
jne 0xa7afbf
mov ecx, dword [0xb74d80]
mov dl, 1
mov eax, dword [0xa18a20]
call fcn.00a1dd50
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.00a1990c
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 [0xb61004]
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 [0xa28660]
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.00a19d90
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 0xabb7fc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0xabb82a
mov eax, ebx
call fcn.00abc2b0
cmp dword [ebx + 0x40], 0
je 0xabb823
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0xabb89b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0xabb88d
cmp dword [ebx + 8], 0
je 0xabb84c
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 0xabb85e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0xabb88d
cmp dword [ebx + 8], 0
je 0xabb83f
cmp eax, 3
je 0xabb871
dec eax
jne 0xabb83f
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 0xabb83f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0xabb83f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0xabb8b9
cmp dword [ebx + 0x14], 0xcc
je 0xabb8b9
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.00abb8c4
pop ebx
ret

Function at 0xad3980
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ebx, 0xe
mov eax, 0xb622a8
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 0xad398e
xor ebx, ebx
mov ecx, 0xb61ea8
mov eax, ebx
mov edx, 8
test al, 1
je 0xad39be
shr eax, 1
xor eax, esi
jmp 0xad39c0
shr eax, 1
dec edx
jne 0xad39b4
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0xad39ad
pop esi
pop ebx
ret
Function at 0xad39d4
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, 0xb61ea8
test esi, esi
je 0xad39e9
test edi, edi
jg 0xad39f0
xor eax, eax
jmp 0xad3af8
mov ebx, 0xdbc66688
cmp dword [0xb61ea4], 0
je 0xad3a03
call fcn.00ad3980
xor ebx, 0xffffffff
cmp edi, 8
jl 0xad3ad3
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 0xad3a0f
test edi, edi
je 0xad3af3
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 0xad3ad7
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0xadb764
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jle 0xadb784
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 0xadb772
pop edi
pop esi
pop ebx
ret
Function at 0xadd930
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, 0xb669f8
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 0xadd9f4
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 0xadd968
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
dec edx
je 0xadda0b
dec edx
je 0xadda4c
jmp 0xaddaa9
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 0xaddaa9
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 0xaddb0c
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 0xaddb29
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0xaddc3b
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0xaddb5c
je 0xaddba8
sub ecx, 0x2b
je 0xaddb9e
sub ecx, 4
je 0xaddba3
dec ecx
sub ecx, 0xa
jb 0xaddb8d
jmp 0xaddbab
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0xaddb6e
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0xaddb7c
jmp 0xaddbab
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0xaddbab
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0xaddbab
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0xaddbab
mov byte [eax], 0x3e
jmp 0xaddbab
mov byte [eax], 0x3f
jmp 0xaddbab
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0xaddb3b
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 0xaddbfb
cmp byte [esp + 3], 0xff
jne 0xaddbfb
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 0xaddc33
cmp dl, 0xff
je 0xaddc33
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 0xaddb34
add esp, 0xc
pop ebp
pop edi
pop esi
ret

Function at 0xadebbc
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 0xaded8c
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 0xadeeda
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
call fcn.00adebbc
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 0xadeeb9
xor eax, eax
push ebp
push 0xadeeb2
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 0xadee9b
xor eax, eax
push ebp
push 0xadee94
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 0xadee7d
xor eax, eax
push ebp
push 0xadee76
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.00adebf0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xadee7d
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 0xadee9b
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 0xadeeb9
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.00adec70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xadeee1
lea eax, [ebp - 4]
call fcn.00a14db0
ret
Function at 0xae49b8
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 0xae4abb
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 0xae4a06
mov word [ebp - 0x1c], 1
jmp 0xae4a0c
mov word [ebp - 0x1c], 0
lea edx, [ebp - 4]
mov eax, edi
call fcn.00a1a6ac
mov eax, esi
call fcn.00a15080
test eax, eax
jle 0xae4a47
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, 0xae4ad4
call fcn.00a1b138
jmp 0xae4a61
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, 0xae4ae4
call fcn.00a1b138
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 0xae4a95
mov ebx, dword [ebp - 0x5c]
jmp 0xae4a97
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 0xae4ac2
lea eax, [ebp - 8]
mov edx, 2
call fcn.00a14dd4
ret

Function at 0xae4aec
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.00a1ac20
add esp, 0x104
pop ebx
ret

Function at 0xae4d60
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 0xae4d82
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 0xae7dd4
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 0xae7e32
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.00ae7eb0
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0xae7e1a
lea eax, [ebp - 4]
call fcn.00ae7eb0
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0xae7e1c
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xae7e39
lea eax, [ebp - 4]
call fcn.00a14db0
ret