joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10060a00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x100cfe08]
xor edx, edx
cmp eax, edx
jne 0x10060a26
xor eax, eax
mov byte [eax + 0x100cfd08], al
inc eax
cmp eax, 0x100
jl 0x10060a0e
mov dword [0x100cfe08], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x100cfd08
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x10060ab7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x10060a8a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x10060a58
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x10060b30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x10060b83
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x10060b6a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10067540
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009426e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.10067e60
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x1009cc3c
call fcn.100860eb
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x100675d3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100860eb
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x100675cc
push 0
mov ecx, eax
call fcn.1005e640
mov dword [esi + 0xc], eax
jmp 0x100675d5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x100675d5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x10088737
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1008876f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.10086805
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100867dd
jmp 0x1008877b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x10089e29
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x10089e6b
call fcn.1008f7bc
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x10089e6b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x10089e62
xor eax, eax
jmp 0x10089e73
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.10089e79
pop edi
pop esi
pop ebx
ret 4
Function at 0x43c15a
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [pe_dos_header]
mov eax, dword ds:[eax + 0x34]
mov ebp, dword ds:[eax + 0xb8]
jmp 0x43c168
push eax
push ecx
push esi
push ebp
mov eax, dword fs:[0x30]
test eax, eax
js 0x43c14a
mov eax, dword ds:[eax + 0xc]
mov esi, dword ds:[eax + 0x1c]
lodsd eax, dword [esi]
mov ebp, dword ds:[eax + 8]
mov dword [ebx + 0x60], ebp
mov eax, ebp
cmp word [eax], 0x5a4d
jne 0x43c145
add eax, 0x3c
mov ecx, dword [eax]
add ecx, dword [ebx + 0x60]
cmp word [ecx], 0x4550
jne 0x43c145
add ecx, 0x78
mov esi, dword [ecx]
add esi, dword [ebx + 0x60]
add esi, 0x18
lodsd eax, dword [esi]
mov dword [ebx + 0x64], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x68], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x6c], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x70], eax
pop ebp
pop esi
pop ecx
pop eax
ret

Function at 0x43c1d2
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x24]
add edx, ecx
pop ebx
pop ebx
pop ebx
pop ecx
pop eax
pop edi
pop esi
jmp edx
mov ecx, dword [ebx + 0x28]
cmp ecx, 1
je 0x43c1c1
mov ecx, ebx
sub ecx, dword [ebx + 4]
xor cx, cx
mov dword [ebx + 0x24], ecx
add ecx, dword [ebx + 8]
mov esi, ecx
mov ecx, dword [ebx + 0xc]
xor edx, edx
mov eax, dword [ebx + 0x10]
rol eax, 1
ror eax, 1
push eax
xor eax, eax
pop eax
xor dword [esi + edx], eax
add edx, 6
sub edx, 2
cmp edx, ecx
jl 0x43c1f5
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebx + 0x24]
add ecx, dword [ebx + 0x1c]
mov esi, ecx
mov ecx, dword [ebx + 0x20]
xor edx, edx
mov eax, dword [ebx + 0x10]
rol eax, 1
ror eax, 1
push eax
xor eax, eax
pop eax
xor dword [esi + edx], eax
add edx, 6
sub edx, 2
cmp edx, ecx
jl 0x43c285
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [ebx + 0x28], 1
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x24]
add edx, ecx
pop ebx
pop ebx
pop ebx
pop ecx
pop eax
pop edi
pop esi
mov dword [esp + 0x34], edx
jmp edx
Function at 0x419410
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0xc0
lea eax, [esp]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 0x1c]
mov edi, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x12]
mov esi, dword [esp + 0xcc]
lea ecx, [esp + 0x18]
and edx, 0xffff
and eax, 0xffff
push ecx
push edi
mov dword [esi], edx
mov dword [esi + 4], eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x419477
mov edx, dword [0x4d089c]
push 0x4d05a0
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xe]
mov edx, dword [esp + 0xa]
and eax, 0xffff
and ecx, 0xffff
and edx, 0xffff
mov dword [esi + 8], eax
mov eax, dword [esp + 8]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0xc4]
and eax, 0xffff
lea edi, [ecx + edx]
mov dword [esi + 0x14], eax
mov eax, edi
cdq
mov ecx, eax
mov eax, 0x88888889
xor ecx, edx
sub ecx, edx
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0x18], edx
lea eax, [edx + edx*2]
lea edx, [eax + eax*4]
xor eax, eax
shl edx, 2
sub ecx, edx
test edi, edi
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi + 0x20]
setl al
shl eax, 1
and ecx, 0xfffffffd
pop edi
or eax, ecx
or al, 1
mov dword [esi + 0x20], eax
mov eax, esi
pop esi
add esp, 0xc0
ret
Function at 0x43ea42
Capabilities:
Encode data using xor

