joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46084c
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4f2be0]
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 0x4608ba
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
push edi
test eax, eax
je 0x4608b4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
jmp 0x4608bf
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Non_existent_Process
mov ecx, esi
call fcn.00402675
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00474a8a
leave
ret 8

Function at 0x46130e
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0xc
mov eax, 0x4b2467
call fcn.00475a5f
xor eax, eax
push 0x7fe
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
mov ebx, ecx
call fcn.00474a10
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.00402675
call fcn.004422e7
pop ecx
test eax, eax
jne 0x4613c3
push 0x96
lea ecx, [ebp - 0x10]
call fcn.00432299
mov esi, eax
and dword [ebp - 4], 0
push 0xd4
lea ecx, [ebp - 0x14]
call fcn.00432299
push 1
push 0x40
push dword [esi]
mov ecx, ebx
push dword [eax]
mov byte [ebp - 4], 1
push 0
call fcn.0045f627
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004029d4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004029d4
xor eax, eax
jmp 0x4613c6
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.00474a8a
add ebp, 0x804
leave
ret
Function at 0x4613e9
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
sub esp, 0x210
lea ebp, [esp - 4]
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x210], eax
push 0x18
mov eax, 0x4b24b8
call fcn.00475a5f
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 0x46144b
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.00474a8a
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.0045e91a
mov esi, eax
cmp esi, ebx
je 0x461424
push 0x4f8ce0
lea ecx, [ebp - 0x14]
call fcn.004029af
push 0x4fac48
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.0045fd29
push dword [0x4fac48]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4614f3
push dword [0x4fac48]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
jne 0x4614f3
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.00474a10
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.00402675
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.0045f82c
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.004029d4
jmp 0x461500
push 0x4fac48
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 0x461531
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00403cb4
call fcn.004422e7
pop ecx
cmp eax, ebx
jne 0x4615f0
push dword [ebp - 0x1c]
mov eax, dword [esi]
push esi
call dword [eax + 0x58]
movzx ecx, ax
cmp cx, bx
jne 0x46154f
lea ecx, [edi - 0x10]
call fcn.004029d4
jmp 0x461424
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.00402675
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.0045f82c
add esp, 0xc
test eax, eax
je 0x4615b4
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.00403cb4
call fcn.004422e7
pop ecx
mov byte [ebp - 0xd], bl
cmp eax, ebx
jne 0x4615b8
mov byte [ebp - 0xd], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov dword [ebp - 4], ebx
call fcn.004029d4
cmp byte [ebp - 0xd], bl
je 0x4615f0
push ebx
push ebx
push 0x99
call fcn.00402f1e
mov ecx, eax
call fcn.00402faf
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004029d4
mov eax, ebx
jmp 0x461426
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push eax
call fcn.00401df2
xor ebx, ebx
inc ebx
jmp 0x4615de
Function at 0x462b6e
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4f2be0]
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.00474a10
movzx eax, word [ebp + 8]
push eax
push str.._c:
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00415a65
add esp, 0x1c
push esi
push esi
push 3
push esi
push 3
push closesocket
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x462bdd
xor eax, eax
jmp 0x462c1e
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 0x462c09
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x462bd9
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, esi
je 0x462c1b
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.00474a8a
leave
ret 8
Function at 0x465055
Capabilities:
Get disk information
Get storage device properties

Disassembly:
push ebp
sub esp, 0x414
lea ebp, [esp - 4]
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x414], eax
push 0xc
mov eax, 0x4b291a
call fcn.00475a5f
mov eax, dword [ebp + 0x420]
mov ax, word [eax]
mov esi, 0x4c3b48
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 0x4650d0
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.00474a8a
add ebp, 0x418
leave
ret 4
push 0x4bb570
lea ecx, [ebp - 0x14]
call fcn.00402675
lea eax, [ebp + 0x40c]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.00403b59
push 0x3ff
lea eax, [ebp + 0xd]
push ebx
push eax
mov dword [ebp - 0x18], ebx
mov byte [ebp + 0xc], bl
call fcn.00474a10
add esp, 0xc
push 0x4f8ce0
lea ecx, [ebp - 0x10]
call fcn.004029af
mov esi, 0x400
push esi
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00416210
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.0040b382
cmp edi, ebx
jbe 0x46517c
mov edi, str.DeviceHarddisk
push edi
call fcn.004754ae
push eax
push edi
mov edi, dword [ebp - 0x10]
push edi
call fcn.004772ee
add esp, 0x10
test eax, eax
je 0x46517c
lea ecx, [edi - 0x10]
call fcn.004029d4
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004029d4
jmp 0x4650a9
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 0x4651b9
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004029d4
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004029d4
mov eax, ebx
jmp 0x4650ab
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 0x4651ee
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
inc ebx
jmp 0x46519c
xor esi, esi
inc esi
cmp dword [ebp + 0x28], 4
je 0x4651fd
cmp dword [ebp + 0x28], 7
jne 0x4651ff
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, esi
jmp 0x46519c
Function at 0x46533d
Capabilities:
Get disk information

