joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4541b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4541ec]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4541cd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4541dc
or bl, 4
test esi, 0x20000000
je 0x4541e7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45a894
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45a8a6
add esp, 0xfffffff0
call fcn.00403740
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424f6c
mov eax, dword [0x49f84c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45ac38
mov eax, dword [0x49f860]
mov dword [eax + 4], ebx
mov dword [eax], 0x45ac44
mov eax, ebx
call fcn.0045ac50
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419ae8]
call fcn.004033c4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419ae8]
call fcn.004033c4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x419ae8]
call fcn.004033c4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x419ae8]
call fcn.004033c4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x419ae8]
call fcn.004033c4
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45706c
push eax
push 0
push 0
mov eax, dword [0x49fb10]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x426998]
call fcn.00427ddc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x426998]
call fcn.00427ddc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x426998]
call fcn.00427ddc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045b070
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45af4c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45af4c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45af4c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a9e3
call fcn.00403798
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45ad30
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45aedb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45aebc
mov dl, 1
mov eax, dword [0x41a14c]
call fcn.004033c4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004041f0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45aeab
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00448d3c
test al, al
je 0x45ae9e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45aeec
lea eax, [ebp - 0x254]
call fcn.0040990c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45ae9e
xor eax, eax
push ebp
push 0x45ae97
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45af24
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45ae80
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404460
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45ae80
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404460
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ae9e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45ada1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041e9d0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45aee2
lea eax, [ebp - 0x260]
call fcn.004041f0
ret

Function at 0x45b810
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4a0bb8]
cmp byte [eax + 0xa5], 0
jne 0x45b881
cmp dword [0x4a0bd0], 0
jne 0x45b842
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45b7cc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a0bd0], eax
cmp dword [0x4a0bcc], 0
jne 0x45b85d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a0bcc], eax
cmp dword [0x4a0bd4], 0
jne 0x45b881
push esp
push 0
push 0
push 0x45b770
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4a0bd4], eax
pop edx
ret
Function at 0x45b978
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45b98f
add esp, 0xfffffff0
call fcn.00403740
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424f6c
mov eax, dword [0x49faf0]
cmp word [eax + 2], 0
jne 0x45b9b7
mov eax, dword [0x49faf0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d050
mov eax, dword [0x49fc40]
cmp word [eax + 2], 0
jne 0x45b9d1
mov eax, dword [0x49fc40]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d248
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419ae8]
call fcn.004033c4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419ae8]
call fcn.004033c4
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x427148]
call fcn.0042cd90
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45bb58
mov eax, dword [0x49f910]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042d160
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45d7e8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x49f910]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d7dc
test eax, eax
je 0x45bac6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004092d0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d804
test eax, eax
je 0x45bada
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404460
mov eax, dword [0x49f6c0]
cmp byte [eax], 0
jne 0x45bb0e
mov eax, ebx
call fcn.0045bc80
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045d9c4
mov eax, ebx
call fcn.0045e388
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45bb4e
call fcn.00403798
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45bf00
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a0bb8]
cmp dword [eax + 0x30], 0
je 0x45bfaa
cmp dword [ebx + 0x94], 0
jne 0x45bfa4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45be90
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45bfa4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45bf6a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45bfa4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041c424
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45bf79
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45cb0c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45cb41
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004042e0
jmp 0x45cb4e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404244
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45dba0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45dbe1
mov eax, esi
call fcn.00444368
test al, al
je 0x45dbe1
mov eax, dword [ebx + 0x84]
call fcn.00444064
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45dbe1
push 0
mov eax, dword [ebx + 0x84]
call fcn.00444064
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4686b4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4687ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0041d0d8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 2
jne 0x468730
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x468730
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00408574
mov edx, dword [ebp - 0x14]
mov ebx, dword [0x49f778]
mov ebx, dword [ebx]
mov eax, 0x468804
call ebx
dec eax
jne 0x468730
mov ebx, 1
jmp 0x468732
xor ebx, ebx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
sub eax, ebx
jl 0x4687d3
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ebx
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.004681c4
test al, al
jne 0x4687c7
mov eax, dword [ebp - 4]
call fcn.004686a8
mov ebx, eax
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x1c]
call fcn.00404244
xor edx, edx
push ebp
push 0x4687b5
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x30]
test al, al
je 0x4687ab
mov edx, eax
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.00468adc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4687c7
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x46874a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4687f5
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404214
ret

Function at 0x48f3bf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x49f4de
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48f417
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x49f4ff
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x48f40d
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x48f41b
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x10b0b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.10b0b1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10b0b07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10b0b06a
add dl, dl
jne 0x10b0b089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10b0b0dc
xor eax, eax
add dl, dl
jne 0x10b0b096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10b0b17d
add dl, dl
jne 0x10b0b0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10b0b0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10b0b0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10b0b0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10b0b0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10b0b075
mov eax, 1
add dl, dl
jne 0x10b0b0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10b0b0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10b0b0e1
sub eax, ebx
mov ebx, 1
jne 0x10b0b128
mov ecx, 1
add dl, dl
jne 0x10b0b10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10b0b119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10b0b105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10b0b075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10b0b13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10b0b14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10b0b136
cmp eax, 0x7d00
jae 0x10b0b16d
cmp eax, 0x500
jb 0x10b0b168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10b0b075
cmp eax, 0x7f
ja 0x10b0b170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10b0b075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10b0b19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10b0b075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10002170
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x10029128]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push 0x1fe
push ebx
push 0x10032238
mov dword [ebp - 0x238], ebx
call fcn.100119a0
mov eax, dword [str.360Safe.exe]
push 0x10025654
push eax
call fcn.10010383
add esp, 0x14
test eax, eax
jne 0x100022e5
push esi
push edi
mov esi, 0x1002e3a8
mov dword [ebp - 0x234], ebx
jmp 0x100021d0
mov esi, dword [esi]
push 0x228
lea ecx, [ebp - 0x22c]
push ebx
push ecx
mov dword [ebp - 0x230], ebx
call fcn.100119a0
add esp, 0xc
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100022a7
lea edx, [ebp - 0x230]
push edx
push edi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10002269
lea ecx, [ecx]
mov ecx, esi
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000224e
cmp dx, bx
je 0x1000224a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000224e
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x10002228
xor eax, eax
jmp 0x10002253
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x10002272
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10002220
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100022a7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x228], ebx
je 0x100022a7
mov ecx, dword [ebp - 0x234]
mov edx, dword [ecx + 0x1002e3ac]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push edx
push 0x10032238
call esi
push 0x1002591c
push 0x10032238
call esi
mov eax, dword [ebp - 0x238]
inc eax
lea esi, [eax*8]
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x238], eax
mov eax, dword [esi + 0x1002e3a8]
lea esi, [esi + 0x1002e3a8]
push 0x10025654
push eax
call fcn.10010383
add esp, 8
test eax, eax
je 0x100021d0
pop edi
pop esi
push 0x10025654
push 0x10032238
call fcn.10010383
add esp, 8
pop ebx
test eax, eax
jne 0x1000230c
push 0x10025750
push 0x10032238
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x10032238
call fcn.1000fb9f
mov esp, ebp
pop ebp
ret
Function at 0x10002320
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x10029128]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.100119a0
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x412]
push eax
mov word [ebp - 0x414], dx
call fcn.100119a0
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
add esp, 0x18
push str.Shell32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SHGetSpecialFolderPathW
push eax
call edi
test eax, eax
je 0x100023f7
push 1
push 7
lea ecx, [ebp - 0x20c]
push ecx
push 0
call eax
test eax, eax
je 0x100023f7
push str.GFIRestart32.exe
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x414]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
push 0
push 3
push 0
push 0
push SysReAllocString
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x100023f7
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000fb9f
mov esp, ebp
pop ebp
ret
push ebx
push 0x100259e4
call esi
mov esi, eax
push 0x10025a00
push esi
call edi
push 0x10025a14
push esi
mov ebx, eax
call edi
push 0x10025a24
push esi
mov dword [ebp - 0x624], eax
call edi
mov esi, eax
test ebx, ebx
je 0x100024d1
mov eax, dword [ebp - 0x624]
test eax, eax
je 0x100024d1
test esi, esi
je 0x100024d1
lea edx, [ebp - 0x620]
push edx
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call eax
test eax, eax
jne 0x100024d1
push 0x206
push eax
lea ecx, [ebp - 0x61a]
push ecx
mov word [ebp - 0x61c], ax
call fcn.100119a0
mov ecx, dword [ebp - 0x620]
add esp, 0xc
lea edx, [ebp - 0x624]
push edx
lea eax, [ebp - 0x61c]
push eax
push 0
push 0
push str.GFIRestart32.exe
push ecx
mov dword [ebp - 0x624], 0x208
call ebx
test eax, eax
jne 0x100024c8
mov edx, dword [ebp - 0x620]
push edx
call esi
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000fb9f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x620]
push eax
call esi
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.1000fb9f
mov esp, ebp
pop ebp
ret
Function at 0x10002970
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x10]
push eax
push 0x10024e84
push 1
push edi
push 0x10024e44
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x100029a4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0
lea edx, [ebp - 4]
push edx
push 0x10024e54
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x1000299c
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 8]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x10002a5d
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x10022410
push 0
push 0
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
js 0x10002a39
mov eax, dword [ebp - 0xc]
mov ecx, 8
mov word [ebp - 0x28], cx
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push 0
lea ecx, [ebp - 0x28]
push ecx
push str.FriendlyName
push eax
call edx
test eax, eax
jne 0x10002a2e
mov eax, dword [ebp - 0x20]
push eax
inc edi
call esi
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 8]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x100029e8
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10003010
Capabilities:
Get disk information
Get disk size
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x10029128]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push edi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], esi
xor edi, edi
nop
lea eax, [esi + 0x42]
mov word [ebp - 0x18], ax
lea ecx, [ebp - 0x18]
xor eax, eax
push ecx
mov dword [ebp - 0x16], 0x5c003a
mov word [ebp - 0x12], ax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x1000308a
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x18]
push edx
inc edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x78]
shrd eax, ecx, 0x1e
add dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x74]
shrd edx, eax, 0x1e
shr ecx, 0x1e
shr eax, 0x1e
add dword [ebp - 0x60], edx
inc esi
cmp esi, 0x1a
jl 0x10003030
push 0x40
lea ecx, [ebp - 0x58]
push 0
push ecx
mov dword [ebp - 0x64], edi
call fcn.100119a0
add esp, 0xc
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x58], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x60]
shrd esi, edi, 0x1e
shr edi, 0x1e
add esi, 1
adc edi, 0
shrd eax, ecx, 0x1e
shr ecx, 0x1e
add eax, 1
adc ecx, 0
push ecx
mov ecx, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x5c]
push edx
push eax
push ecx
push 0x10025b18
push 0xc8
push ebx
call fcn.100101a7
push edi
push esi
push ebx
push 0x10025b68
push 0xc8
push ebx
call fcn.100101a7
mov ecx, dword [ebp - 4]
add esp, 0x38
pop edi
xor ecx, ebp
pop esi
call fcn.1000fb9f
mov esp, ebp
pop ebp
ret