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

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 8
mov eax, 0x4b2bb2
call fcn.004764b0
mov edi, dword [ebp + 0x80c]
mov dword [ebp - 0x10], ecx
mov esi, 0x4f9e00
push esi
lea ecx, [ebp - 0x14]
call fcn.0040293e
mov ecx, dword [ebp - 0x10]
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.004600b7
mov ebx, dword [ebp - 0x14]
cmp dword [ebx - 0xc], 0
jne 0x4604df
lea ecx, [ebx - 0x10]
call fcn.00402963
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.0047548a
add ebp, 0x804
leave
ret 4
push 0x800
lea eax, [ebp]
push 0
push eax
call fcn.00475410
add esp, 0xc
push str.360leakfixer.exe
push ebx
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4604b0
mov ecx, dword [ebp - 0x10]
call fcn.0045ec1e
mov ebx, eax
test ebx, ebx
jne 0x460526
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
jmp 0x4604b3
push esi
lea ecx, [ebp - 0x10]
call fcn.0040293e
push dword [edi]
lea eax, [ebp - 0x10]
push str._silent3__id_s___p0
push eax
mov byte [ebp - 4], 1
call fcn.00403b17
mov edi, dword [ebp - 0x10]
mov eax, dword [ebx]
add esp, 0xc
push 0xffffffffffffffff
xor esi, esi
push esi
push esi
push 1
push esi
push edi
lea ecx, [ebp]
push ecx
push ebx
call dword [eax + 0x28]
test eax, eax
jne 0x46057b
lea ecx, [edi - 0x10]
call fcn.00402963
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402963
mov eax, esi
jmp 0x4604ba
xor esi, esi
inc esi
jmp 0x460561
Function at 0x460bda
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x460c48
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
push edi
test eax, eax
je 0x460c42
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
jmp 0x460c4d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Non_existent_Process
mov ecx, esi
call fcn.0040260e
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0047548a
leave
ret 8
Function at 0x461947
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0xc
mov eax, 0x4b2e78
call fcn.004764b0
xor eax, eax
push 0x7fe
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
mov ebx, ecx
call fcn.00475410
add esp, 0xc
lea eax, [ebp]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ecx
lea eax, [ebp]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0040260e
call fcn.0044207c
pop ecx
test eax, eax
jne 0x4619fc
push 0x96
lea ecx, [ebp - 0x10]
call fcn.00432535
mov esi, eax
and dword [ebp - 4], 0
push 0xd4
lea ecx, [ebp - 0x14]
call fcn.00432535
push 1
push 0x40
push dword [esi]
mov ecx, ebx
push dword [eax]
mov byte [ebp - 4], 1
push 0
call fcn.0045fa13
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
xor eax, eax
jmp 0x4619ff
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.0047548a
add ebp, 0x804
leave
ret
Function at 0x461a22
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
sub esp, 0x210
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x210], eax
push 0x18
mov eax, 0x4b2ec9
call fcn.004764b0
mov eax, dword [ebp + 0x21c]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ebx
mov eax, dword [edi + 8]
cmp eax, ebx
jne 0x461a84
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x210]
xor ecx, ebp
call fcn.0047548a
add ebp, 0x214
leave
ret 4
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov ecx, edi
mov dword [ebp - 0x1c], eax
call fcn.0045ec1e
mov esi, eax
cmp esi, ebx
je 0x461a5d
push 0x4f9e00
lea ecx, [ebp - 0x14]
call fcn.0040293e
push 0x4fbd68
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.004600b7
push dword [0x4fbd68]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x461b2c
push dword [0x4fbd68]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
jne 0x461b2c
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.00475410
add esp, 0xc
push 1
push 0x23
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040260e
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.0045fbba
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00402963
jmp 0x461b39
push 0x4fbd68
lea ecx, [ebp - 0x14]
call fcn.00401df2
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
mov ecx, dword [esi]
cdq
push edx
push eax
push edi
push esi
call dword [ecx + 0x34]
test eax, eax
je 0x461b6a
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00403c36
call fcn.0044207c
pop ecx
cmp eax, ebx
jne 0x461c29
push dword [ebp - 0x1c]
mov eax, dword [esi]
push esi
call dword [eax + 0x58]
movzx ecx, ax
cmp cx, bx
jne 0x461b88
lea ecx, [edi - 0x10]
call fcn.00402963
jmp 0x461a5d
xor eax, eax
push 0x3a
lea edi, [ebp + 0x20a]
stosd dword es:[edi], eax
pop eax
mov word [ebp + 0x20a], ax
lea eax, [ebp + 0x208]
mov word [ebp + 0x208], cx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040260e
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push ebx
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], 1
call fcn.0045fbba
add esp, 0xc
test eax, eax
je 0x461bed
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.00403c36
call fcn.0044207c
pop ecx
mov byte [ebp - 0xd], bl
cmp eax, ebx
jne 0x461bf1
mov byte [ebp - 0xd], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov dword [ebp - 4], ebx
call fcn.00402963
cmp byte [ebp - 0xd], bl
je 0x461c29
push ebx
push ebx
push 0x99
call fcn.00402eb7
mov ecx, eax
call fcn.00402f48
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402963
mov eax, ebx
jmp 0x461a5f
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push eax
call fcn.00401df2
xor ebx, ebx
inc ebx
jmp 0x461c17
Function at 0x4631a7
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00475410
movzx eax, word [ebp + 8]
push eax
push str.._c:
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004159f8
add esp, 0x1c
push esi
push esi
push 3
push esi
push 3
push SysReAllocStringLen
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x463216
xor eax, eax
jmp 0x463257
push esi
lea eax, [ebp - 0x210]
push eax
push 0xc
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push 0x2d1080
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push ebx
test eax, eax
jne 0x463242
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x463212
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, esi
je 0x463254
mov eax, dword [ebp - 0x218]
mov dword [edi], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047548a
leave
ret 8
Function at 0x46568f
Capabilities:
Get disk information
Get storage device properties

