joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427ae4
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x427b41
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [esp + 0xc]
call fcn.0046176a
pop ecx
lea esi, [eax + eax + 2]
push esi
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push dword [esp + 0x10]
push eax
call fcn.00461a50
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
ret

Function at 0x427cca
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x40
mov esi, ecx
push 0xc
push dword [esi]
lea edi, [esi + 4]
call ebx
lea eax, [ebp - 4]
push eax
push 0x40
push 0x12
push edi
call ebx
push 0x12
push 0x47989c
push edi
call fcn.00461a50
mov ecx, dword [ebp + 8]
lea eax, [edi + 0xe]
sub ecx, eax
sub ecx, 4
mov dword [eax], ecx
mov esi, dword [esi + 0x18]
add esp, 0xc
test esi, esi
je 0x427d2e
push edi
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x427d2e
mov dword [ecx], eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4283b4
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push 0x500000
lea ecx, [ebp - 8]
call fcn.00424576
mov eax, dword [ebp - 8]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
add eax, 0x100000
xor ecx, ecx
and eax, 0xfff00000
cmp byte [ebp + 0x1c], cl
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ecx
jne 0x4283f3
mov dword [ebp + 0x18], ecx
mov eax, dword [ebp + 0x18]
mov bl, byte [ebp + 0x1c]
cdq
add eax, edi
push ecx
mov edi, 0x200
push edi
adc edx, esi
push edx
push eax
call fcn.00463ab0
neg bl
sbb ebx, ebx
and ebx, eax
mov dword [ebp - 0xc], ebx
xor ebx, ebx
cmp esi, ebx
jl 0x428510
jle 0x428507
cmp dword [ebp + 0x18], ebx
jne 0x42843e
mov eax, dword [ebp - 0xc]
cdq
cmp dword [ebp + 0x14], edx
jl 0x42843e
jg 0x42843a
cmp dword [ebp + 0x10], eax
jbe 0x42843e
xor dl, dl
jmp 0x428440
mov dl, 1
cmp dword [ebp + 0x14], ebx
jl 0x428457
jg 0x428450
cmp dword [ebp + 0x10], 0x10000000
jbe 0x428457
mov esi, 0x10000000
jmp 0x42845a
mov esi, dword [ebp + 0x10]
test dl, dl
mov ecx, dword [ebp + 0xc]
mov eax, esi
je 0x4284cf
mov esi, edi
sub esi, dword [ebp + 0x18]
xor eax, eax
cmp eax, dword [ebp + 0x14]
jl 0x428479
jg 0x428476
cmp esi, dword [ebp + 0x10]
jbe 0x428479
mov esi, dword [ebp + 0x10]
push 1
push ebx
push ebx
push dword [ebp + 8]
call fcn.0042572e
add esp, 0x10
push ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 4]
push eax
push edi
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x18], edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp + 0x18]
push esi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
add ebx, eax
push ebx
call fcn.00461a50
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp + 8]
call fcn.0042572e
mov ecx, dword [ebp - 0x14]
add esp, 0x1c
mov eax, edi
xor ebx, ebx
jmp 0x4284dd
cmp byte [ebp + 0x1c], 0
je 0x4284dd
and esi, 0xfffffe00
mov eax, esi
push ebx
lea edx, [ebp - 4]
push edx
push eax
push ecx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub dword [ebp + 0x10], esi
mov dword [ebp + 0x18], ebx
sbb dword [ebp + 0x14], ebx
add dword [ebp + 0xc], esi
cmp dword [ebp + 0x14], ebx
jg 0x428425
jl 0x428510
cmp dword [ebp + 0x10], ebx
ja 0x428425
lea ecx, [ebp - 8]
call fcn.00424686
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x428523
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x14]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
mov dword [ebp + 0x14], 0x80
jbe 0x4285b2
push ebx
mov ebx, 0x200
push dword [ebp + 0x18]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42857c
mov eax, dword [ebp - 4]
test eax, eax
jne 0x428572
cmp dword [ebp + 0x14], eax
jg 0x42856f
mov eax, edi
jmp 0x428572
dec dword [ebp + 0x14]
add dword [esi], eax
add dword [ebp + 0xc], eax
sub dword [ebp + 0x10], eax
jmp 0x4285ab
and dword [ebp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x70
jne 0x4285b1
cmp edi, ebx
jbe 0x4285b1
cmp dword [ebp + 0x10], ebx
jbe 0x4285a8
add edi, 0x1ff
shr edi, 1
cmp edi, ebx
jbe 0x4285ab
and edi, 0xfffffe00
jmp 0x4285ab
mov edi, dword [ebp + 0x10]
cmp dword [ebp + 0x10], 0
ja 0x428543
pop ebx
xor eax, eax
cmp eax, dword [esi]
pop edi
sbb eax, eax
neg eax
pop esi
leave
ret

Function at 0x4287a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
and dword [0x48b150], 0
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test byte [ebp - 0xef], 0x80
je 0x4287d5
or dword [0x48b150], 2
test byte [ebp - 0xf0], 0x80
je 0x4287e5
or dword [0x48b150], 4
test byte [ebp - 0xee], 0x80
je 0x4287f5
or dword [0x48b150], 1
test byte [ebp - 0xa5], 0x80
je 0x428805
or dword [0x48b150], 8
test byte [ebp - 0xa4], 0x80
je 0x428815
or dword [0x48b150], 8
leave
ret

Function at 0x428baa
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, 0x104
push edi
mov ecx, esi
call fcn.00424699
mov eax, dword [esi]
and word [eax], 0
mov eax, dword [esi]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push eax
push dword [esp + 0x18]
call edi
mov ebx, eax
test ebx, ebx
jle 0x428bf7
mov eax, dword [esi]
cmp word [eax], 0
jne 0x428bf7
lea eax, [ebx + 2]
push eax
mov ecx, esi
call fcn.00424699
inc ebx
push ebx
push dword [esi]
push dword [esp + 0x18]
call edi
pop edi
pop esi
pop ebx
ret
Function at 0x428bfb
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
cmp dword [ebp + 0xc], 2
push ebx
push esi
push edi
jb 0x428d74
cmp dword [ebp + 0xc], 3
jbe 0x428c2a
cmp dword [ebp + 0xc], 5
jne 0x428d74
mov dword [ebp - 8], 0x479204
jmp 0x428c31
mov dword [ebp - 8], 0x479214
push 0x12
xor esi, esi
push esi
push esi
push dword [ebp - 8]
call dword [0x48ad94]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
je 0x428d74
push 0x1c
pop ecx
xor eax, eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], esi
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
lea eax, [ebp - 0x30]
push eax
push esi
push dword [ebp - 8]
mov dword [ebp - 0xc], esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 0x58], ecx
call edi
test eax, eax
je 0x428d6b
mov ebx, dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailW]
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
push esi
push dword [ebp + 0xc]
call edi
push esi
lea eax, [ebp - 4]
push eax
push esi
push esi
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
call ebx
cmp dword [ebp - 4], esi
je 0x428d50
cmp dword [ebp - 4], 0x400
ja 0x428d50
push 0x1c
lea eax, [ebp - 0x74]
push esi
push eax
mov dword [ebp - 0x474], 6
call fcn.00461780
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x74], 0x1c
call ebx
test eax, eax
je 0x428d50
push esi
push esi
push 3
push esi
push 3
push esi
lea eax, [ebp - 0x470]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x428d50
push esi
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x3c]
push ecx
push esi
push esi
push 0x2d1080
push eax
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x428d47
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x38]
je 0x428d7b
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0xc]
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
push esi
push dword [ebp + 0xc]
call edi
test eax, eax
jne 0x428c8a
push dword [ebp + 0xc]
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, dword [ebp - 0x60]
jmp 0x428d76
Function at 0x429279
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
adc ecx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x14]
push edi
push 0
push eax
push ecx
push esi
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
test edi, edi
je 0x4292c6
push 0
push dword [ebp + 0x18]
and esi, 4
push dword [ebp + 0x1c]
or esi, 8
shr esi, 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
ret
Function at 0x4297be
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
push 0xf0000000
push 1
xor edi, edi
push edi
push edi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x4297e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4298d5
push esi
lea eax, [ebp - 8]
push eax
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x429819
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
jmp 0x4298d4
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x429840
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x429808
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push ebx
push 4
pop eax
push edi
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 8]
mov dword [ebp - 4], eax
call esi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00424576
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push ebx
push 2
push dword [ebp - 8]
call esi
mov esi, dword [ebp + 0x14]
push 0x4761ce
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x10], esi
xor esi, esi
cmp dword [ebp - 4], edi
jbe 0x4298b6
movzx eax, byte [esi + ebx]
push eax
push str._02X
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_wsprintfA]
add dword [ebp - 0x10], 2
add esp, 0xc
inc esi
cmp esi, dword [ebp - 4]
jb 0x429896
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea ecx, [ebp - 0x18]
call fcn.00424686
xor eax, eax
pop ebx
pop esi
pop edi
leave
ret

Function at 0x429911
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x48b174], 0
jne 0x42991f
call fcn.004298d8
mov ecx, dword [esp + 8]
push esi
or esi, 0xffffffff
test ecx, ecx
je 0x42994e
mov eax, dword [esp + 8]
push edi
movzx edi, byte [eax]
mov edx, esi
and edx, 0xff
xor edx, edi
mov edi, dword [0x48b174]
shr esi, 8
xor esi, dword [edi + edx*4]
inc eax
dec ecx
jne 0x429930
pop edi
cmp dword [esp + 0x10], 0
not esi
je 0x42996a
push esi
push str._08X
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, esi
pop esi
ret

Function at 0x429b35
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, dword [esp + 0x10]
mov edi, eax
lea eax, [edi + 2]
push eax
mov ecx, ebx
call fcn.00424699
mov eax, dword [ebx]
and word [eax], 0
inc edi
push edi
push dword [ebx]
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_GetWindowTextW]
pop edi
pop esi
pop ebx
ret 4
Function at 0x42c6e0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov edx, dword [ebp + 0xc]
push esi
xor esi, esi
cmp edx, esi
push edi
mov dword [ebp - 4], esi
jne 0x42c734
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
push esi
push 3
push esi
push 3
push 0x80000000
push dword [ebp + 8]
call edi
cmp eax, 0xffffffff
jne 0x42c712
xor eax, eax
cmp eax, esi
mov dword [ebp - 4], eax
mov edx, eax
jne 0x42c734
push esi
push esi
push 3
push esi
push 3
push esi
push dword [ebp + 8]
call edi
cmp eax, 0xffffffff
jne 0x42c72f
xor eax, eax
mov dword [ebp - 4], eax
mov edx, eax
cmp edx, 0xffffffff
je 0x42c77e
cmp edx, esi
je 0x42c77e
push 9
pop ecx
xor eax, eax
push 0x28
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
lea edi, [ebp - 8]
stosd dword es:[edi], eax
mov dword [ebp - 0x38], esi
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
pop eax
push esi
lea ecx, [ebp + 0xc]
push ecx
push eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x2d1400
push edx
mov dword [ebp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov esi, dword [ebp - 0x1c]
jmp 0x42c781
or esi, 0xffffffff
lea ecx, [ebp - 4]
call fcn.00402905
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x42d03a
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
je 0x42d04d
or dword [ebp + 0x14], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0042460b
cmp dword [ebp + 8], ebx
je 0x42d06b
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [eax]
lea ecx, [ebp - 0x1c]
call fcn.00409aca
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push edi
mov byte [eax], bl
lea eax, [ebp - 8]
push eax
push 0xf003f
push ebx
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push 0x80000002
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, dword [ebp - 0x20]
mov esi, eax
shl edi, 2
lea eax, [edi + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00424576
cmp esi, ebx
mov dword [ebp - 0x10], ebx
jne 0x42d17d
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
jle 0x42d17d
mov esi, dword [ebp - 0x18]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x24]
push eax
push esi
push dword [ebp - 0xc]
mov dword [ebp - 0x24], edi
mov byte [esi], bl
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp byte [esi], 0x7b
jne 0x42d140
mov eax, dword [ebp + 0x14]
cmp eax, ebx
jl 0x42d109
cmp dword [ebp - 0x10], eax
jge 0x42d14d
inc dword [ebp - 0x10]
cmp dword [ebp + 8], ebx
je 0x42d140
lea ecx, [ebp - 4]
call fcn.0042460b
push str.Name
push esi
lea esi, [ebp - 4]
call fcn.0042cf95
pop ecx
pop ecx
push dword [ebp - 0x1c]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x42d15c
mov ecx, esi
call fcn.00424686
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jl 0x42d0db
jmp 0x42d17d
jne 0x42d17d
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
push esi
call fcn.0042a108
jmp 0x42d17d
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
call fcn.0042a1e5
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
push dword [ebp - 0x18]
call fcn.0042a108
lea ecx, [ebp - 4]
call fcn.00424686
cmp dword [ebp - 8], ebx
pop edi
je 0x42d18c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp byte [eax], bl
je 0x42d1ac
mov esi, dword [ebp + 0x10]
mov ecx, dword [esi]
cmp word [ecx], bx
jne 0x42d1ac
push str.Name
push eax
call fcn.0042cf95
pop ecx
pop ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
lea ecx, [ebp - 0x18]
call fcn.00424686
lea ecx, [ebp - 0x1c]
call fcn.00424686
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42e64e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 7
push 0x80000000
push dword [ebp + 8]
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
call fcn.00403993
cmp dword [ebp - 8], ebx
je 0x42e693
push dword [ebp - 8]
call fcn.00429d9b
mov edi, edx
cmp edi, ebx
pop ecx
mov esi, eax
jg 0x42e697
jl 0x42e693
cmp esi, ebx
jae 0x42e697
xor esi, esi
xor edi, edi
lea ecx, [ebp - 4]
call fcn.00424559
cmp edi, ebx
jl 0x42e6e1
jg 0x42e6a9
cmp esi, ebx
jbe 0x42e6e1
lea eax, [esi + 5]
push eax
lea ecx, [ebp - 4]
call fcn.0042459d
push ebx
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0xc], ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0xc]
xor eax, eax
cmp eax, edi
jl 0x42e6db
jg 0x42e6d9
cmp ecx, esi
jbe 0x42e6db
mov ecx, esi
mov eax, dword [ebp - 4]
mov byte [ecx + eax], bl
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp - 4]
call fcn.00409aca
lea ecx, [ebp - 4]
call fcn.00424686
lea ecx, [ebp - 8]
call fcn.00402905
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42eb88
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 7
push 0x80000000
push dword [ebp + 8]
lea ecx, [ebp - 4]
mov byte [ebp - 0x28], bl
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.00403993
cmp dword [ebp - 4], ebx
je 0x42ebdc
push ebx
lea eax, [ebp - 8]
push eax
push 0x20
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call fcn.00426ea7
add esp, 0xc
mov bl, al
lea ecx, [ebp - 4]
call fcn.00402905
mov al, bl
pop ebx
leave
ret
Function at 0x42efef
Capabilities:
Get disk information
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d0
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov dword [ebp - 0xc], ebx
jne 0x42f018
push 0x100000
lea ecx, [ebp - 0xc]
call fcn.0042459d
mov eax, dword [ebp - 0xc]
mov dword [ebp + 0xc], eax
push 5
pop ecx
xor eax, eax
mov esi, 0x47aadc
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
push 0x1b
lea eax, [edi + 4]
pop ecx
or word [eax - 4], 0xffff
or word [eax - 2], 0xffff
mov word [eax], bx
add eax, 6
dec ecx
jne 0x42f038
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], 0x41
add edi, 2
mov dword [ebp - 0x14], 0x1a
mov ax, word [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov word [ebp - 0x38], ax
xor eax, eax
inc eax
shl eax, cl
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ebx
test ecx, eax
je 0x42f13e
mov ax, word [ebp - 8]
mov word [edi + 2], ax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x42f0a6
cmp eax, 2
jne 0x42f13e
push ebx
push 0x20000000
push 3
push ebx
push 3
push 0x80000000
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 4]
call fcn.00403993
cmp dword [ebp - 4], ebx
je 0x42f13e
mov esi, dword [ebp + 0xc]
push 0x20
push ebx
push esi
mov dword [ebp - 0x1d0], ebx
call fcn.00461780
or dword [esi + 0x14], 0xffffffff
add esp, 0xc
push ebx
lea eax, [ebp - 0x1d0]
push eax
push 0x20
push esi
push ebx
push ebx
push 0x74004
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x42f107
mov ax, word [esi + 0x14]
mov word [edi - 2], ax
push ebx
mov dword [ebp - 0x1d0], ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
or dword [esi + 4], 0xffffffff
push ebx
lea eax, [ebp - 0x1d0]
push eax
push 0xc
push esi
push ebx
push ebx
push 0x2d1080
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x42f13e
mov ax, word [esi + 4]
mov word [edi], ax
lea ecx, [ebp - 4]
call fcn.00402905
inc dword [ebp - 8]
inc dword [ebp - 0x10]
add edi, 6
dec dword [ebp - 0x14]
jne 0x42f068
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0xc]
call fcn.00424686
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43037d
Capabilities:
Encode data using base64
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.004617f0
pop ecx
mov edi, eax
lea ecx, [ebp - 4]
mov ebx, edi
call fcn.00424559
cmp byte [ebp + 0x10], 0
jne 0x4303f2
cmp edi, 0x14
jge 0x4303a8
push 0x14
pop ebx
lea eax, [ebx + 2]
push eax
lea ecx, [ebp - 4]
call fcn.0042459d
mov esi, dword [ebp - 4]
lea eax, [ebx + 2]
push eax
push 0
push esi
call fcn.00461780
inc edi
push edi
push dword [ebp + 8]
push esi
call fcn.00461a50
add esp, 0x18
xor ecx, ecx
test ebx, ebx
jle 0x4303f0
mov eax, ecx
cdq
push 0x14
pop edi
idiv edi
mov edi, dword [ebp - 4]
mov al, byte [edx + 0x479884]
xor byte [ecx + edi], al
inc ecx
cmp ecx, ebx
jl 0x4303d7
mov edi, ebx
lea eax, [edi + edi*2 + 0xd]
mov edi, dword [ebp + 0xc]
push eax
mov ecx, edi
call fcn.00424699
mov eax, dword [edi]
xor ecx, ecx
mov word [eax], cx
inc eax
inc eax
mov word [eax], cx
cmp byte [esi], cl
jne 0x430418
mov esi, eax
jmp 0x4304e8
mov word [eax], 0x23
inc eax
inc eax
lea edi, [ebx + esi]
mov word [eax], cx
movzx ebx, byte [esi]
inc esi
mov byte [ebp + 0xb], 8
mov cl, byte [ebp + 0xb]
cmp cl, 6
jge 0x43043d
test cl, cl
jle 0x43049f
cmp esi, edi
jne 0x4304a1
mov dl, bl
and dl, 0x3f
cmp byte [ebp + 0x10], 0
je 0x430453
movzx ecx, dl
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x430484
test dl, dl
jne 0x43045c
add dl, 0x2b
jmp 0x430482
cmp dl, 1
jne 0x430466
add dl, 0x2e
jmp 0x430482
cmp dl, 0xc
jae 0x430470
add dl, 0x2e
jmp 0x430482
cmp dl, 0x26
jae 0x43047a
add dl, 0x35
jmp 0x430482
cmp dl, 0x40
jae 0x430482
add dl, 0x3b
mov cl, dl
movzx cx, cl
mov word [eax], cx
inc eax
inc eax
shr ebx, 6
add byte [ebp + 0xb], 0xfa
jns 0x43042d
mov word [eax], 0x3d
inc eax
inc eax
jmp 0x43042d
cmp esi, edi
jae 0x4304d5
movzx edx, byte [esi]
add byte [ebp + 0xb], 8
shl edx, cl
or ebx, edx
inc esi
cmp esi, edi
jae 0x4304d5
movzx edx, byte [esi]
mov cl, byte [ebp + 0xb]
add byte [ebp + 0xb], 8
shl edx, cl
or ebx, edx
inc esi
cmp esi, edi
jae 0x4304d5
movzx edx, byte [esi]
mov cl, byte [ebp + 0xb]
shl edx, cl
or ebx, edx
inc esi
add byte [ebp + 0xb], 8
cmp byte [ebp + 0xb], 0
jg 0x43042d
and word [eax], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
lea ecx, [ebp - 4]
call fcn.00424686
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x430536
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push edi
mov edi, dword [esp + 8]
mov eax, dword [edi]
and word [eax], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43057a
push esi
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x430572
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.0042a1b7
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop esi
pop edi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
ret