joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416374
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004039e4
xor eax, eax
push ebp
push 0x4163cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004039f4
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4163b0
test byte [ebp - 0xc], 0x10
jne 0x4163b4
xor eax, eax
jmp 0x4163b6
mov al, 1
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4163d6
lea eax, [ebp - 4]
call fcn.004035b4
ret

Function at 0x41696c
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
xor edx, edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004039e4
xor eax, eax
push ebp
push 0x416ad5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.004163e0
test al, al
je 0x416ab2
mov eax, dword [0x43b9ec]
cmp dword [eax], 1
jne 0x4169d3
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.00406e78
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.0041665c
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 4]
call fcn.0040364c
mov eax, dword [0x43b998]
mov al, byte [eax]
sub al, 2
jae 0x416a2f
mov eax, dword [0x43b998]
cmp dword [eax + 0xd], 0x457
jge 0x416a2f
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
call fcn.004039f4
push eax
call sub.KERNEL32.DLL_GetDiskFreeSpaceA
test eax, eax
je 0x416ab2
mov eax, dword [ebp - 0x30]
imul dword [ebp - 0x2c]
imul dword [ebp - 0x34]
test eax, eax
jns 0x416a24
add eax, 0x3ff
sar eax, 0xa
mov dword [ebp - 8], eax
jmp 0x416ab2
push 0x416ae4
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x416ab2
xor eax, eax
push ebp
push 0x416aab
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x416af4
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x416a94
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.004039f4
push eax
call dword [ebp - 0x10]
test eax, eax
je 0x416a94
mov eax, dword [ebp - 0x14]
shl eax, 0x16
mov edx, dword [ebp - 0x18]
shr edx, 0xa
or eax, edx
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x416ab2
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x416adc
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004035d8
lea eax, [ebp - 4]
call fcn.004035b4
ret
Function at 0x416b08
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
push 0x80
mov eax, dword [ebp - 4]
call fcn.004039f4
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
mov eax, dword [ebp - 4]
call fcn.00406cf4
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x417484
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004035b4
mov edx, 0x20
mov eax, dword [ebp - 4]
call fcn.00406a8c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41750d
xor eax, eax
push ebp
push 0x417506
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetFileSize_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x4174f0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00403b60
mov eax, dword [ebp - 8]
call fcn.00403a00
mov edx, eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00406af0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41750d
mov eax, dword [ebp - 0xc]
call fcn.00406b54
ret
mov esp, ebp
pop ebp
ret

Function at 0x417d00
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004035b4
cmp dword [ebp - 4], 0
je 0x417d5e
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004039f4
push eax
call sub.KERNEL32.DLL_GetEnvironmentVariableA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jle 0x417d5e
mov edx, dword [ebp - 0xc]
dec edx
mov eax, dword [ebp - 8]
call fcn.00403b60
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004039f4
push eax
mov eax, dword [ebp - 4]
call fcn.004039f4
push eax
call sub.KERNEL32.DLL_GetEnvironmentVariableA
mov esp, ebp
pop ebp
ret

Function at 0x41836c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41841c
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.KERNEL32.DLL_GetEnvironmentStringsA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.0040cddc
xor eax, eax
push ebp
push 0x4183ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
jmp 0x4183d8
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00403768
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x10]
call fcn.00403830
inc eax
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0
jne 0x4183b6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418406
mov eax, dword [ebp - 4]
call fcn.0040ce98
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeEnvironmentStringsA
ret
Function at 0x4185fc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4186db
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.00403b60
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004039f4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403830
push eax
call sub.KERNEL32.DLL_GetTempPathA
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00403b60
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0041665c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040364c
lea eax, [ebp - 0xc]
call fcn.004070c4
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0041665c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00406790
test eax, eax
jne 0x4186c0
mov eax, dword [0x43b9ec]
cmp dword [eax], 1
jne 0x4186b3
lea eax, [ebp - 0xc]
call fcn.0041870c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0041665c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, 0x4186f0
call fcn.0040387c
jmp 0x4186c0
mov eax, dword [ebp - 4]
mov edx, 0x418700
call fcn.0040364c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4186e2
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004035d8
ret