Disassembly:
push 0x18
mov eax, 0x4b296d
call fcn.00475a5f
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.0046520a
test eax, eax
je 0x465454
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push ebx
push ebx
call esi
push 0x4f8d5c
xor ecx, ecx
push 2
pop edx
mov edi, eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00477035
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x465451
push eax
push edi
call esi
test eax, eax
je 0x465448
mov esi, dword [ebp - 0x20]
or dword [ebp - 0x1c], 0xffffffff
cmp word [esi], bx
je 0x465448
mov ecx, dword [ebp - 0x10]
push esi
call fcn.00465055
test eax, eax
je 0x465419
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
movzx eax, word [esi]
push eax
mov dword [ebp - 0x14], ebx
call fcn.0046520a
test eax, eax
je 0x465419
mov edi, dword [ebp - 0x14]
cmp edi, dword [ebp - 0x18]
je 0x465419
cmp edi, dword [ebp - 0x1c]
je 0x465419
push 0x4f8ce0
lea ecx, [ebp + 8]
mov dword [ebp - 0x1c], edi
call fcn.004029af
lea eax, [ebp + 8]
push eax
push edi
mov dword [ebp - 4], ebx
call fcn.00462ef9
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
cmp eax, ebx
jne 0x46543c
or dword [ebp - 4], 0xffffffff
call fcn.004029d4
lea eax, [ebp - 0x14]
push eax
push closesocket
push esi
mov dword [ebp - 0x14], ebx
call fcn.0046264f
mov eax, dword [ebp - 0x14]
lea esi, [esi + eax*2 + 2]
cmp esi, ebx
jne 0x4653ad
jmp 0x465448
mov dword [ebp - 0x24], 1
call fcn.004029d4
push dword [ebp - 0x20]
call fcn.004760d4
pop ecx
mov eax, dword [ebp - 0x24]
call fcn.00475b37
ret 0xc
Function at 0x46545c
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 0x46553b
push ebx
mov ebx, dword [sym.imp.WININET.dll_HttpSendRequestW]
mov eax, dword [ebp + 0xc]
dec dword [ebp + 0xc]
test eax, eax
jle 0x46553a
push esi
push esi
push esi
push esi
push dword [ebp + 8]
call ebx
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x4654fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f0d
je 0x4654b4
cmp eax, 0x2f19
jne 0x4654ed
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 0x465482
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x465482
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 0x4654f2
cmp dword [ebp - 8], 0xc8
je 0x46553a
cmp dword [ebp - 8], 0xce
je 0x46553a
mov dword [ebp - 4], esi
jmp 0x465482
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 8

Function at 0x465a0e
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x4f2be0]
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.00474a10
push dword [esi]
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00477775
push 0x4d27d8
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00475da9
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 0x465a9a
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00474a8a
leave
ret 4
cmp word [ebp - 0x430], 0x2e
jne 0x465ab9
lea eax, [ebp - 0x45c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x465a9a
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
jmp 0x465a8a

Function at 0x465cf6
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
xor eax, eax
cmp esi, eax
jne 0x465d05
xor eax, eax
pop esi
ret
push eax
push eax
push eax
push dword [esi + 0x10]
call fcn.00401f29
test eax, eax
je 0x465d01
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
ret
Function at 0x465d61
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test ecx, ecx
je 0x465d6e
lea esi, [ecx - 0x34]
jmp 0x465d70
xor esi, esi
cmp byte [ecx + 0x1c], 0
je 0x465da4
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x465d95
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x465daa
cmp dword [ebp + 0xc], 0
jne 0x465da4
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x465dbf
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0x10]
push eax
lea ecx, [esi + 0x34]
call fcn.00465ac4
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x468441
Capabilities:
Hide graphical window