Disassembly:
into
mov bh, 0x85
leave
and dword [edi - 0x6f9381d9], esp
daa
jle 0x43ea1b
nop
cmc
adc ebp, dword [edx]
insb byte es:[edi], dx
sub esp, dword [ebp - 0x53adf94f]
xor byte [ebx], bl
pop edi
fmul qword [edx - 0x50]
rol ah, 1
ret 0x44cb
jns 0x43e9a6
and ebx, dword [ebp + 0x2f]
pop ecx
dec ebp
rcr dword [edx + 0x1d], 1
sbb eax, 0x42a32228
test dword [ebx + 0x3bc99a81], 0xaae04207
leave
cmp eax, dword [edi]
inc edx
loopne 0x43e9ac
or dword [eax + esi + 0x71], edx
cmp byte [0x42660da7], bl
inc ecx
ror dword [ebx - 0x7f], 0xda
mov dword [ebx], esp
in al, dx
push 0xffffffffffffffc5
inc ecx
loop 0x43e9fc
dec ecx
fisub dword [edx]
mov ebp, 0x6e6ab54c
xchg esp, eax
dec esp
imul edx, edi, 0x2faa06de
mov esp, 0x20b65f41
and al, 0xf4
jb 0x43eaa9
mov al, byte [0x76792812]
fst qword [ebx]
pop esp
dec edx
not byte [ecx]
lahf
ret 0x8396
jge 0x43ea85
mov edx, 0x1494805a
pop esp
mov esi, 0xe3871758
js 0x43eac4
salc
jecxz 0x43e9e9
nop
cmp ebp, esi
inc edx
xor dword [eax], esp
insb byte es:[edi], dx
jb 0x43ea15
fiadd dword ss:[ecx + 0x1e7e1475]
or eax, 0x6f15be12
sbb byte [esi + 0x5a], bl
dec ebp
dec edi
daa
inc esp
adc byte [esi], 0x94
sbb ebx, esp
add bh, dh
sub al, 0xca
dec dx
and cl, byte [ebx + ecx*2 - 0x17197b01]
mov byte [esi - 0x6fc0c7c3], cl
cmp byte [edi], bh
nop
pop esi
fdivr qword [ebp - 0x41]
out dx, al
cmp dword [esi], edx
mov edi, 0xe17b62ff
mov cl, 0x65
cmpsb byte [esi], byte es:[edi]
mov ah, 0x78
salc
sub eax, 0x48fdef3d
popfd
xor al, 0xc0
test al, 0xb5
add dword [ecx + 0x57], ebx
inc ebx
loopne 0x43ea64
mov edx, 0xeae645a3
sbb ebx, dword [edi]
mov dword [0x1beae645], eax
pop ds
invalid
push ecx
sti
push eax
inc eax
cdq
int 0xb0
cdq
dec esp
retf

Function at 0x447cdf
Capabilities:
Encode data using xor

Disassembly:
cmp eax, 0x3357093a
mov edx, 0x162a3969
das
and dl, byte [eax]
aad 0x60
pop eax
or al, 0xc8
cmc
add eax, 0xd5caa80e
daa
mov eax, dword [0x88bcd399]
push 0x3c
out 0xc6, eax
xor ebp, eax
xor dword [esi - 0x4991ba32], edx
cli
sub al, 0x96
invalid

Function at 0x46f6c2
Capabilities:
Encode data using xor

