joyce8/EMBER2024-capa huggingface dataset:
Function at 0x911f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x9269fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x912002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00915dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x912002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.0090d6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0091620b
push 0x10
call fcn.009161d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x911fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.009021c0
jmp 0x911fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00911b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x911ff0
mov ecx, edi
call fcn.009022c0
push edi
call fcn.009161c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x912021
inc ebx
cmp ebx, 0x20
jb 0x911f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x913250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x927808
push 0x917288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x913329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x913329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.009161d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x913329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x913329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x91332c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00913351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x913d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x913d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x913d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x913d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x913d94
push eax
push esi
call fcn.0091620b
add esp, 8
pop esi
ret 0x10

Function at 0x913da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x913e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x913e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x92c320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00915dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x913dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x913e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x913ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x913eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x92c320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00915dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x913eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x913e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x914000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x914131
push esi
call fcn.00917145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00906080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x914131
push 0
push ebp
call fcn.009063a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00906260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x91408b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.009062f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x914121
push 0x92c918
push edi
call fcn.009153f0
push eax
push ebx
push esi
call fcn.00913f60
push 0x92c8f8
push edi
call fcn.009153f0
push eax
push ebx
push esi
call fcn.00913f60
push 0x92c8d8
push edi
call fcn.009153f0
push eax
push ebx
push esi
call fcn.00913f60
push 0x92c8c0
push edi
call fcn.009153f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00913f60
push 0x92c8a0
push edi
call fcn.009153f0
push eax
push ebx
push esi
call fcn.00913f60
push 0x92c888
push edi
call fcn.009153f0
push eax
push ebx
push esi
call fcn.00913f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x9151b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00915140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00915140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00915140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00915140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x915bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x915c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x92787c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x915c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x915c52
xor eax, eax
pop esi
leave
ret 4

Function at 0x417d34
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00417db3
jae 0x417d40
xor ecx, ecx
call fcn.00417db3
jae 0x417d6a
xor eax, eax
call fcn.00417db3
jae 0x417d7b
mov al, 0x10
call fcn.00417db3
adc al, al
jae 0x417d5c
jne 0x417da8
stosb byte es:[edi], al
jmp 0x417d41
call fcn.00417dbf
dec ecx
loop 0x417d87
mov eax, ebp
call fcn.00417dbd
jmp 0x417da9
lodsb al, byte [esi]
shr eax, 1
je 0x417dcf
adc ecx, 2
mov ebp, eax
jmp 0x417da9
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00417dbd
cmp eax, 0x7d00
jae 0x417da7
cmp eax, 0x500
jae 0x417da8
cmp eax, 0x7f
ja 0x417da9
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x417d41
pop ebp
ret 8
Function at 0x403218
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00401e58
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4031e0
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x4057f8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x405822
cmp dword [ebx + 0x64], 0
jne 0x405822
cmp dword [ebx + 0x6c], 0
jne 0x405822
mov esi, edi
jmp 0x4058ae
cmp esi, 0xffffffff
jne 0x40582d
dec esi
jmp 0x4058ae
mov eax, dword [ebx + 0x64]
mov edx, edi
sub edx, 0x106
add edx, edi
cmp eax, edx
jl 0x4058ae
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
xchg edx, eax
call fcn.004023c8
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
mov word [edx], 0
cmp edi, dword [esp]
ja 0x40587d
mov cx, word [esp]
sub cx, di
mov word [edx], cx
dec eax
test eax, eax
jne 0x405860
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
mov word [edx], 0
cmp edi, dword [esp]
ja 0x4058a7
mov cx, word [esp]
sub cx, di
mov word [edx], cx
dec eax
test eax, eax
jne 0x40588a
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x40590c
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.004057ac
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jl 0x4058f7
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jge 0x40590c
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x405802
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41383c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
cmp dword [0x675270], 0xca
jne 0x413858
call fcn.004137a8
mov dword [0x675270], 0xcb
mov eax, dword [0x675270]
cmp eax, 0xcb
jne 0x413888
mov eax, dword [0x6753bc]
cmp byte [eax + 0xc], 0
je 0x41387c
mov ebx, dword [0x6753bc]
call dword [ebx]
cmp eax, 2
jne 0x41386f
mov eax, dword [0x6752b0]
mov dword [0x6752b8], eax
jmp 0x413894
cmp eax, 0xcc
je 0x413894
call fcn.0065a09c
call fcn.004137c8
pop ebx
ret
Function at 0x413fd4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
mov edx, 0x1c
call fcn.0065c4dc
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
pop esi
pop ebx
ret