Disassembly:
push ebp
sub esp, 0x414
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x414], eax
push 0xc
mov eax, 0x4b335e
call fcn.004764b0
mov eax, dword [ebp + 0x420]
mov ax, word [eax]
mov esi, 0x4c3e88
lea edi, [ebp + 0x40c]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov word [ebp + 0x40c], ax
lea eax, [ebp + 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x46570a
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x414]
xor ecx, ebp
call fcn.0047548a
add ebp, 0x418
leave
ret 4
push 0x4bb998
lea ecx, [ebp - 0x14]
call fcn.0040260e
lea eax, [ebp + 0x40c]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.00403af2
push 0x3ff
lea eax, [ebp + 0xd]
push ebx
push eax
mov dword [ebp - 0x18], ebx
mov byte [ebp + 0xc], bl
call fcn.00475410
add esp, 0xc
push 0x4f9e00
lea ecx, [ebp - 0x10]
call fcn.0040293e
mov esi, 0x400
push esi
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004161c9
push eax
lea eax, [ebp + 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0040b33f
cmp edi, ebx
jbe 0x4657b6
mov edi, str.DeviceHarddisk
push edi
call fcn.00475eae
push eax
push edi
mov edi, dword [ebp - 0x10]
push edi
call fcn.00477d0d
add esp, 0x10
test eax, eax
je 0x4657b6
lea ecx, [edi - 0x10]
call fcn.00402963
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402963
jmp 0x4656e3
push ebx
push 0x80
push 3
push ebx
push 1
push 0x20000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4657f3
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402963
mov eax, ebx
jmp 0x4656e5
push ebx
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0xc
lea eax, [ebp]
push eax
push 0x2d1400
push edi
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x465828
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
inc ebx
jmp 0x4657d6
xor esi, esi
inc esi
cmp dword [ebp + 0x28], 4
je 0x465837
cmp dword [ebp + 0x28], 7
jne 0x465839
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, esi
jmp 0x4657d6
Function at 0x465977
Capabilities:
Get disk information

Disassembly:
push 0x18
mov eax, 0x4b33b1
call fcn.004764b0
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
call fcn.00465844
test eax, eax
je 0x465a8e
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push ebx
push ebx
call esi
push 0x4f9e7c
xor ecx, ecx
push 2
pop edx
mov edi, eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00477a54
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x465a8b
push eax
push edi
call esi
test eax, eax
je 0x465a82
mov esi, dword [ebp - 0x20]
or dword [ebp - 0x1c], 0xffffffff
cmp word [esi], bx
je 0x465a82
mov ecx, dword [ebp - 0x10]
push esi
call fcn.0046568f
test eax, eax
je 0x465a53
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
movzx eax, word [esi]
push eax
mov dword [ebp - 0x14], ebx
call fcn.00465844
test eax, eax
je 0x465a53
mov edi, dword [ebp - 0x14]
cmp edi, dword [ebp - 0x18]
je 0x465a53
cmp edi, dword [ebp - 0x1c]
je 0x465a53
push 0x4f9e00
lea ecx, [ebp + 8]
mov dword [ebp - 0x1c], edi
call fcn.0040293e
lea eax, [ebp + 8]
push eax
push edi
mov dword [ebp - 4], ebx
call fcn.00463532
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
cmp eax, ebx
jne 0x465a76
or dword [ebp - 4], 0xffffffff
call fcn.00402963
lea eax, [ebp - 0x14]
push eax
push SysReAllocString
push esi
mov dword [ebp - 0x14], ebx
call fcn.00462c88
mov eax, dword [ebp - 0x14]
lea esi, [esi + eax*2 + 2]
cmp esi, ebx
jne 0x4659e7
jmp 0x465a82
mov dword [ebp - 0x24], 1
call fcn.00402963
push dword [ebp - 0x20]
call fcn.00476b24
pop ecx
mov eax, dword [ebp - 0x24]
call fcn.00476588
ret 0xc
Function at 0x465a96
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
xor esi, esi
push 4
pop edi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], edi
cmp dword [ebp + 8], esi
je 0x465b75
push ebx
mov ebx, dword [sym.imp.WININET.dll_HttpSendRequestW]
mov eax, dword [ebp + 0xc]
dec dword [ebp + 0xc]
test eax, eax
jle 0x465b74
push esi
push esi
push esi
push esi
push dword [ebp + 8]
call ebx
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x465b36
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f0d
je 0x465aee
cmp eax, 0x2f19
jne 0x465b27
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x1f
push dword [ebp + 8]
mov dword [ebp - 4], edi
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [ebp - 0xc], 0x3180
push edi
lea eax, [ebp - 0xc]
push eax
push 0x1f
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push esi
push esi
push esi
push esi
push dword [ebp + 8]
call ebx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], esi
jne 0x465abc
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x465abc
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x20000013
push dword [ebp + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [ebp - 4], eax
cmp eax, esi
je 0x465b2c
cmp dword [ebp - 8], 0xc8
je 0x465b74
cmp dword [ebp - 8], 0xce
je 0x465b74
mov dword [ebp - 4], esi
jmp 0x465abc
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 8

Function at 0x465b7e
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [ebp + 8]
push ebx
xor ebx, ebx
cmp ax, bx
je 0x465c13
push esi
push edi
mov esi, str..A:
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
push ebx
push 3
movsd dword es:[edi], dword [esi]
push ebx
push 3
movsw word es:[edi], word [esi]
mov word [ebp - 0xc], ax
push SysReAllocStringLen
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x465c11
push 9
pop ecx
push 0x28
xor eax, eax
mov dword [ebp - 0x48], ebx
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
pop eax
push ebx
lea ecx, [ebp - 0x4c]
push ecx
push eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
push 0xc
lea eax, [ebp - 0x20]
push eax
push 0x2d1400
push esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x465c0a
cmp dword [ebp - 0x2c], 7
jne 0x465c0a
inc ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0047548a
leave
ret 4
Function at 0x465c24
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push 0x118
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00475410
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 6
mov ecx, dword [ebp + 0x9c]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0047548a
add ebp, 0xa0
leave
ret

Function at 0x46612c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor edi, edi
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.00475410
push dword [esi]
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00478194
push 0x4d2b48
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004767fa
add esp, 0x24
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4661b8
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047548a
leave
ret 4
cmp word [ebp - 0x430], 0x2e
jne 0x4661d7
lea eax, [ebp - 0x45c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4661b8
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
jmp 0x4661a8

Function at 0x466414
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
xor eax, eax
cmp esi, eax
jne 0x466423
xor eax, eax
pop esi
ret
push eax
push eax
push eax
push dword [esi + 0x10]
call fcn.00401f29
test eax, eax
je 0x46641f
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
ret

Function at 0x46647f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test ecx, ecx
je 0x46648c
lea esi, [ecx - 0x34]
jmp 0x46648e
xor esi, esi
cmp byte [ecx + 0x1c], 0
je 0x4664c2
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x4664b3
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4664c8
cmp dword [ebp + 0xc], 0
jne 0x4664c2
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x4664dd
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0x10]
push eax
lea ecx, [esi + 0x34]
call fcn.004661e2
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x466d91
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x424
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x424], eax
push 0x1c
mov eax, 0x4b346e
call fcn.004764b0
xor esi, esi
push 6
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0x4d830c
lea ecx, [ebp - 0x18]
call fcn.00441209
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x430]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.00432c08
add esp, 0xc
push eax
lea ecx, [ebp + 0x430]
mov byte [ebp - 4], 2
call fcn.00401df2
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00402963
lea ecx, [ebp + 0x430]
call fcn.00440973
mov dword [ebp - 0x14], eax
xor eax, eax
push 0x206
mov word [ebp + 0x14], ax
lea eax, [ebp + 0x16]
push esi
push eax
call fcn.00475410
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp + 0x14]
push eax
call edi
push str.Shell32.dll
lea eax, [ebp + 0x14]
push esi
push eax
call fcn.004767fa
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
add esp, 0xc
lea eax, [ebp + 0x14]
push eax
call ebx
push str.SHCreateItemFromParsingName
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x466f7f
lea ecx, [ebp - 0x10]
push ecx
push 0x4bb7cc
push 0
push dword [ebp - 0x14]
call eax
test eax, eax
jl 0x466f7f
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x21c], ax
lea eax, [ebp + 0x21e]
push eax
call fcn.00475410
add esp, 0xc
push esi
lea eax, [ebp + 0x21c]
push eax
call edi
push str.Propsys.dll
lea eax, [ebp + 0x21c]
push esi
push eax
call fcn.004767fa
add esp, 0xc
lea eax, [ebp + 0x21c]
push eax
call ebx
push str.PSGetPropertyKeyFromName
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x466f7f
lea ecx, [ebp]
push ecx
push str.System.Volume.BitLockerProtection
call eax
test eax, eax
jl 0x466f7f
push 0x10
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00475410
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp]
push edx
push eax
call dword [ecx + 0x34]
test eax, eax
jl 0x466f7f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov esi, dword [ebp - 0x20]
push eax
call dword [ecx + 8]
cmp esi, 1
je 0x466f47
cmp esi, 3
je 0x466f47
cmp esi, 5
je 0x466f47
xor esi, esi
jmp 0x466f4a
xor esi, esi
inc esi
mov ecx, dword [ebp + 0x430]
add ecx, 0xfffffff0
call fcn.00402963
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x424]
xor ecx, ebp
call fcn.0047548a
add ebp, 0x428
leave
ret 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x466f43
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x466f43
Function at 0x468e9d
Capabilities:
Hide graphical window

