joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ad0e3b8
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x1c]
test eax, eax
mov dword [ebp - 4], 0x1a
je 0x4ad15e51
push esi
push edi
push eax
call fcn.4ad0e441
test eax, eax
mov edi, dword [ebp + 0x14]
mov esi, dword [fcn.4ad012c8]
jne 0x4ad15e58
mov eax, dword [ebp + 8]
test eax, eax
je 0x4ad0e42a
test byte [eax + 0x18], 0x80
jne 0x4ad0e42a
push edi
call fcn.4ad02c65
test eax, eax
jne 0x4ad0e42a
mov eax, dword [0x4ad33b3c]
cmp eax, 3
je 0x4ad0e42a
cmp dword [ebp + 0x18], 0
je 0x4ad0e42a
cmp eax, 2
je 0x4ad0e42a
push dword [ebp + 0x18]
push 0
push 0
push edi
call esi
pop ecx
push eax
call dword [fcn.4ad0106c]
push edi
call fcn.4ad02e00
inc dword [0x4ad33b60]
pop edi
pop esi
leave
ret 0x14
mov eax, ecx
jmp 0x4ad0e3d3
push edi
call fcn.4ad02c65
test eax, eax
jne 0x4ad0e3ec
push eax
lea eax, [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 4]
push eax
push edi
call esi
pop ecx
push eax
call dword [fcn.4ad010c8]
jmp 0x4ad0e3ec

Function at 0x4ad0e551
Capabilities:
Delete file
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
push edi
push esi
push dword [ebp + 0x10]
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
mov dword [0x4ad33b18], edi
push dword [ebp + 8]
call dword [fcn.4ad012c8]
pop ecx
push eax
call dword [0x4ad0115c]
test eax, eax
mov ebx, dword [fcn.4ad0112c]
je 0x4ad15f4a
mov edx, dword [esi]
cmp edx, edi
je 0x4ad15efd
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 0x18]
test ah, 0xc0
jne 0x4ad0e5bf
cmp edx, 2
jb 0x4ad0e5b7
mov edx, dword [ebp + 0xc]
cmp word [edx], 0xfeff
je 0x4ad15f1d
or eax, 0x8000
mov dword [ecx + 0x18], eax
mov ecx, dword [ecx + 0x18]
mov eax, 0x8002
xor ebx, ebx
and ecx, eax
inc ebx
cmp ecx, eax
je 0x4ad15f27
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0x1c
call ebx
cmp eax, 0x3e3
je 0x4ad15f4a
mov edx, dword [esi]
cmp edx, edi
jne 0x4ad0e599
mov dword [0x4ad2ba04], edi
xor eax, eax
jmp 0x4ad0e5d6
or eax, 0x4000
jmp 0x4ad0e5bc
mov edi, dword [esi]
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 0xc]
push ebx
call fcn.4ad11313
cmp edi, dword [esi]
je 0x4ad0e5d4
mov dword [0x4ad33b18], ebx
jmp 0x4ad0e5d4
call ebx
push dword [ebp + 8]
mov dword [0x4ad2ba04], eax
call fcn.4ad02e00
push dword [ebp + 0x1c]
call fcn.4ad02c65
test eax, eax
push dword [ebp + 0x1c]
jne 0x4ad15f78
call fcn.4ad02e00
push dword [ebp + 0x20]
call dword [fcn.4ad01068]
jmp 0x4ad15f7d
call fcn.4ad02e00
push 1
push dword [0x4ad2ba04]
call fcn.4ad0c2b1
Function at 0x4ad19615
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push esi
mov esi, dword [0x4ad2fac4]
jmp 0x4ad1962c
push esi
call fcn.4ad06b8e
mov esi, dword [esi + 0xf4]
test esi, esi
jne 0x4ad19620
call fcn.4ad10e03
and dword [0x4ad2fac0], esi
push 1
push 0x4ad34700
call dword [fcn.4ad012ac]
nop
nop
nop
nop
nop