Disassembly:
mov dword [0xa8ce0289], eax
stc
xchg ecx, eax
push esp
invalid
imul edi, dword [ebx], 0xaa961b92
loope 0x46f67d
invalid
Function at 0x4c6232
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4cd440
cmp edx, dword [eax]
je 0x4c6254
add eax, 8
inc ecx
cmp eax, 0x4cd4d0
jl 0x4c6245
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4cd440]
jne 0x4c6382
mov eax, dword [0x4d1b2c]
cmp eax, 1
je 0x4c635c
test eax, eax
jne 0x4c6285
cmp dword [0x4cd384], 1
je 0x4c635c
cmp edx, 0xfc
je 0x4c6382
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c62bc
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c6950
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c6b80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c62ff
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c6b80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4ca940
push edi
call fcn.004c8350
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c6950
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c6960
lea eax, [ebp - 0xa0]
push 0x4ca920
push eax
call fcn.004c6960
push dword [esi + 0x4cd444]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c6960
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c82c4
add esp, 0x2c
pop edi
jmp 0x4c6382
lea eax, [ebp + 8]
lea esi, [esi + 0x4cd444]
push 0
push eax
push dword [esi]
call fcn.004c6b80
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x405eb0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x44146b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x40418c
call fcn.00406b11
push 4
mov dword [esp + 0x18], 0
call fcn.00407b04
mov edi, eax
add esp, 4
test edi, edi
je 0x405f24
push ebx
call fcn.004069e9
mov dword [edi], eax
call fcn.004067a8
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406ad2
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x405f18
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406afa
pop ebx
jmp 0x405f26
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x404871
Capabilities:
Shutdown system

Disassembly:
call fcn.00428890
push 2
mov eax, str.SeShutdownPrivilege
push eax
call fcn.0040826d
movsx eax, byte [esp + 4]
push eax
push 0
push 1
mov eax, str.Exit
push eax
push 0
call sub.ADVAPI32.dll_InitiateSystemShutdownW
xor eax, eax
ret 4
Function at 0x4052a7
Capabilities:
Get disk information

Disassembly:
push ebx
push edi
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00428890
push dword [esp + 0x20]
call fcn.00415390
mov dword [esp], 0
mov dword [esp + 4], 1
mov edx, 0x42c02e
lea ecx, [esp + 8]
call fcn.00415068
mov edx, 0x42c02e
lea ecx, [esp + 0xc]
call fcn.00415068
call sub.KERNEL32.dll_GetLogicalDrives
mov dword [esp + 0x10], eax
mov dword [esp], 0
jmp 0x4052fb
mov eax, 0x19
cmp eax, dword [esp]
jl 0x405357
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 4]
mov ecx, dword [esp]
shl edi, cl
and ebx, edi
and ebx, ebx
je 0x405352
mov edx, dword [esp + 8]
push edx
call fcn.004286b0
pop edx
push eax
push edx
call fcn.004287f0
push edx
call fcn.004286b0
pop edx
push eax
push edx
call fcn.004286b0
pop edx
push eax
mov ebx, dword [esp + 0xc]
add ebx, 0x41
push ebx
call fcn.00426d20
pop eax
lea eax, [esp + 0xc]
push eax
call fcn.004286f0
inc dword [esp]
jno 0x4052fb
mov eax, 0x42cd9e
push eax
call fcn.00426d40
mov dword [esp], eax
jmp 0x405367
mov eax, 0x42ce0e
push eax
call fcn.00426d40
cmp eax, dword [esp]
jl 0x405447
push edx
call fcn.004286b0
pop edx
push eax
push edx
call fcn.004286b0
pop edx
push eax
push edx
call fcn.004286b0
pop edx
push eax
push dword [esp + 0xc]
call fcn.00426d20
call fcn.00428950
push dword [esp + 0x10]
call fcn.00415372
add dword [esp + 4], edx
call fcn.00426b80
call fcn.00415390
and eax, eax
je 0x4053c0
xor eax, eax
jmp 0x4053c5
mov eax, 1
and eax, eax
je 0x40543e
push edx
call fcn.004286b0
pop edx
push eax
push edx
call fcn.004286b0
pop edx
push eax
push edx
call fcn.004286b0
pop edx
push eax
push dword [esp + 0xc]
call fcn.00426d20
mov edx, 0x42c1ce
push edx
call fcn.004287f0
call fcn.00415372
add dword [esp], edx
call sub.KERNEL32.dll_GetDriveTypeW
call fcn.00415390
mov ebx, eax
cmp ebx, 1
jne 0x40543e
push edx
call fcn.004286b0
pop edx
push eax
push edx
call fcn.004286b0
pop edx
push eax
push dword [esp + 8]
call fcn.00426d20
mov edx, 0x42c1ce
push edx
call fcn.004287f0
lea eax, [esp + 0x10]
push eax
call fcn.004286f0
jmp 0x405447
inc dword [esp]
jno 0x405367
mov edx, dword [esp + 0xc]
push edx
call fcn.004286b0
pop edx
push eax
push edx
call fcn.004287f0
pop eax
push eax
call fcn.00415360
pop edx
add eax, edx
jmp 0x40546f
push dword [esp + 0xc]
call fcn.00428920
push dword [esp + 8]
call fcn.00428920
add esp, 0x14
pop edi
pop ebx
ret
Function at 0x409c22
Capabilities:
Get disk information