Disassembly:
push 0xa0
mov eax, 0x4b369e
call fcn.004764b0
mov esi, ecx
cmp dword [ebp + 8], 0x64
jne 0x468f8d
push 0x64
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
xor ebx, ebx
push ebx
push ebx
push 1
push 4
lea edi, [esi + 0xe4]
push edi
push 0x421
lea ecx, [esi + 0x54]
call fcn.0046686c
lea ecx, [ebp - 0xac]
call fcn.00440faf
push 0x4f9e00
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.0040293e
push edi
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 1
call fcn.00442c1a
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
push eax
mov dword [0x4f7c60], eax
push 0x44e
push dword [esi + 4]
call fcn.0043db5e
add esp, 0xc
push edi
mov ecx, 0x4f7c6c
call fcn.00401df2
push dword [ebp - 0x4c]
lea ecx, [ebp + 8]
call fcn.00402894
mov ecx, 0x4f7c20
call fcn.0043a044
cmp eax, ebx
je 0x468f5d
mov ecx, eax
call fcn.0045e6f9
push edi
mov ecx, eax
call fcn.00401df2
push dword [ebp - 0x4c]
push 0x424
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402963
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00440bb5
jmp 0x469093
cmp dword [ebp + 8], 0x65
jne 0x46907b
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, 0x2853
push ebx
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x469093
push 0x2854
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x469093
cmp dword [esi + 0xf0], 0
je 0x469052
inc dword [esi + 0xec]
mov eax, dword [esi + 0xec]
cmp eax, 8
jae 0x469041
push ebx
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46901d
push ebx
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
push 0x2854
push dword [esi + 4]
call edi
push 5
push eax
call ebx
jmp 0x469093
push 0x2854
push dword [esi + 4]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [esi + 4]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x469093
cmp eax, 0x17
jbe 0x469093
mov dword [esi + 0xec], 1
jmp 0x469093
push ebx
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
push 0x2854
push dword [esi + 4]
call edi
push 0
push eax
call ebx
and dword [esi + 0xec], 0
jmp 0x469093
cmp dword [ebp + 8], 0x66
jne 0x469093
push 0x66
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, esi
call fcn.00468c57
call fcn.00476588
ret 4

Function at 0x4697ac
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 3
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4697d2
cmp dword [ebp - 4], 0
je 0x4697e7
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret