joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424b4e
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x42d0b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x210], esi
push edi
test edx, edx
jne 0x424c55
xor edi, edi
mov ebx, edi
mov dword [ebp - 0x214], edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push esi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
mov esi, eax
test esi, esi
jne 0x424c42
cmp word [ebp - 0x20c], 0x2e
jne 0x424c09
mov ecx, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
call fcn.00425662
mov ebx, eax
test ebx, ebx
je 0x424c2b
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x424bd4
sub ecx, edx
sar ecx, 1
je 0x424bfc
push ebx
lea eax, [ebp - 0x20c]
push eax
push 0x40392c
call fcn.004125d9
add esp, 0xc
mov esi, eax
mov ecx, ebx
call fcn.00410040
mov ebx, dword [ebp - 0x214]
cmp dword [0x42d544], edi
jne 0x424c3a
inc ebx
mov dword [ebp - 0x214], ebx
test esi, esi
jne 0x424cdd
mov esi, dword [ebp - 0x210]
jmp 0x424b80
push edi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
push eax
call fcn.0040c5a2
pop ecx
pop ecx
xor eax, eax
inc eax
jmp 0x424cdf
cmp esi, 0x103
jne 0x424cdd
mov esi, edi
jmp 0x424cdd
mov ecx, edx
call fcn.0040def9
mov ecx, eax
call fcn.0040df40
mov ebx, eax
test ebx, ebx
je 0x424c3a
push 0x20
pop edx
mov ecx, ebx
call fcn.00412349
test eax, eax
je 0x424c7c
xor ecx, ecx
mov word [eax], cx
mov edx, ebx
mov ecx, esi
call fcn.00425662
mov edx, eax
mov dword [ebp - 0x210], edx
test edx, edx
je 0x424cb9
mov ecx, edx
xor edi, edi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x424c98
sub ecx, esi
sar ecx, 1
je 0x424cb9
push edx
push ebx
push 0x40392c
call fcn.004125d9
mov esi, eax
jmp 0x424cc8
xor esi, esi
push ebx
inc esi
push esi
push 0x400023a3
call fcn.0040c5a2
mov ecx, dword [ebp - 0x210]
add esp, 0xc
call fcn.00410040
mov ecx, ebx
call fcn.00410040
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416fd0
mov esp, ebp
pop ebp
ret
Function at 0x42554f
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x42d0b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov ebx, edi
test ecx, ecx
jne 0x425573
xor eax, eax
jmp 0x425651
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push ecx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42564e
push 0x40
lea edx, [ebp - 0x48]
mov ecx, esi
call fcn.00425768
test eax, eax
je 0x425647
mov eax, 0x5a4d
cmp ax, word [ebp - 0x48]
jne 0x425647
push edi
push edi
push dword [ebp - 0xc]
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x425647
push 4
lea edx, [ebp - 0x60]
mov ecx, esi
call fcn.00425768
test eax, eax
je 0x425647
cmp dword [ebp - 0x60], 0x4550
jne 0x425647
push 0x14
lea edx, [ebp - 0x5c]
mov ecx, esi
call fcn.00425768
test eax, eax
je 0x425647
mov ax, word [ebp - 0x4c]
test ax, ax
je 0x425647
movzx eax, ax
push eax
push 8
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
push eax
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x425647
movzx eax, word [ebp - 0x4c]
mov edx, edi
push eax
mov ecx, esi
call fcn.00425768
test eax, eax
je 0x425637
mov ecx, dword [ebp - 0x5c]
mov edx, edi
call fcn.0042573b
test eax, eax
je 0x425637
movzx ebx, word [eax]
push edi
push 0
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
push eax
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
push esi
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov ax, bx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416fd0
mov esp, ebp
pop ebp
ret
Function at 0x425662
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1c
push 0x42c100
call fcn.00417678
mov edi, ecx
mov dword [ebp - 0x2c], edi
xor ebx, ebx
mov esi, ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], ebx
test edx, edx
je 0x4256a2
cmp word [edx], bx
je 0x4256a2
lea eax, [ebp - 0x1c]
push eax
push 1
push ebx
push edx
push edi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x4256a2
push eax
jmp 0x42570c
lea eax, [ebp - 0x24]
push eax
push ebx
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
cmp eax, 2
jne 0x4256cc
mov ecx, 0x4024ac
call fcn.0040df40
mov esi, eax
mov dword [ebp - 0x20], esi
jmp 0x425712
test eax, eax
jne 0x42569f
mov ecx, dword [ebp - 0x24]
call fcn.004100b0
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
je 0x42570a
lea eax, [ebp - 0x24]
push eax
push esi
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
je 0x425712
mov ecx, esi
call fcn.00410040
xor esi, esi
mov dword [ebp - 0x20], esi
push ebx
jmp 0x42570c
push 8
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
call fcn.0042572c
mov eax, esi
call fcn.004176bd
ret
Function at 0x42587b
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push 0x18
push 0x42c0e0
call fcn.00417678
mov ebx, edx
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
xor edi, edi
test eax, eax
je 0x42592c
cmp word [eax], di
je 0x42592c
push edi
lea eax, [ebp - 0x20]
push eax
push edi
push 2
push edi
push edi
push edi
push ebx
push ecx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x425913
mov edx, dword [ebp + 8]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x4258c6
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push edi
push edi
push dword [ebp - 0x20]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
push dword [ebp - 0x20]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test esi, esi
jne 0x425913
push dword [ebp + 8]
push ebx
push 0x40392c
call fcn.004125d9
add esp, 0xc
jmp 0x425995
push edi
push esi
call fcn.0040c5a2
push ebx
push 1
push 0x235d
call fcn.0040c5a2
add esp, 0x14
jmp 0x425995
push edi
push edi
push ebx
push ecx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteKeyExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x425999
lea eax, [ebp - 0x24]
push eax
push 0x2000000
push edi
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x42596c
cmp esi, 2
je 0x425995
push edi
push esi
call fcn.0040c5a2
pop ecx
pop ecx
jmp 0x425995
push 0x4024ac
push dword [ebp - 0x24]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x42598c
push edi
push esi
call fcn.0040c5a2
pop ecx
pop ecx
push dword [ebp - 0x24]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test esi, esi
jne 0x4259dc
mov dword [ebp - 4], edi
call fcn.00417797
test al, al
je 0x4259b3
push edi
push edi
push edi
push 0x8000000
call dword [sym.imp.ext_ms_win_cmd_util_l1_1_0.dll_DoSHChangeNotify]
mov dword [ebp - 4], 0xfffffffe
jmp 0x4259dc
mov eax, esi
call fcn.004176bd
ret 4
Function at 0x4284fe
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
mov edi, edx
push dword [ebx]
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FlushFileBuffers]
mov ecx, dword [ebx]
call fcn.0040db92
push ecx
push ecx
xor edx, edx
mov ecx, edi
call fcn.00405db5
mov ecx, eax
mov dword [ebx], ecx
cmp ecx, 0xffffffff
jne 0x42854e
push edi
push 1
push 0x4000271f
call fcn.0040c5a2
xor eax, eax
add esp, 0xc
inc eax
jmp 0x4285e0
mov esi, dword [ebp + 8]
mov eax, esi
push 2
push 0
neg eax
push eax
push ecx
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFilePointer]
push 0
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 0x10]
push dword [ebx]
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
jne 0x428593
mov ecx, dword [ebx]
call fcn.0040db92
or dword [ebx], 0xffffffff
jmp 0x428536
cmp dword [ebp - 4], esi
jne 0x428587
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call sub.msvcrt.dll_memcmp
mov ecx, dword [ebx]
add esp, 0xc
mov esi, eax
call fcn.0040db92
test esi, esi
jne 0x42858e
push ecx
xor edx, edx
push ecx
inc edx
mov ecx, edi
call fcn.00405db5
mov dword [ebx], eax
cmp eax, 0xffffffff
je 0x428536
push 2
push esi
push esi
push eax
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFilePointer]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x428e52
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 0xc], 0
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
push ecx
push ecx
push 2
mov dword [ebp - 8], edx
pop edx
call fcn.00405db5
mov esi, eax
cmp esi, 0xffffffff
jne 0x428e8b
push 0x6e
pop ecx
call fcn.0042985a
xor edx, edx
xor ecx, ecx
inc edx
call fcn.004285e9
mov ebx, dword [ebp + 8]
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push ebx
push esi
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
je 0x428f40
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edi, eax
mov ecx, dword [edx + 0x1c]
test ecx, 0xc000
jne 0x428ee5
cmp edi, 2
jbe 0x428edc
mov edx, 0xfeff
cmp word [ebx], dx
mov edx, dword [ebp - 8]
jne 0x428edc
or ecx, 0x4000
jmp 0x428ee2
or ecx, 0x8000
mov dword [edx + 0x1c], ecx
test edi, edi
je 0x428f10
lea eax, [ebp - 0x10]
mov edx, ebx
push eax
lea eax, [ebp - 4]
push eax
mov eax, 0x8002
and ecx, eax
sub ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
call fcn.00426cef
mov ecx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
jmp 0x428f13
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
je 0x428e8e
test ecx, ecx
jne 0x428f35
push 1
push ecx
sub eax, edi
push eax
push esi
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFilePointer]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, esi
mov dword [0x443cf0], eax
call fcn.0040db92
push 0
push dword [0x443cf0]
call fcn.0040c5a2
pop ecx
pop ecx
jmp 0x428e81
Function at 0x4293e2
Capabilities:
Set current directory

Disassembly:
mov edi, edi
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x42d0b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, 0x104
mov byte [ebp - 0x1c], 1
push eax
xor edi, edi
mov dword [ebp - 0x18], eax
and dword [ebp - 0x20], edi
lea eax, [ebp - 0x228]
push edi
push eax
mov esi, ecx
call sub.msvcrt.dll_memset
xor eax, eax
lea ecx, [ebp - 0x228]
add esp, 0xc
cmp byte [ebp - 0x1c], al
sete al
dec eax
and eax, 0x7ee3
add eax, 0x104
push eax
call fcn.00410c70
test eax, eax
js 0x42954b
push 0x3d
pop eax
mov word [ebp - 0xc], ax
lea ecx, [ebp - 0xc]
lea eax, [esi + 0x40]
mov word [ebp - 0xa], ax
push 0x3a
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
call fcn.0040cfbc
mov esi, eax
test esi, esi
je 0x429498
push esi
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_SetCurrentDirectoryW]
test al, al
jne 0x42952f
push 1
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetErrorMode]
mov edi, eax
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x4294a5
lea ecx, [ebp - 0x228]
mov ax, word [ebp - 0xa]
mov word [ecx], ax
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x4294b9
lea ecx, [ebp - 0x228]
mov ax, word [ebp - 8]
mov word [ecx + 2], ax
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4294ce
lea eax, [ebp - 0x228]
push 0x5c
pop ecx
mov word [eax + 4], cx
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4294e2
lea eax, [ebp - 0x228]
xor ecx, ecx
mov word [eax + 6], cx
mov edx, dword [ebp - 0x20]
test edx, edx
jne 0x4294f5
lea edx, [ebp - 0x228]
lea ecx, [ebp - 0xc]
call fcn.00413a50
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x42950a
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x429524
push eax
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
push eax
call fcn.0040c5a2
pop ecx
pop ecx
test esi, esi
je 0x42952f
push edi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetErrorMode]
mov ecx, dword [0x443cb8]
test ecx, ecx
jne 0x42953e
mov ecx, 0x443ab0
mov edx, dword [0x443cc0]
push 0
call fcn.004136cb
push dword [ebp - 0x20]
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00416fd0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x42997c
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x42d0b4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x224], 0
mov eax, 0x104
and dword [ebp - 0x18], 0
push ebx
push esi
push eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea eax, [ebp - 0x220]
inc ebx
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x14], bl
call sub.msvcrt.dll_memset
xor eax, eax
lea ecx, [ebp - 0x220]
add esp, 0xc
cmp byte [ebp - 0x14], al
sete al
dec eax
and eax, 0xfdc6
add eax, 0x208
push eax
call fcn.00410c70
test eax, eax
js 0x429a39
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4299f0
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x224]
push ecx
push eax
push dword [ebp - 0x10]
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFullPathNameW]
test eax, eax
je 0x429a39
cmp eax, 0xffce
jbe 0x429a39
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x429a1a
lea eax, [ebp - 0x220]
xor ecx, ecx
mov word [eax + 6], cx
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x429a2d
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDriveTypeW]
cmp eax, 4
je 0x429a3b
xor ebx, ebx
push dword [ebp - 0x18]
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.00416fd0
mov esp, ebp
pop ebp
ret

Function at 0x429ab4
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push 0xd
push 1
lea eax, [ebp - 1]
mov byte [ebp - 1], 1
push eax
lea eax, [ebp - 0xc]
push eax
push ecx
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
xor ecx, ecx
test eax, eax
setns cl
mov eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x42a0d2
Capabilities:
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x42d0b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 0x224], eax
mov edi, ecx
call fcn.0040b6b9
mov ecx, 0x104
xor eax, eax
push ecx
push eax
mov dword [ebp - 0x18], eax
xor ebx, ebx
lea eax, [ebp - 0x220]
mov dword [ebp - 0x10], ecx
inc ebx
push eax
mov byte [ebp - 0x14], bl
call sub.msvcrt.dll_memset
xor eax, eax
lea ecx, [ebp - 0x220]
add esp, 0xc
cmp byte [ebp - 0x14], al
sete al
dec eax
and eax, 0x7ee3
add eax, 0x104
push eax
call fcn.00410c70
test eax, eax
js 0x42a222
push esi
lea ecx, [ebp - 0x220]
call fcn.00410d89
mov eax, dword [ebp - 0x18]
mov ecx, eax
test eax, eax
jne 0x42a162
lea ecx, [ebp - 0x220]
xor esi, esi
cmp word [ecx], si
je 0x42a189
cmp word [ecx + 2], 0x3a
jne 0x42a189
cmp word [ecx + 4], si
jne 0x42a189
push 0x4021e8
lea ecx, [ebp - 0x220]
call fcn.00410cf2
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x230], esi
test eax, eax
jne 0x42a19f
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x230]
push ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDiskFreeSpaceExW]
push 6
pop edx
mov ecx, edi
call fcn.00427a11
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x42a1d2
lea eax, [ebp - 0x220]
push dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x230]
push eax
push 0xe
call fcn.0042ac75
mov esi, dword [ebp - 0x18]
test esi, esi
jne 0x42a1f3
lea esi, [ebp - 0x220]
push dword [ebp - 0x224]
mov ebx, 0x443d00
push 0x403de4
push 0x104
push ebx
call fcn.0041274c
push esi
push ebx
push 2
push 0x2379
push edi
call fcn.00427c83
add esp, 0x24
mov ebx, eax
push dword [ebp - 0x18]
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416fd0
mov esp, ebp
pop ebp
ret 8
Function at 0x42b91d
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x42d0b4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x220]
push ebx
push esi
push edi
mov edi, 0x104
xor ebx, ebx
push edi
push 0
inc ebx
mov dword [ebp - 0x10], edi
push eax
mov esi, ecx
mov byte [ebp - 0x14], bl
call sub.msvcrt.dll_memset
xor eax, eax
lea ecx, [ebp - 0x220]
add esp, 0xc
cmp byte [ebp - 0x14], al
sete al
dec eax
and eax, 0x7ee3
add eax, edi
push eax
call fcn.00410c70
test eax, eax
js 0x42b9b6
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x42b988
lea eax, [ebp - 0x220]
push dword [ebp - 0x10]
push eax
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetVolumePathNameW]
test eax, eax
je 0x42b9b4
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x42b9a4
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDriveTypeW]
test eax, eax
je 0x42b9b4
cmp eax, 4
jne 0x42b9b6
xor ebx, ebx
push dword [ebp - 0x18]
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416fd0
mov esp, ebp
pop ebp
ret
Function at 0x42b9d3
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x42d0b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, 0x104
mov byte [ebp - 0x439], dl
push eax
xor esi, esi
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x220]
inc ebx
push esi
push eax
mov edi, ecx
mov byte [ebp - 0x14], bl
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x230], esi
mov eax, 0x104
mov byte [ebp - 0x22c], bl
mov dword [ebp - 0x228], eax
push eax
lea eax, [ebp - 0x438]
push esi
push eax
call sub.msvcrt.dll_memset
xor eax, eax
lea ecx, [ebp - 0x220]
add esp, 0xc
cmp byte [ebp - 0x14], al
sete al
dec eax
and eax, 0x7ee3
add eax, 0x104
push eax
call fcn.00410c70
test eax, eax
js 0x42bb85
xor eax, eax
lea ecx, [ebp - 0x438]
cmp byte [ebp - 0x22c], al
sete al
dec eax
and eax, 0x7ee3
add eax, 0x104
push eax
call fcn.00410c70
test eax, eax
js 0x42bb85
mov eax, dword [ebp - 0x230]
test eax, eax
jne 0x42baa0
lea eax, [ebp - 0x438]
push dword [ebp - 0x228]
push eax
push edi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetVolumePathNameW]
test eax, eax
je 0x42bb85
mov eax, dword [ebp - 0x230]
test eax, eax
jne 0x42bac6
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDriveTypeW]
test eax, eax
je 0x42bb83
cmp eax, 4
je 0x42bb83
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x42baeb
lea eax, [ebp - 0x220]
mov ecx, dword [ebp - 0x230]
test ecx, ecx
jne 0x42bafb
lea ecx, [ebp - 0x438]
push dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x440]
push eax
push eax
push esi
push esi
push esi
push ecx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetVolumeInformationW]
test eax, eax
je 0x42bb85
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x42bb22
lea eax, [ebp - 0x220]
push 0x403e18
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x42bb89
cmp byte [ebp + 8], 0
je 0x42bb59
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x42bb47
lea eax, [ebp - 0x220]
push 0x403e24
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x42bb89
cmp byte [ebp - 0x439], 0
je 0x42bb87
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x42bb6f
lea eax, [ebp - 0x220]
push 0x403e30
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x42bb87
jmp 0x42bb89
mov ebx, esi
mov esi, ebx
mov ebx, esi
push dword [ebp - 0x230]
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416fd0
mov esp, ebp
pop ebp
ret 4
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x2dfe70a5
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x763d1b34
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219