Disassembly:
push ebp
push ebx
push edi
mov edx, 0xd
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x409c2a
call fcn.00428890
push edx
call fcn.004286b0
pop edx
push eax
push edx
call fcn.004286b0
pop edx
push eax
push 0x104
call fcn.00426490
lea eax, [esp + 0x10]
push eax
call fcn.004286f0
lea eax, [esp + 0x10]
mov edx, 0x42c02e
push edx
push 3
push eax
call fcn.004287c0
lea eax, [esp + 0x18]
mov edx, 0x42c02e
push edx
push 7
push eax
call fcn.004287c0
mov dword [esp + 0x28], 0
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0xc]
push eax
push 0x104
call sub.KERNEL32.dll_GetLogicalDriveStringsW
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
jmp 0x409cb4
mov ebx, dword [esp + 0x28]
mov eax, ebx
mov ecx, 4
cdq
idiv ecx
mov ebx, eax
dec ebx
cmp ebx, dword [esp + 0x2c]
jl 0x409db7
push 0
push 0xc
lea eax, [esp + 8]
push eax
call fcn.00427810
push edx
call fcn.004286b0
pop edx
push eax
push edx
call fcn.004286b0
pop edx
push eax
mov eax, dword [esp + 0x14]
mov ebx, eax
mov edi, dword [esp + 0x34]
shl edi, 2
add edi, edi
add ebx, edi
push ebx
call fcn.004277c0
lea eax, [esp + 0x14]
push 3
push eax
call fcn.00428780
push edx
call fcn.004286b0
pop edx
push eax
mov edx, str.._
push edx
call fcn.004287f0
lea edx, [esp + 0x14]
push 3
push edx
call fcn.00428980
lea eax, [esp + 0x1c]
push 7
push eax
call fcn.00428780
push edx
call fcn.004286b0
pop edx
push eax
lea eax, [esp + 4]
push eax
lea edx, [esp + 0x20]
push edx
call fcn.004286b0
pop edx
push eax
push 7
push edx
call fcn.00428980
call fcn.00415372
add dword [esp], edx
call fcn.00409fef
call fcn.00415390
and eax, eax
je 0x409dad
lea ebp, [esp]
mov ebx, dword [ebp + 4]
cmp ebx, dword [esp + 0x44]
jne 0x409da0
mov ebx, dword [ebp + 8]
cmp ebx, dword [esp + 0x48]
jne 0x409da0
mov eax, 1
jmp 0x409da2
xor eax, eax
and eax, eax
je 0x409dad
mov byte [esp + 0x30], 1
jmp 0x409db7
inc dword [esp + 0x2c]
jno 0x409cb4
movsx eax, byte [esp + 0x30]
movsx eax, al
jmp 0x409dc3
push dword [esp + 0xc]
call fcn.00428920
add esp, 0x34
pop edi
pop ebx
pop ebp
ret 8

Function at 0x409fef
Capabilities:
Get disk information via ioctl

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
call fcn.00428890
mov edx, dword [esp + 0x18]
lea ecx, [esp]
call fcn.00415060
mov byte [esp + 0xc], 0
push 0
push 3
push 0
push dword [esp + 0xc]
call fcn.004038fe
mov dword [esp + 8], eax
mov ebx, dword [esp + 8]
cmp ebx, 0xffffffff
je 0x40a069
push 0
lea eax, [esp + 8]
push eax
push 0xc
push dword [esp + 0x28]
push 0
push 0
push 0x2d1080
push dword [esp + 0x24]
call sub.KERNEL32.dll_DeviceIoControl
mov byte [esp + 0xc], al
push dword [esp + 8]
call sub.KERNEL32.dll_CloseHandle
movsx eax, byte [esp + 0xc]
movsx eax, al
jmp 0x40a075
push dword [esp]
call fcn.00428920
add esp, 0x10
pop ebx
ret 8
Function at 0x40ad92
Capabilities:
Capture screenshot
Open clipboard
Write clipboard data

Disassembly:
mov edx, 0x3b
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x40ad97
call fcn.00428890
lea eax, [esp + 4]
push eax
mov eax, 0x42c02e
push eax
mov eax, 0x42c02e
push eax
mov eax, str.DISPLAY
push eax
call sub.GDI32.dll_CreateDCW
mov dword [esp + 0xe0], eax
push dword [esp + 0xe0]
call sub.GDI32.dll_CreateCompatibleDC
mov dword [esp + 0xe4], eax
push dword [esp + 0xfc]
push dword [esp + 0xfc]
push dword [esp + 0xe8]
call sub.GDI32.dll_CreateCompatibleBitmap
mov dword [esp + 0xe8], eax
push dword [esp + 0xe8]
push dword [esp + 0xe8]
call sub.GDI32.dll_SelectObject
push 0xcc0020
push dword [esp + 0xf8]
push dword [esp + 0xf8]
push dword [esp + 0xec]
push dword [esp + 0x10c]
push dword [esp + 0x10c]
push 0
push 0
push dword [esp + 0x104]
call sub.GDI32.dll_BitBlt
push 0
call sub.USER32.dll_OpenClipboard
call sub.USER32.dll_EmptyClipboard
push dword [esp + 0xe8]
push 2
call sub.USER32.dll_SetClipboardData
call sub.USER32.dll_CloseClipboard
push dword [esp + 0xe4]
call sub.GDI32.dll_DeleteDC
push dword [esp + 0xe0]
push dword [esp + 0xec]
call sub.USER32.dll_ReleaseDC
xor eax, eax
add esp, 0xec
ret 0x14

Function at 0x40b40e
Capabilities:
Get disk information

Disassembly:
mov edx, 0x83
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x40b413
call fcn.00428890
push dword [esp + 0x214]
call fcn.00415390
mov edx, dword [esp + 0x210]
lea ecx, [esp]
call fcn.00415060
push edx
call fcn.004286b0
pop edx
push eax
push edx
call fcn.004286b0
pop edx
push eax
push 0x104
call fcn.00426490
lea eax, [esp + 8]
push 0x104
push eax
call fcn.00428780
push edx
call fcn.004286b0
pop edx
push eax
push edx
call fcn.004286b0
pop edx
push eax
mov eax, 0x42c1ce
push eax
mov eax, 0x42eb5a
push eax
push dword [esp + 0x10]
call fcn.004268e0
lea eax, [esp + 4]
push eax
call fcn.004286f0
push edx
call fcn.004286b0
pop edx
push eax
push edx
call fcn.004286b0
pop edx
push eax
mov eax, 0x42ce22
push eax
mov eax, 0x42f6e0
push eax
push dword [esp + 0x10]
call fcn.004268e0
lea eax, [esp + 4]
push eax
call fcn.004286f0
push edx
call fcn.004286b0
pop edx
push eax
push edx
call fcn.004286b0
pop edx
push eax
mov eax, 0x42c02e
push eax
mov eax, str.__
push eax
push dword [esp + 0x10]
call fcn.004268e0
lea eax, [esp + 4]
push eax
call fcn.004286f0
push edx
call fcn.004286b0
pop edx
push eax
push edx
call fcn.004286b0
pop edx
push eax
mov eax, 0x42c02e
push eax
mov eax, str.._
push eax
push dword [esp + 0x10]
call fcn.004268e0
lea eax, [esp + 4]
push eax
call fcn.004286f0
push 0x104
lea eax, [esp + 8]
push eax
push dword [esp + 8]
call sub.KERNEL32.dll_QueryDosDeviceW
push edx
call fcn.004286b0
pop edx
push eax
push edx
call fcn.004286b0
pop edx
push eax
lea edx, [esp + 0xc]
push edx
call fcn.004286b0
pop edx
push eax
push 0x104
push edx
call fcn.00428980
call fcn.00415372
add dword [esp], edx
call fcn.00426280
pop eax
push eax
call fcn.00415360
pop edx
add eax, edx
jmp 0x40b582
push dword [esp]
call fcn.00428920
add esp, 0x20c
ret 4