Function at 0x425d04
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
dec ecx
test ecx, ecx
jl 0x425d29
inc ecx
xor esi, esi
mov bl, byte [eax + esi]
xor bl, byte [edx + esi]
mov edi, dword [ebp - 4]
mov byte [edi + esi], bl
inc esi
dec ecx
jne 0x425d19
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x42a620
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov byte [ebp - 3], cl
mov word [ebp - 2], dx
mov esi, eax
xor eax, eax
push ebp
push 0x42a76f
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov ax, word [ebp - 2]
mov word [esi + 0x1b], ax
test byte [esi + 0x1b], 1
setne al
xor al, 1
mov byte [esi + 0x18], al
mov eax, dword [esi + 0x20]
call fcn.00406bc4
test al, al
je 0x42a759
mov byte [esi + 0x19], 1
push 1
lea eax, [ebp - 8]
push eax
mov eax, dword [0x43b9d8]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
xor ecx, ecx
xor edx, edx
call fcn.00416154
mov ecx, dword [ebp - 8]
mov eax, dword [0x43b9d8]
mov eax, dword [eax]
mov edx, dword [eax + 0x28]
lea eax, [esi + 0x24]
call fcn.0040387c
mov eax, dword [esi + 0x20]
call fcn.00411e64
xor ecx, ecx
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
call fcn.00417458
mov ebx, eax
test byte [ebp - 3], bl
je 0x42a759
test byte [esi + 0x1b], 4
je 0x42a6ca
mov eax, dword [esi + 0x20]
call fcn.00415614
test byte [esi + 0x1b], 8
je 0x42a6ee
mov eax, dword [esi + 0x20]
call fcn.004039f4
push eax
call sub.gdi32.dll_RemoveFontResourceA
push 0
push 0
push 0x1d
push 0xffff
call sub.user32.dll_SendMessageA
mov eax, dword [esi + 0x20]
call fcn.00416b08
test al, al
jne 0x42a759
mov byte [esi + 0x30], 1
lea eax, [esi + 0x28]
mov edx, 0x104
call fcn.00403b60
mov eax, dword [esi + 0x28]
call fcn.004039f4
push eax
push 0
push 0x42a780
lea edx, [ebp - 8]
mov eax, dword [esi + 0x20]
call fcn.00406e44
mov eax, dword [ebp - 8]
call fcn.004039f4
push eax
call sub.KERNEL32.DLL_GetTempFileNameA
mov eax, dword [esi + 0x28]
call fcn.004039f4
mov edx, eax
lea eax, [esi + 0x28]
call fcn.00403768
mov eax, dword [0x43b9d8]
mov eax, dword [eax]
mov cl, 1
mov edx, 0x42a78c
call fcn.004242e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a776
lea eax, [ebp - 8]
call fcn.004035b4
ret
Function at 0x42e800
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42e97d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00406bc4
test al, al
je 0x42e94c
mov eax, ebx
call fcn.00416708
mov edi, eax
mov eax, ebx
call fcn.004039f4
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov esi, eax
mov eax, dword [ebp + 8]
cmp byte [eax - 1], 0
je 0x42e851
and esi, 0xfffffffe
mov eax, ebx
call fcn.00406b5c
call fcn.00406fc8
fstp qword [ebp - 8]
wait
lea eax, [ebp - 0xc]
call fcn.004035b4
mov byte [0x43b5b8], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
mov edx, edi
mov eax, ebx
call fcn.0042dc48
pop ecx
dec eax
jne 0x42e967
cmp dword [0x43c74c], 0
je 0x42e8af
mov eax, dword [0x43c74c]
test byte [eax + 0x29], 4
je 0x42e8af
mov byte [0x43b5b8], 1
cmp byte [0x43b5b8], 0
je 0x42e8cf
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov eax, 0x43c75c
mov ecx, pe_nt_image_headers32
call fcn.00426664
mov eax, 0x42e790
push eax
push 0
mov ecx, 0x42e75c
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004171e4
mov byte [ebp - 0xd], al
cmp byte [0x43b5b8], 0
je 0x42e8fc
mov eax, 0x43c75c
call fcn.00426764
cmp byte [ebp - 0xd], 0
je 0x42e931
mov eax, dword [ebp + 8]
cmp byte [eax - 1], 0
je 0x42e91a
push esi
mov eax, dword [ebp - 0xc]
call fcn.004039f4
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
push dword [ebp - 4]
push dword [ebp - 8]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, esi
mov edx, edi
mov eax, ebx
call fcn.0042e3a4
jmp 0x42e967
mov eax, dword [0x43b8e8]
cmp byte [eax], 0
jne 0x42e967
mov byte [0x43c756], 1
mov eax, dword [0x43b8e8]
mov byte [eax], 1
jmp 0x42e967
mov eax, 0x43c744
mov edx, ebx
call fcn.00403608
mov byte [0x43c756], 1
mov eax, dword [0x43b8e8]
mov byte [eax], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e984
lea eax, [ebp - 0xc]
call fcn.004035b4
ret
Function at 0x43753c
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x437868
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.00406f0c
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.00406e44
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.0042b718
test al, al
jne 0x4375e1
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x48]
mov eax, 0x16
call fcn.0042ae30
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x54]
xor ecx, ecx
pop eax
call fcn.00407750
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x48]
mov eax, dword [0x43b9d8]
mov eax, dword [eax]
call fcn.00423b54
mov edx, dword [ebp - 0x48]
mov eax, 0x437884
call fcn.0042ba28
jmp 0x437840
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x14]
call fcn.0041665c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
add eax, 0x28
mov ecx, dword [ebp - 0x10]
call fcn.0040387c
lea ecx, [ebp - 0x48]
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.00406db0
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.00403608
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, 0x20
call fcn.00406a8c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x43777e
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetFileSize_1
mov edi, eax
cmp edi, 0x10000
jle 0x437653
mov edi, 0x10000
mov eax, edi
call fcn.004025b0
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x437709
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x19], 0
xor eax, eax
mov dword [ebp - 0x20], eax
mov edx, edi
neg edx
mov ecx, 2
mov eax, dword [ebp - 0xc]
call fcn.00406b48
mov edx, dword [ebp - 0x18]
mov ecx, edi
mov eax, dword [ebp - 0xc]
call fcn.00406af0
mov esi, edi
sub esi, 6
cmp esi, 0
jl 0x4376f3
mov eax, 0x43789c
mov al, byte [eax]
call fcn.00402884
mov edx, dword [ebp - 0x18]
cmp al, byte [edx + esi]
jne 0x4376ed
mov byte [ebp - 0x19], 1
mov ebx, 1
mov eax, 0x43789c
mov al, byte [eax + ebx]
call fcn.00402884
lea edx, [ebx + esi]
mov ecx, dword [ebp - 0x18]
cmp al, byte [ecx + edx]
je 0x4376d7
mov byte [ebp - 0x19], 0
jmp 0x4376dd
inc ebx
cmp ebx, 6
jne 0x4376b9
cmp byte [ebp - 0x19], 0
je 0x4376ed
sub edi, esi
sub edi, 6
mov dword [ebp - 0x20], edi
jmp 0x4376f3
dec esi
cmp esi, 0xffffffff
jne 0x43769c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437710
mov eax, dword [ebp - 0x18]
call fcn.004025c8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43786f
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004035d8
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004035d8
ret
Function at 0x401250
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov dword [esp + 4], 0x2e
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcsrchr]
test eax, eax
mov ebx, eax
mov eax, 0x40d4f8
cmove ebx, eax
mov eax, ebx
call fcn.004011d0
test eax, eax
je 0x401290
mov ebx, dword [ebp - 4]
mov eax, 1
leave
ret
mov dword [esp + 4], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegQueryValueW
mov ebx, dword [ebp - 4]
sub esp, 0x10
test eax, eax
leave
sete al
movzx eax, al
add eax, eax
ret
Function at 0x4017e0
Capabilities:
Enumerate files on windows
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4ac
movzx ecx, word [edx]
mov dword [ebp - 0x480], eax
mov ebx, dword [eax + 0x14]
test cx, cx
je 0x401a25
lea edi, [ebp - 0x470]
mov eax, edx
mov dword [ebp - 0x484], edi
mov edx, edi
lea esi, [esi]
add eax, 2
mov word [edx], cx
add edx, 2
movzx ecx, word [eax]
test cx, cx
jne 0x401818
mov eax, dword [0x40d590]
mov dword [ebp - 0x490], edx
mov dword [edx], eax
xor eax, eax
mov word [edx + 4], ax
lea eax, [ebp - 0x268]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x484]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov dword [ebp - 0x47c], 0
sub esp, 8
mov dword [ebp - 0x488], eax
cmp eax, 0xffffffff
je 0x401a07
lea eax, [ebx + 1]
xor ebx, ebx
mov dword [ebp - 0x48c], eax
lea esi, [esi]
mov dword [esp + 8], 0x2b0
mov esi, ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [eax + 0x2a4], 0
mov ebx, eax
sub esp, 0xc
mov dword [eax + 0x2a8], 0
mov dword [eax + 0x2ac], 0
mov eax, dword [ebp - 0x47c]
test eax, eax
cmove eax, ebx
mov dword [ebp - 0x47c], eax
test esi, esi
je 0x4018e1
mov dword [esi], ebx
lea eax, [ebx + 0x18]
mov ecx, 0x94
lea esi, [ebp - 0x268]
mov edi, eax
mov eax, dword [ebp - 0x480]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x490]
mov dword [ebx + 4], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x48c]
mov dword [ebx + 0x2a0], 0
mov dword [ebx + 0x29c], 0
mov dword [ebx + 0x14], eax
xor eax, eax
lea esi, [esi]
lea esi, [esi]
movzx edx, word [ebx + eax + 0x44]
mov word [ecx + eax + 2], dx
add eax, 2
test dx, dx
jne 0x401940
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x2000000
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 7
mov dword [esp + 4], 0x80000000
mov eax, dword [ebp - 0x484]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
mov esi, eax
cmp eax, 0xffffffff
je 0x4019cb
lea eax, [ebx + 0x268]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_GetFileInformationByHandle]
sub esp, 8
test eax, eax
je 0x4019bf
mov dword [ebx + 0x29c], 1
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
lea eax, [ebp - 0x268]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x488]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
jne 0x401880
mov eax, dword [ebp - 0x488]
mov dword [ebx], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
sub esp, 4
mov eax, dword [ebp - 0x480]
mov edi, dword [ebp - 0x47c]
mov dword [eax + 0x10], 1
mov dword [eax + 4], edi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x470]
mov dword [ebp - 0x484], eax
mov edx, eax
jmp 0x401829
Function at 0x401b40
Capabilities:
Set application hook

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff0
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push ebx
mov ebx, eax
add eax, 0x164
sub esp, 0x40
mov dword [ebp - 0x34], eax
mov eax, dword [0x414020]
mov edx, dword [ebx + 0x154]
mov dword [ebp - 0x38], 0x40d4bc
mov ecx, dword [ebx + 0x150]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x14c]
movd xmm3, ecx
sub edx, eax
movd xmm0, eax
movd xmm1, edx
mov edx, dword [ebx + 0x158]
punpckldq xmm0, xmm3
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
sub edx, ecx
movd xmm2, edx
punpckldq xmm1, xmm2
punpcklqdq xmm0, xmm1
movups xmmword [ebp - 0x2c], xmm0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x401d10
mov dword [esp], 5
call sub.user32.dll_SetWindowsHookExW
mov dword [0x414bd8], ebx
sub esp, 0x10
mov dword [0x414bdc], eax
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x220
mov eax, dword [0x414044]
mov dword [esp], eax
call sub.user32.dll_SendMessageW
sub esp, 0x10
mov dword [ebx], eax
test eax, eax
mov eax, dword [0x414bdc]
mov dword [esp], eax
je 0x401cf0
call sub.user32.dll_UnhookWindowsHookEx
mov eax, dword [0x414060]
mov edx, 0x10
sub esp, 4
mov dword [esp + 8], 1
mov dword [esp + 4], 0x1a0
cmp eax, edx
cmovl eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.user32.dll_SendMessageW
mov eax, dword [0x414060]
mov edx, 0x10
sub esp, 0x10
mov dword [esp + 8], 1
mov dword [esp + 4], 0x1a0
cmp eax, edx
cmovl eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x98]
mov dword [esp], eax
call sub.user32.dll_SendMessageW
mov eax, dword [ebx + 0x94]
sub esp, 0x10
mov dword [esp + 8], 0
mov dword [esp + 4], 0x18f
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.user32.dll_SendMessageW
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x186
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.user32.dll_SendMessageW
mov eax, dword [ebx]
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
call sub.user32.dll_UnhookWindowsHookEx
xor eax, eax
sub esp, 4
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
Function at 0x401f60
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea eax, [ebp - 0x998]
lea ebx, [ebp - 0x808]
sub esp, 0x9c0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x9a0]
mov dword [esp + 8], eax
lea eax, [ebp - 0x9a8]
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetDiskFreeSpaceExW]
mov edx, eax
sub esp, 0x10
xor eax, eax
test edx, edx
jne 0x401ff0
lea esi, [esi]
nop
movzx edx, word [eax + 0x40d4e4]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x401fb0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40b
mov eax, dword [0x414048]
mov dword [esp], eax
call sub.user32.dll_SendMessageW
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
lea eax, [ebp - 0x908]
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x9a4]
lea esi, [ebp - 0x988]
mov eax, dword [ebp - 0x9a8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.shlwapi.dll_StrFormatByteSizeW
mov dword [ebp - 0x990], eax
lea eax, [ebp - 0x888]
sub esp, 0x10
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x99c]
mov eax, dword [ebp - 0x9a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.shlwapi.dll_StrFormatByteSizeW
sub esp, 0x10
mov dword [ebp - 0x98c], eax
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], esi
mov dword [esp + 4], 0x4c3
mov eax, dword [0x414020]
mov dword [esp], eax
call sub.user32.dll_LoadStringW
lea eax, [ebp - 0x990]
sub esp, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0x400
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], 0x2400
call dword [sym.imp.kernel32.dll_FormatMessageW]
sub esp, 0x1c
jmp 0x401fc3