Function at 0x414064
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41418e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
mov edx, ebx
call fcn.0040330c
lea eax, [ebp - 0x18]
call fcn.00413da0
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00413e44
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x414159
xor eax, eax
push ebp
push 0x414152
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00413ec0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00413fd4
test al, al
je 0x414130
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x1c]
xor edx, edx
call fcn.00403358
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x414130
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x41412a
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00414064
dec ebx
cmp ebx, 0xffffffff
jne 0x4140fa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414159
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00413ec0
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 0x18]
call fcn.004036e0
push eax
mov dl, byte [ebp - 0x11]
mov eax, dword [ebp - 4]
call fcn.00413e10
push eax
call sub.advapi32.dll_RegDeleteKeyA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414195
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403298
ret

Function at 0x414298
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, esi
call fcn.00403ab8
inc eax
add eax, eax
push eax
mov eax, esi
call fcn.00403aa8
push eax
push 1
push 0
mov eax, edi
call fcn.00403aa8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
pop edi
pop esi
pop ebx
ret
Function at 0x4308ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x11], dl
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
shl eax, 8
mov edx, dword [ebp - 0x18]
movzx edx, byte [edx + 1]
add ax, dx
mov word [ebp - 0x10], ax
push ebp
xor eax, eax
call fcn.004307fc
pop ecx
mov word [ebp - 0x1a], ax
mov edi, 1
lea ebx, [ebp - 0x10]
mov esi, dword [ebp - 0x18]
add esi, 2
xor eax, eax
mov al, byte [esi]
shl eax, 8
xor edx, edx
mov dl, byte [esi + 1]
add ax, dx
xor ax, word [ebx]
mov word [ebx + 2], ax
push ebp
mov eax, edi
call fcn.004307fc
pop ecx
xor word [ebp - 0x1a], ax
inc edi
add esi, 2
add ebx, 2
cmp edi, 8
jne 0x4308ed
movzx eax, word [ebp - 0x1a]
shr eax, 8
mov dl, byte [ebp - 0x1a]
and dl, 0xff
xor al, dl
xor al, byte [ebp - 0x11]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x430968
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
test dl, dl
je 0x430981
add esp, 0xfffffff0
call fcn.00402ab0
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x430a09
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00659760
lea eax, [esi + 0x54]
fstp qword [eax]
wait
lea eax, [ebp - 0x18]
call fcn.0061c45c
lea eax, [esi + 0x54]
add eax, 8
mov dx, word [ebp - 0x18]
mov word [eax], dx
lea eax, [esi + 0x54]
add eax, 8
add eax, 2
mov dx, word [ebp - 0x14]
mov word [eax], dx
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [0x671fa4]
mov eax, dword [eax]
call fcn.00658888
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
lea eax, [esi + 0x54]
add eax, 8
add eax, 4
mov edx, dword [ebp - 8]
mov dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430a10
lea eax, [ebp - 0x1c]
call fcn.00403880
ret
Function at 0x43789c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor eax, 0xffffffff
add ecx, edx
cmp ecx, edx
jbe 0x4378cd
mov ebx, dword [0x671ba0]
mov ebx, dword [ebx]
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
shl esi, 2
add ebx, esi
mov ebx, dword [ebx]
shr eax, 8
xor ebx, eax
mov eax, ebx
inc edx
cmp ecx, edx
ja 0x4378a7
xor eax, 0xffffffff
pop esi
pop ebx
ret

Function at 0x437c9c
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
add ebx, 0xfffffff8
xor edx, edx
push ebp
push 0x437def
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebx]
cmp byte [eax + 0xc], 0
jne 0x437d48
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x20], edx
mov eax, dword [ebx]
cmp dword [eax + 0x2c], 0
jne 0x437d01
mov eax, dword [ebx]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebx]
lea edx, [eax + 0x448]
mov eax, dword [ebx]
call fcn.004378d4
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x40], edx
mov eax, dword [ebx]
mov dword [eax + 0x2c], 0x4000
mov eax, dword [ebx]
add eax, 0x448
mov edx, dword [ebx]
mov dword [edx + 0x28], eax
mov eax, dword [ebx]
mov esi, dword [eax + 0x30]
mov eax, dword [ebx]
add eax, 0x1c
mov edx, 4
call fcn.00405f10
mov edx, dword [ebx]
mov edx, dword [edx + 0x30]
sub edx, esi
mov ecx, dword [ebx]
add dword [ecx + 0x40], edx
dec eax
jne 0x437cc9
mov eax, dword [ebx]
mov eax, dword [eax + 0x40]
test eax, eax
jle 0x437d3e
mov ecx, eax
mov eax, dword [ebx]
lea edx, [eax + 0x448]
mov eax, dword [ebx]
call fcn.004378d4
mov eax, dword [ebx]
add eax, 0x1c
call fcn.00405ccc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebx]
add edx, 0x48
add edx, 0x10
mov dword [edx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
mov edx, dword [ebx]
add edx, 0x48
add edx, 0x14
mov dword [edx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x24]
mov edx, dword [ebx]
add edx, 0x48
add edx, 0x18
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
mov eax, dword [ebx]
lea edx, [eax + 0x48]
mov eax, dword [ebx]
mov eax, dword [eax + 0x14]
call fcn.00651ae4
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
call fcn.00654b30
mov esi, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x44]
add edx, 0xe
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
xor ecx, ecx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov eax, dword [ebx]
call fcn.004378f8
mov eax, dword [ebx]
mov edx, dword [eax + 0x30]
mov eax, dword [ebx]
call fcn.004378f8
mov eax, dword [ebx]
mov edx, dword [eax + 0x24]
mov eax, dword [ebx]
call fcn.004378f8
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
xor ecx, ecx
mov edx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebx]
inc dword [eax + 0x18]
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x437dfb
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4386d4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4388dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x437778]
call fcn.00437920
mov edi, eax
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00437958
test al, al
je 0x43889e
mov bl, 1
cmp dword [0x675544], 0
je 0x438762
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.006202a0
mov edx, dword [0x675544]
mov eax, dword [ebp - 0x10]
call fcn.0061fe88
mov byte [edi + 0xc], 1
mov ecx, 0x4388f0
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.00437e04
mov byte [edi + 0xc], 0
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_DeleteFileW
call fcn.00650ca0
mov dword [ebp - 0xc], eax
push 0
mov ecx, dword [ebp - 0xc]
mov edx, 0x438908
mov eax, dword [ebp - 4]
call fcn.006254a8
mov eax, dword [ebp - 0xc]
call fcn.00654594
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
dec eax
test eax, eax
jl 0x43888d
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x18]
lea eax, [eax + edx*4]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx]
call fcn.004038bc
cmp dword [0x675548], 0
je 0x4387f9
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov eax, dword [0x675548]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov esi, eax
cmp esi, 0xffffffff
je 0x4387f9
mov edx, esi
mov eax, dword [0x675548]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [0x67554c]
mov edx, dword [edx + 0x18]
mov edx, dword [edx + eax*4]
lea eax, [ebp - 0x10]
call fcn.004038bc
cmp byte [0x675550], 0
je 0x43883e
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
call fcn.00658934
mov esi, 0xfffffffd
mov ebx, 0x662218
lea eax, [ebp - 0x24]
mov edx, dword [ebx]
call fcn.004039a0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
call fcn.006586a0
test al, al
je 0x438838
mov byte [edi + 0xc], 1
jmp 0x43883e
sub ebx, 4
inc esi
jne 0x438819
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
call fcn.00403ab8
mov edx, eax
inc edx
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
call fcn.00657df8
mov eax, dword [ebp - 0x28]
mov cx, 0x2f
mov dx, 0x5c
call fcn.0065730c
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.00437e04
mov ebx, eax
mov byte [edi + 0xc], 0
test bl, bl
je 0x43888d
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jne 0x43879e
mov eax, dword [ebp - 0xc]
call fcn.004028c0
mov eax, edi
call fcn.00438108
jmp 0x4388a0
xor ebx, ebx
test bl, bl
jne 0x4388ad
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, edi
call fcn.004028c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4388e3
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00403898
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403898
ret