Disassembly:
push 0xe8
mov eax, 0x4b2c42
call fcn.00475a5f
mov esi, ecx
mov eax, dword [ebp + 8]
cmp eax, 0x64
jne 0x468538
push eax
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.00440e63
lea ecx, [ebp - 0xf4]
call fcn.0044101d
push 0x4f8ce0
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.004029af
push edi
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 1
call fcn.00442e85
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
push eax
mov dword [0x4f6b40], eax
push 0x44e
push dword [esi + 4]
call fcn.0043d91d
add esp, 0xc
push edi
mov ecx, 0x4f6b4c
call fcn.00401df2
push dword [ebp - 0x94]
lea ecx, [ebp + 8]
call fcn.004028fb
mov ecx, 0x4f6b00
call fcn.00439d94
cmp eax, ebx
je 0x468505
mov ecx, eax
call fcn.0045e3b7
push edi
mov ecx, eax
call fcn.00401df2
push dword [ebp - 0x94]
push 0x424
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004029d4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf4]
call fcn.00440b63
jmp 0x468686
cmp eax, 0x65
jne 0x468633
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 0x468686
push 0x2854
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x468686
cmp dword [esi + 0xf0], 0
je 0x46860a
inc dword [esi + 0xec]
mov eax, dword [esi + 0xec]
cmp eax, 8
jae 0x4685f5
push ebx
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4685ce
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 0x468686
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 0x468686
cmp eax, 0x17
jbe 0x468686
mov dword [esi + 0xec], 1
jmp 0x468686
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 0x468686
cmp eax, 0x66
jne 0x46864b
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, esi
call fcn.004681fb
jmp 0x468686
cmp eax, 0x67
jne 0x468686
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [ebp - 0x54]
call fcn.0044ffac
push 0
mov dword [ebp - 4], 2
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x54]
call fcn.00466158
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.0044fedc
call fcn.00475b37
ret 4
Function at 0x468d15
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 0x468d3b
cmp dword [ebp - 4], 0
je 0x468d50
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
Function at 0x468fb6
Capabilities:
Delete file
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x3a4], eax
push edi
xor edi, edi
push edi
push 1
push 0x4f79a0
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x468fee
xor eax, eax
inc eax
jmp 0x469196
push esi
push str.DRIVERDLL
push 0x1389
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x46900d
xor eax, eax
jmp 0x469195
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov dword [ebp - 0x70], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, edi
jne 0x46902e
xor eax, eax
jmp 0x469194
mov esi, 0x208
push esi
lea eax, [ebp + 0x19c]
push edi
push eax
mov dword [ebp - 0x74], edi
call fcn.00474a10
push esi
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.00474a10
add esp, 0x18
lea eax, [ebp - 0x6c]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jbe 0x46907d
lea eax, [ebp + 0x19c]
push eax
push edi
push 0x4c41a4
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp word [ebp + 0x19c], di
jne 0x46909b
push 0x4c4180
lea eax, [ebp + 0x19c]
push esi
push eax
call fcn.00477775
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, edi
je 0x469191
push edi
push edi
push 2
push edi
push 1
push 0x40000000
lea eax, [ebp + 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x469191
push edi
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x80], edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x469184
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp + 0x19c]
push edi
push eax
call fcn.00402402
pop ecx
pop ecx
test eax, eax
je 0x469184
lea eax, [ebp + 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, edi
je 0x469184
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4c4178
push ebx
call esi
push 0x4c4174
push ebx
mov dword [ebp - 0x7c], eax
call esi
push 0x4c4170
push ebx
mov dword [ebp - 0x78], eax
call esi
push 0x4c4168
push ebx
mov dword [ebp - 0x70], eax
call esi
mov esi, eax
cmp dword [ebp - 0x7c], edi
je 0x46917d
cmp dword [ebp - 0x78], edi
je 0x46917d
cmp dword [ebp - 0x70], edi
je 0x46917d
cmp esi, edi
je 0x46917d
call dword [ebp - 0x7c]
test al, al
je 0x46917d
xor edi, edi
inc edi
push edi
push 0x4c4154
call dword [ebp - 0x78]
pop ecx
pop ecx
call dword [ebp - 0x70]
test al, al
je 0x46917b
mov dword [ebp - 0x74], edi
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp + 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x74]
pop ebx
pop esi
mov ecx, dword [ebp + 0x3a4]
xor ecx, ebp
pop edi
call fcn.00474a8a
add ebp, 0x3a8
leave
ret
Function at 0x46988f
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
je 0x46989d
cmp eax, 0xffffffff
jne 0x4698b7
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x46980e
push 0
push 0
call fcn.004755c9
add esp, 0x18
mov dword [esi], eax
mov esi, dword [esi]
test esi, esi
je 0x4698c7
cmp esi, 0xffffffff
je 0x4698c7
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x46a090
Capabilities:
Get common file path
Get disk information
Get disk size

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x4b2c8b
call fcn.00475a5f
xor eax, eax
push 0x206
mov word [ebp], ax
xor edi, edi
lea eax, [ebp + 2]
push edi
push eax
mov esi, ecx
call fcn.00474a10
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx ebx, word [ebp]
push 0x4f8ce0
lea ecx, [ebp - 0x10]
call fcn.004029af
movzx eax, bx
push eax
lea eax, [ebp - 0x10]
push str._c:_
push eax
mov dword [ebp - 4], edi
call fcn.00403b7e
mov ebx, dword [ebp - 0x10]
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x46a14a
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
lea ecx, [ebx - 0x10]
call fcn.004029d4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00474a8a
add ebp, 0x20c
leave
ret
push 8
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.00474a10
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x46a172
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
jmp 0x46a185
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
shrd eax, ecx, 0x14
shr ecx, 0x14
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
xor edi, edi
inc edi
jmp 0x46a11d

Function at 0x46a291
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xd4
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x52]
push eax
mov esi, ecx
call fcn.00474a10
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
push str.ipartner
push str.SOFTWARE360SafeCoop
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x5c], 0x64
mov dword [ebp - 0x58], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x54]
push eax
lea ecx, [esi + 0x30]
call fcn.004028fb
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop esi
call fcn.00474a8a
add ebp, 0x78
leave
ret