Function at 0x4ad19f37
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
call dword [fcn.4ad01118]
mov ebx, eax
xor edi, edi
cmp ebx, edi
jne 0x4ad19f73
mov eax, dword [0x4ad0126c]
push 0x4ad19280
add eax, 0x40
push str._nCMD_Internal_Error__s_n
push eax
call dword [fcn.4ad01270]
xor eax, eax
add esp, 0xc
inc eax
jmp 0x4ad1a02c
push esi
push edi
push dword [ebp + 8]
call fcn.4ad02b6b
mov esi, eax
push 0x20
push esi
mov dword [ebp + 8], esi
call fcn.4ad01a53
cmp eax, edi
je 0x4ad19f91
mov word [eax], di
cmp esi, edi
je 0x4ad19fa2
push esi
call dword [fcn.4ad012dc]
pop ecx
mov dword [ebp - 0xc], eax
jmp 0x4ad19fa5
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], 1
cmp ebx, edi
je 0x4ad19fbd
push ebx
call dword [fcn.4ad012dc]
pop ecx
mov dword [ebp - 4], eax
jmp 0x4ad19fc0
mov dword [ebp - 4], edi
cmp dword [ebp - 4], edi
jbe 0x4ad1a011
cmp dword [0x4ad2b9e8], edi
jne 0x4ad1a00c
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 4], eax
jb 0x4ad1a003
push dword [ebp + 8]
lea esi, [ebx + eax*2]
mov di, word [esi]
and word [esi], 0
push ebx
call dword [0x4ad01148]
test eax, eax
mov word [esi], di
jne 0x4ad1a001
push ebx
push str._s_r_n
call fcn.4ad05e00
and dword [ebp - 8], 0
pop ecx
pop ecx
xor edi, edi
mov eax, dword [ebp - 4]
lea ebx, [ebx + eax*2 + 2]
jmp 0x4ad19fac
xor eax, eax
inc eax
jmp 0x4ad1a02b
cmp dword [ebp - 8], edi
je 0x4ad1a028
push dword [ebp + 8]
push 1
push 0x23a9
call fcn.4ad05fb5
add esp, 0xc
mov eax, dword [ebp - 8]
pop esi
pop edi
pop ebx
leave
ret 4

Function at 0x4ad1a037
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [fcn.4ad01118]
mov esi, eax
test esi, esi
jne 0x4ad1a067
mov eax, dword [0x4ad0126c]
push 0x4ad19280
add eax, 0x40
push str._nCMD_Internal_Error__s_n
push eax
call dword [fcn.4ad01270]
add esp, 0xc
xor eax, eax
inc eax
pop esi
ret
push edi
test esi, esi
je 0x4ad1a078
push esi
call dword [fcn.4ad012dc]
pop ecx
mov edi, eax
jmp 0x4ad1a07a
xor edi, edi
test edi, edi
jbe 0x4ad1a0a5
cmp dword [0x4ad2b9e8], 0
jne 0x4ad1a0a0
cmp word [esi], 0x3d
je 0x4ad1a09a
push esi
push str._s_r_n
call fcn.4ad05e00
pop ecx
pop ecx
lea esi, [esi + edi*2 + 2]
jmp 0x4ad1a068
xor eax, eax
inc eax
jmp 0x4ad1a0a7
xor eax, eax
pop edi
pop esi
ret
Function at 0x4ad1b143
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x4ad33b78]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
test eax, eax
push esi
push edi
jne 0x4ad1b1fe
xor edi, edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov esi, eax
test esi, esi
jne 0x4ad1b1ed
cmp word [ebp - 0x20c], 0x2e
jne 0x4ad1b1da
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
mov dword [ebp - 0x418], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov esi, eax
test esi, esi
jne 0x4ad1b264
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
push str._s_s_r_n
call fcn.4ad05e00
add esp, 0xc
mov esi, eax
cmp dword [0x4ad2b9e8], 0
jne 0x4ad1b1f9
inc edi
test esi, esi
jne 0x4ad1b264
jmp 0x4ad1b169
cmp esi, 0x103
jne 0x4ad1b264
xor esi, esi
jmp 0x4ad1b264
xor eax, eax
inc eax
jmp 0x4ad1b266
push 0
push eax
call fcn.4ad02b6b
mov edi, eax
push 0x20
push edi
call fcn.4ad01a53
test eax, eax
je 0x4ad1b218
and word [eax], 0
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
push edi
push ebx
mov dword [ebp - 0x418], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov esi, eax
test esi, esi
jne 0x4ad1b254
lea eax, [ebp - 0x414]
push eax
push edi
push str._s_s_r_n
call fcn.4ad05e00
mov esi, eax
jmp 0x4ad1b261
push edi
push 1
push 0x23a3
call fcn.4ad05fb5
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.4ad01305
leave
ret 8

Function at 0x4ad1b27a
Capabilities:
Delete registry key
Set registry value

Disassembly:
push 0xc
push 0x4ad1b338
call fcn.4ad0161a
mov esi, dword [ebp + 0x10]
xor edi, edi
cmp esi, edi
je 0x4ad1b306
cmp word [esi], di
je 0x4ad1b306
push esi
call dword [fcn.4ad012dc]
pop ecx
push eax
push esi
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov dword [ebp - 0x1c], eax
cmp eax, edi
jne 0x4ad1b2fa
mov dword [ebp - 4], edi
push edi
push edi
push edi
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push esi
push dword [ebp + 0xc]
push str._s_s_r_n
call fcn.4ad05e00
add esp, 0xc
or dword [ebp - 4], 0xffffffff
jmp 0x4ad1b32b
push dword [ebp + 0xc]
push 1
push 0x235d
jmp 0x4ad1b323
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x4ad1b32b
push dword [ebp + 0xc]
push 1
push 0x23a3
call fcn.4ad05fb5
add esp, 0xc
mov eax, dword [ebp - 0x1c]
call fcn.4ad01442
ret 0xc
Function at 0x4ad1b349
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4ad33b78]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor esi, esi
cmp edi, esi
mov dword [ebp - 0x420], eax
jne 0x4ad1b4a0
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, 0x104
push ebx
lea ecx, [ebp - 0x20c]
push ecx
push esi
mov dword [ebp - 0x424], esi
push eax
jmp 0x4ad1b483
cmp word [ebp - 0x20c], 0x2e
je 0x4ad1b460
lea eax, [ebp - 0x20c]
push eax
call dword [fcn.4ad012dc]
mov esi, eax
lea eax, [ebp - 0x20c]
mov dword [esp], 0x4ad1b5b8
push eax
call dword [fcn.4ad01284]
lea eax, [ebp - 0x414]
push 0x4ad1b578
push eax
call dword [fcn.4ad012d8]
add esp, 0x10
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4ad1b460
and word [ebp + esi*2 - 0x20c], ax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push 0x4ad02a54
push dword [ebp - 0x418]
mov dword [ebp - 0x41c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x418]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4ad1b460
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
push str._s_s_r_n
call fcn.4ad05e00
add esp, 0xc
cmp dword [0x4ad2b9e8], 0
jne 0x4ad1b49b
inc dword [ebp - 0x424]
push ebx
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x424]
push dword [ebp - 0x420]
call edi
mov esi, eax
test esi, esi
je 0x4ad1b395
cmp esi, 0x103
jne 0x4ad1b4b9
xor esi, esi
jmp 0x4ad1b4b9
xor eax, eax
inc eax
jmp 0x4ad1b4bb
cmp word [edi], 0x2e
jne 0x4ad1b4ca
push 0x7b
pop esi
push edi
push 1
push 0x23a5
call fcn.4ad05fb5
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.4ad01305
leave
ret 8
push esi
push edi
call fcn.4ad02b6b
mov edi, eax
push 0x20
push edi
call fcn.4ad01a53
cmp eax, esi
je 0x4ad1b4e2
mov word [eax], si
push edi
push 0x4ad19298
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [fcn.4ad01280]
add esp, 0x10
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, esi
je 0x4ad1b51f
mov esi, eax
jmp 0x4ad1b4a9
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x428]
push eax
push esi
push 0x4ad02a54
push dword [ebp - 0x418]
mov dword [ebp - 0x41c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x4ad1b4a9
lea eax, [ebp - 0x414]
push eax
push edi
push str._s_s_r_n
call fcn.4ad05e00
jmp 0x4ad1b4b6
Function at 0x4ad1b5e5
Capabilities:
Delete registry key
Persist via default file association registry key
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4ad33b78]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push ebx
push 0x4ad19298
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x220], esi
call dword [fcn.4ad01280]
add esp, 0x10
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x210], eax
je 0x4ad1b6ef
cmp esi, edi
je 0x4ad1b6ce
cmp word [esi], di
je 0x4ad1b6ce
lea esi, [ebp - 0x20c]
jmp 0x4ad1b66f
cmp word [esi], 0x5c
je 0x4ad1b674
inc esi
inc esi
cmp word [esi], di
jne 0x4ad1b667
mov bx, word [esi]
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x214]
push eax
push edi
push 0x2000000
push edi
push edi
push edi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x21c]
mov word [esi], di
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
mov dword [ebp - 0x210], eax
jne 0x4ad1b6c6
cmp bx, di
je 0x4ad1b6e3
push dword [ebp - 0x214]
mov word [esi], bx
inc esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ad1b66f
push dword [ebp - 0x218]
jmp 0x4ad1b6cf
push ebx
push 1
push 0x23a5
call fcn.4ad05fb5
add esp, 0xc
jmp 0x4ad1b76f
mov esi, dword [ebp - 0x220]
mov ebx, dword [ebp - 0x218]
cmp esi, edi
je 0x4ad1b73c
cmp word [esi], di
je 0x4ad1b73c
push esi
call dword [fcn.4ad012dc]
pop ecx
lea eax, [eax + eax + 2]
push eax
push esi
push 2
push edi
push 0x4ad02a54
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, edi
mov dword [ebp - 0x210], eax
jne 0x4ad1b732
push esi
push ebx
push str._s_s_r_n
call fcn.4ad05e00
jmp 0x4ad1b760
push ebx
push 1
push 0x235d
jmp 0x4ad1b75b
push edi
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, edi
mov dword [ebp - 0x210], eax
je 0x4ad1b763
push ebx
push 1
push 0x23a5
call fcn.4ad05fb5
add esp, 0xc
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
pop ebx
call fcn.4ad01305
leave
ret 0xc

Function at 0x4ad1ba27
Capabilities:
Check if file exists
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0
push dword [ebp + 8]
call fcn.4ad05fb5
pop ecx
pop ecx
call fcn.4ad062b7
push 1
push 0x4ad34640
call dword [fcn.4ad012ac]
nop
nop
nop
nop
nop
Function at 0x4ad1d6bb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor esi, esi
push esi
push 2
push dword [ebp + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call fcn.4ad1e100
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x4ad1d6f0
push 0x6e
call fcn.4ad0c21a
push 1
push esi
jmp 0x4ad1d7be
mov esi, dword [ebp + 0xc]
mov edi, dword [fcn.4ad012c8]
mov ebx, 0x8002
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call edi
pop ecx
push eax
call dword [0x4ad0115c]
test eax, eax
je 0x4ad1d798
mov eax, dword [esi + 0x18]
test ah, 0xc0
mov ecx, dword [ebp - 4]
mov dword [ebp + 0xc], ecx
jne 0x4ad1d747
cmp ecx, 2
jbe 0x4ad1d73f
mov edx, dword [ebp + 0x10]
cmp word [edx], 0xfeff
jne 0x4ad1d73f
or eax, 0x4000
jmp 0x4ad1d744
or eax, 0x8000
mov dword [esi + 0x18], eax
test ecx, ecx
je 0x4ad1d76e
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 0x18]
push dword [ebp + 0x10]
and eax, ebx
sub eax, ebx
neg eax
sbb eax, eax
inc eax
push eax
call fcn.4ad11313
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
cmp ecx, dword [ebp + 0x14]
je 0x4ad1d6fe
cmp dword [ebp - 8], 0
jne 0x4ad1d78e
sub ecx, dword [ebp + 0xc]
push 1
push 0
push ecx
push dword [ebp + 8]
call edi
pop ecx
push eax
call dword [fcn.4ad01140]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0x10
call dword [fcn.4ad0112c]
push dword [ebp + 8]
mov dword [0x4ad2ba04], eax
call fcn.4ad02e00
push 0
push dword [0x4ad2ba04]
call fcn.4ad05fb5
pop ecx
pop ecx
push 1
push 0
call fcn.4ad0c2b1
nop
nop
nop
nop
nop

Function at 0x4ad1d7c8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push dword [ebx]
mov esi, dword [fcn.4ad012c8]
call esi
pop ecx
push eax
call dword [fcn.4ad01088]
push dword [ebx]
call fcn.4ad02e00
push 0
push dword [ebp + 0xc]
call fcn.4ad0e8ae
cmp eax, 0xffffffff
mov dword [ebx], eax
jne 0x4ad1d816
push dword [ebp + 0xc]
push 1
push 0x271f
call fcn.4ad05fb5
xor eax, eax
add esp, 0xc
inc eax
jmp 0x4ad1d8ad
push edi
mov edi, dword [ebp + 0x10]
push 2
mov ecx, edi
push 0
neg ecx
push ecx
push eax
call esi
pop ecx
push eax
call dword [fcn.4ad01140]
push 0
lea eax, [ebp + 8]
push eax
push edi
push dword [ebp + 0x18]
push dword [ebx]
call esi
pop ecx
push eax
call dword [0x4ad0115c]
test eax, eax
jne 0x4ad1d869
push dword [ebx]
call fcn.4ad02e00
or dword [ebx], 0xffffffff
push dword [ebp + 0xc]
push 1
push 0x271f
call fcn.4ad05fb5
xor eax, eax
add esp, 0xc
inc eax
jmp 0x4ad1d8ac
cmp dword [ebp + 8], edi
jne 0x4ad1d848
mov esi, dword [ebp + 0x14]
push dword [ebx]
mov ecx, edi
mov edi, dword [ebp + 0x18]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4ad1d84a
call fcn.4ad02e00
xor esi, esi
push esi
push 1
push dword [ebp + 0xc]
call fcn.4ad1e100
cmp eax, 0xffffffff
mov dword [ebx], eax
je 0x4ad1d852
push 2
push esi
push esi
push eax
call dword [fcn.4ad012c8]
pop ecx
push eax
call dword [fcn.4ad01140]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x4ad1d8b8
Capabilities:
Delete file
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4ad33b3c]
cmp eax, 3
jne 0x4ad1d8fa
cmp dword [ebp + 0x10], 0
jne 0x4ad1d8e1
push 0
push 0x2340
call fcn.4ad0bfae
pop ecx
pop ecx
leave
ret 0x18
push dword [ebp + 0x18]
mov eax, dword [ebp + 8]
push dword [ebp + 0x14]
push eax
push dword [eax + 4]
call fcn.4ad1d6bb
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x4ad1d8dd
cmp eax, 2
jne 0x4ad1d95b
push esi
push 1
push eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
call fcn.4ad1e100
mov esi, eax
cmp esi, 0xffffffff
jne 0x4ad1d92a
push dword [ebp + 0x1c]
call fcn.4ad01c24
push 0x6e
call fcn.4ad0c21a
push 1
push 0
jmp 0x4ad1d96a
lea eax, [ebp - 8]
push eax
push 0
call fcn.4ad19c17
lea eax, [ebp - 8]
push eax
push 0
push 0
push esi
call dword [fcn.4ad012c8]
pop ecx
push eax
call dword [fcn.4ad0106c]
push esi
call fcn.4ad02e00
inc dword [0x4ad33b60]
pop esi
jmp 0x4ad1d8dd
push dword [ebp + 0x1c]
call fcn.4ad01c24
push 1
push 0x2349
call fcn.4ad0c2b1
nop
nop
nop
nop
nop
Function at 0x4ad1ea8f
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x4ad33b78]
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x210]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ecx
push eax
call fcn.4ad08d61
test al, al
jne 0x4ad1eac1
xor eax, eax
jmp 0x4ad1ebd1
push edi
lea eax, [ebp - 0x210]
push 0x4ad0136c
push eax
call dword [fcn.4ad01284]
pop ecx
pop ecx
xor edi, edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x624]
push eax
push 0x104
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [0x4ad010cc]
test eax, eax
jne 0x4ad1eb29
mov esi, dword [fcn.4ad0112c]
call esi
cmp eax, 0x90
jne 0x4ad1eb16
xor eax, eax
jmp 0x4ad1ebd0
push edi
call esi
push eax
call fcn.4ad05fb5
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x4ad1ebd0
cmp word [ebp - 0x210], 0x5c
jne 0x4ad1eb44
lea eax, [ebp - 0x210]
push eax
call fcn.4ad01a79
mov word [eax], di
jmp 0x4ad1eb4b
mov word [ebp - 0x20e], di
cmp word [ebp - 0x41c], di
je 0x4ad1eb74
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x210]
push eax
push 2
push 0x235f
push esi
call fcn.4ad1ce7c
add esp, 0x14
jmp 0x4ad1eb8b
lea eax, [ebp - 0x210]
push eax
push 1
push 0x235e
push esi
call fcn.4ad1ce7c
add esp, 0x10
cmp eax, edi
jne 0x4ad1ebd0
mov eax, dword [ebp - 0x624]
mov ecx, eax
and ecx, 0xffff
push ecx
shr eax, 0x10
push eax
push 0x4ad3d8d4
lea eax, [ebp - 0x61c]
push 0x100
push eax
call dword [fcn.4ad01280]
lea eax, [ebp - 0x61c]
push eax
push 1
push 0x235b
push esi
call fcn.4ad1ce7c
add esp, 0x24
pop edi
mov ecx, dword [ebp - 4]
pop esi
call fcn.4ad01305
leave
ret 8

Function at 0x4ad1efd9
Capabilities:
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4ad33b78]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push esi
mov dword [ebp - 4], eax
call fcn.4ad0ff25
test edi, edi
je 0x4ad1f00e
lea eax, [ebp - 0x210]
push edi
push eax
call dword [fcn.4ad012d8]
pop ecx
pop ecx
lea eax, [ebp - 0x210]
push eax
call fcn.4ad1ea63
test eax, eax
je 0x4ad1f032
lea eax, [ebp - 0x210]
push 0x4ad0136c
push eax
call dword [fcn.4ad01284]
pop ecx
pop ecx
and dword [ebp - 0x214], 0
and dword [ebp - 0x218], 0
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [0x4ad01040]
push 6
push esi
call fcn.4ad1cdef
lea eax, [ebp - 0x210]
push eax
push 0xe
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 0x10]
call fcn.4ad1ebe3
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0x14]
push 0x4ad19334
call fcn.4ad0ca1d
push eax
push 2
push 0x2379
push esi
call fcn.4ad1ce7c
mov ecx, dword [ebp - 4]
add esp, 0x14
pop edi
pop esi
call fcn.4ad01305
leave
ret 0x10
Function at 0x455be0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c7e9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004bc2a5
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x455c62
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004ba050
mov eax, dword [eax]
push 0x50a224
push eax
call fcn.004ac2e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004bc530
test bl, bl
je 0x455c62
push 0x50a224
lea ecx, [esp + 0xc]
call fcn.004bc8c0
push 0x50dda4
lea ecx, [esp + 0xc]
call fcn.004bc8c0
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x455c9e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004bc530
jmp 0x455d69
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x455d22
lea edx, [esp + 0x7c]
push 0x50dda0
push edx
call fcn.004ac2e4
add esp, 8
test eax, eax
je 0x455d22
lea eax, [esp + 0x7c]
push 0x50dd9c
push eax
call fcn.004ac2e4
add esp, 8
test eax, eax
je 0x455d22
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x455cb2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004bc530
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x456560
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4565c2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc