joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bb00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4b41e0]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x40]
movlpd qword [ebp - 0x20], xmm0
push eax
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40bb7b
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00469e65
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x40bba8
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00469e65
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.00469e65
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40c510
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov eax, dword [0x4b41e0]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
push edi
push 0
push 0
push 3
push 0
push 7
mov edi, ecx
mov dword [esp + 0x24], 0
push 0
push edi
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
jne 0x40c55d
or esi, 0xffffffff
jmp 0x40c562
cmp esi, 0xffffffff
jne 0x40c58e
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x40c59a
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
push ecx
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x40c59a
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
cmp esi, 0xffffffff
je 0x40c5b2
test esi, esi
je 0x40c5b2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x26c]
mov eax, edi
pop edi
pop esi
mov edx, ebx
pop ebx
xor ecx, esp
call fcn.00469e65
mov esp, ebp
pop ebp
ret
Function at 0x40f000
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47cdbd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4b41e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x230]
test eax, eax
jne 0x40f048
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x249], 2
jae 0x40f06a
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40f06a
push 0
push dword [esi + 0x230]
call dword [sym.imp.USER32.dll_ShowWindow]
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x10], 1
mov dword [ebp - 4], 0
push 0x20a
mov dword [ebp - 0x14], 0
call fcn.0046a22b
add esp, 4
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], ebx
push 0x104
mov word [ebx + 0x208], ax
push ebx
mov word [ebx], ax
push dword [esi + 0x230]
call dword [sym.imp.USER32.dll_GetClassNameW]
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x40f109
mov edi, dword [esi + 0x40]
test edi, edi
je 0x40f109
cmp edi, 1
jl 0x40f109
lea ebx, [edi + edi*8]
shl ebx, 3
nop dword [eax + eax]
mov ecx, eax
test ecx, ecx
je 0x40f0fd
cmp edi, dword [esi + 0x40]
jg 0x40f0fd
cmp dword [ebx + ecx + 0xc], 0
je 0x40f0fd
push edi
mov ecx, esi
call fcn.00415f90
mov eax, dword [esi + 0x3c]
dec edi
sub ebx, 0x48
cmp edi, 1
jge 0x40f0e0
mov ebx, dword [ebp - 0x18]
mov ecx, dword [esi + 0x238]
mov eax, dword [sym.imp.USER32.dll_DestroyWindow]
test ecx, ecx
je 0x40f120
push ecx
call eax
mov eax, dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esi + 0x23c]
test ecx, ecx
je 0x40f12d
push ecx
call eax
mov eax, dword [esi + 0x1fc]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x40f149
cmp dword [esi + 0x204], 4
je 0x40f149
push eax
call edi
mov eax, dword [esi + 0x200]
test eax, eax
je 0x40f156
push eax
call edi
mov eax, dword [esi + 0x1e0]
test eax, eax
je 0x40f163
push eax
call edi
mov eax, dword [esi + 0x1e8]
test eax, eax
je 0x40f174
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 0x25c]
test eax, eax
je 0x40f185
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
mov eax, dword [esi + 0x244]
test eax, eax
je 0x40f196
push eax
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
cmp byte [esi + 0x249], 2
mov eax, dword [esi + 0x230]
jae 0x40f1db
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp byte [esi + 0x249], 0
jne 0x40f1e8
xor eax, eax
cmp word [ebx], ax
je 0x40f1e8
nop dword [eax]
inc eax
cmp word [ebx + eax*2], 0
jne 0x40f1c0
test eax, eax
je 0x40f1e8
push dword [esi + 0x11c]
push ebx
call dword [sym.imp.USER32.dll_UnregisterClassW]
jmp 0x40f1e8
push esi
push 0x40e230
push eax
call dword [sym.imp.COMCTL32.dll_RemoveWindowSubclass]
push 0
mov ecx, esi
call fcn.0041ac40
push ebx
call fcn.00469e73
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418970
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3fc
mov eax, dword [0x4b41e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
lea eax, [edi + 0x40]
cmp ebx, 0xffffffff
jne 0x418998
mov ebx, dword [eax]
mov ecx, dword [edi + 0x3c]
test ecx, ecx
je 0x418bba
cmp ebx, 1
jl 0x418bba
cmp ebx, dword [eax]
jg 0x418bba
lea eax, [ebx + ebx*8]
shl eax, 3
mov dword [ebp - 0x3fc], eax
cmp dword [eax + ecx + 0xc], 0
je 0x418bba
cmp dword [eax + ecx], 0x26
jne 0x418a79
push 0x3ac
lea eax, [ebp - 0x3e8]
push 0
push eax
call fcn.0046b980
mov eax, dword [edi + 0x230]
add esp, 0xc
mov dword [ebp - 0x3f4], eax
xor eax, eax
mov dword [ebp - 0x3f8], 0x3bc
mov dword [ebp - 0x3f0], ebx
mov dword [ebp - 0x3ec], 4
test esi, esi
je 0x418a32
cmp word [esi], ax
je 0x418a28
nop dword [eax]
inc eax
cmp word [esi + eax*2], 0
jne 0x418a20
mov ecx, 0x7f
cmp eax, ecx
cmovg eax, ecx
push eax
push esi
lea eax, [ebp - 0x3e0]
push 0x80
push eax
call fcn.0046d113
add esp, 0x10
mov dword [ebp - 0xd8], 3
lea eax, [ebp - 0x3f8]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
setne al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00469e65
mov esp, ebp
pop ebp
ret 0x10
cmp dword [edi + 0x238], 0
jne 0x418adb
push 0
push dword [edi + 0x11c]
push 0
push dword [edi + 0x230]
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SHDefExtractIconW
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x238], eax
test eax, eax
je 0x418bba
push 0x13
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0x3fc]
xorps xmm0, xmm0
add ecx, dword [edi + 0x3c]
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
mov dword [ebp - 0x34], 0x30
mov eax, dword [ecx + 4]
mov dword [ebp - 0x2c], eax
cmp dword [ecx], 0x1c
jne 0x418b5b
push 0
push ebx
push 0x419
mov dword [ebp - 0x30], 0x10
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x418bba
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x3fc]
push eax
mov eax, dword [edi + 0x3c]
push 0x41d
push dword [eax + ecx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x418bba
mov dword [ebp - 0x28], ebx
jmp 0x418b68
mov dword [ebp - 0x30], 0x11
mov eax, dword [ecx + 4]
mov dword [ebp - 0x28], eax
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x186a0
push 0
push 0x418
push dword [edi + 0x238]
call ebx
mov eax, dword [edi + 0x11c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x432
push dword [edi + 0x238]
mov dword [ebp - 0x10], esi
call ebx
cmp eax, 1
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00469e65
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00469e65
mov esp, ebp
pop ebp
ret 0x10
Function at 0x418bd0
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
cmp eax, 0xffffffff
jne 0x418be3
mov eax, dword [edi + 0x40]
mov esi, dword [edi + 0x3c]
test esi, esi
je 0x418c88
cmp eax, 1
jl 0x418c88
cmp eax, dword [edi + 0x40]
jg 0x418c88
lea ebx, [eax + eax*8]
cmp dword [esi + ebx*8 + 0xc], 0
je 0x418c88
cmp dword [esi + ebx*8], 0x1c
mov ecx, dword [esi + ebx*8 + 4]
jne 0x418c48
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x419
push ecx
call esi
cmp eax, 0xffffffff
je 0x418c88
push dword [ebp + 0xc]
push eax
mov eax, dword [edi + 0x3c]
push 0x433
push dword [eax + ebx*8 + 4]
call esi
pop edi
test eax, eax
pop esi
setne al
pop ebx
pop ebp
ret 8
mov esi, dword [ebp + 0xc]
push esi
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x418c88
mov eax, dword [edi + 0x3c]
push dword [eax + ebx*8 + 4]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x418c88
push 2
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi]
sub dword [esi + 8], eax
mov eax, dword [esi + 4]
sub dword [esi + 0xc], eax
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret 8
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 8
Function at 0x41c9a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d1ad
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4b41e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x1c], 0
mov eax, dword [ebp + 8]
je 0x41cb6d
cmp dword [ebx], 1
jl 0x41cb6d
cmp eax, 0xfffffffe
jg 0x41cb6d
cmp dword [ebx + 4], 2
jne 0x41c9f8
cmp eax, dword [ebx + 8]
je 0x41cb6d
mov ecx, 0xffffff9c
cmp eax, ecx
cmovge ecx, eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x10], ecx
cmp eax, 0xffffffff
je 0x41ca56
test eax, eax
je 0x41ca56
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebx + 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp + 8], ecx
mov dword [ecx], 1
nop dword [eax]
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x41ca4e
cmp eax, 0xffffffff
je 0x41ca4e
push 0
push eax
call edi
cmp eax, 0x102
jne 0x41ca5c
push 0x1e
call esi
jmp 0x41ca30
lea edi, [ebx + 0x34]
mov dword [ebp + 8], edi
jmp 0x41ca5c
lea eax, [ebx + 0x34]
mov dword [ebp + 8], eax
mov ecx, dword [ebx + 0xc]
mov edx, ecx
push dword [ebx + 0x18]
call fcn.004063d0
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x1c]
push eax
push eax
push esi
push 0
push dword [ebx]
call fcn.004173c0
mov eax, dword [ebx]
mov edx, dword [ebx + 0x1c]
test eax, eax
jne 0x41ca98
mov eax, dword [edx + 0x230]
jmp 0x41cac4
lea ecx, [edx + 0x40]
cmp eax, 0xffffffff
jne 0x41caa2
mov eax, dword [ecx]
mov edx, dword [edx + 0x3c]
test edx, edx
je 0x41cac2
cmp eax, 1
jl 0x41cac2
cmp eax, dword [ecx]
jg 0x41cac2
lea eax, [eax + eax*8]
cmp dword [edx + eax*8 + 0xc], 0
je 0x41cac2
mov eax, dword [edx + eax*8 + 4]
jmp 0x41cac4
xor eax, eax
mov edx, dword [ebx + 0x18]
lea edi, [ebx + 0x20]
mov dword [edi], eax
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0x24], eax
mov eax, edx
shr eax, 0x10
movzx ecx, al
movzx eax, dl
and edx, 0xff00
shl eax, 0x10
or ecx, eax
mov eax, dword [ebx + 0xc]
push 0
mov dword [ebx + 0x2c], eax
or ecx, edx
mov eax, dword [ebp - 0x10]
push 0
neg eax
mov dword [ebx + 0x28], ecx
push edi
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 8]
push 0x40e6e0
push 0
push 0
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
mov eax, dword [ebx + 0x38]
cmp eax, 0xffffffff
je 0x41cb2d
test eax, eax
je 0x41cb2d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
test edi, edi
cmove edi, eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x38], edi
mov ecx, dword [ebx + 0x3c]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 4], 2
mov edx, dword [eax + 0x230]
test ecx, ecx
je 0x41cb62
test edx, edx
je 0x41cb62
mov eax, dword [ecx]
push 1
push edx
push ecx
call dword [eax + 0x28]
test esi, esi
je 0x41cb6d
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41ed60
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d34d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4b41e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], 0
push 0x4b00
mov dword [ebp - 4], 0
call fcn.0046a22b
push 0x4b00
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x28], ebx
call fcn.0046b980
add esp, 0x10
mov dword [esi + 4], 0
lea ecx, [esi + 4]
push 0
push ecx
push 0x4b00
push ebx
push 0
push 0
push 0x70050
push dword [esi + 0x230]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x41ee63
cmp dword [ebx + 4], 0
je 0x41ee63
test edi, edi
je 0x41edff
mov eax, dword [ebx]
mov dword [edi], eax
mov ecx, dword [ebp - 0x28]
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x30], eax
test eax, eax
je 0x41ee65
lea edi, [ecx + 0x30]
nop
mov eax, dword [edi]
test eax, eax
jne 0x41ee3f
cmp byte [edi + 0x20], al
jbe 0x41ee31
cmp byte [edi + 0x22], al
je 0x41ee31
inc ebx
add edi, 0x90
sub dword [ebp - 0x30], 1
jne 0x41ee20
jmp 0x41ee65
cmp eax, 1
jne 0x41ee31
lea edx, [edi + 0x20]
mov esi, 0xc
lea eax, [ebp - 0x24]
nop
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x41ee30
add edx, 4
add eax, 4
sub esi, 4
jae 0x41ee50
jmp 0x41ee31
xor ebx, ebx
push dword [ebp - 0x28]
call fcn.00469e73
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00469e65
mov esp, ebp
pop ebp
ret 4
Function at 0x41f090
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x230]
cmp eax, 0xffffffff
je 0x41f191
test eax, eax
je 0x41f191
mov esi, dword [ebp + 0xc]
mov edi, dword [esi + 4]
cmp edi, 0xc
jae 0x41f159
mov eax, dword [esi]
test eax, eax
je 0x41f0cd
push eax
call fcn.00469e73
add esp, 4
push 0xc
call fcn.0046a22b
add esp, 4
mov dword [esi + 4], 0xc
mov edi, eax
lea ecx, [ebx + 4]
mov eax, dword [ebp + 8]
mov dword [esi], edi
push 0
push ecx
push 8
push edi
push 0xc
push edi
mov dword [edi], eax
mov dword [edi + 4], 0
push 0x2d1400
push dword [ebx + 0x230]
mov dword [ecx], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x41f191
mov eax, dword [edi + 4]
test eax, eax
je 0x41f191
mov edi, 0xc
cmp eax, edi
jbe 0x41f159
mov ecx, dword [esi]
mov edi, eax
add eax, 0xa
mov dword [ebp + 0xc], eax
test ecx, ecx
je 0x41f13f
push ecx
call fcn.00469e73
mov eax, dword [ebp + 0xc]
add esp, 4
push eax
call fcn.0046a22b
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push eax
mov dword [esi], eax
mov dword [esi + 4], ecx
call fcn.0046b980
add esp, 0x10
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
push 0
mov dword [eax], ecx
mov dword [eax + 4], 0
lea eax, [ebx + 4]
push eax
push edi
mov dword [eax], 0
mov ecx, dword [esi]
push ecx
push edi
push ecx
push 0x2d1400
push dword [ebx + 0x230]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc
Function at 0x4205b0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d3cd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4b41e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x4205ef
test eax, eax
setne al
jmp 0x42068c
push 0xc
call fcn.0046a22b
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x230]
cmp eax, 0xffffffff
je 0x420649
test eax, eax
je 0x420649
push 0
lea eax, [esi + 4]
mov dword [edi], 8
push eax
push 0xc
push edi
push 0xc
push edi
mov dword [edi + 4], 0
push 0x2d1400
push dword [esi + 0x230]
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x420649
xor eax, eax
cmp byte [edi + 8], al
setne al
mov dword [esi + 8], eax
cmp dword [esi + 8], 1
je 0x42066a
mov ecx, esi
call fcn.0041ee90
test eax, eax
je 0x42066a
test byte [eax + 0x152], 1
je 0x42066a
mov dword [esi + 8], 1
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
jne 0x42067b
mov dword [esi + 8], 0
xor eax, eax
cmp eax, 1
push edi
sete bl
call fcn.00469e73
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00469e65
mov esp, ebp
pop ebp
ret
Function at 0x421080
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4b41e0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, ecx
test edi, edi
jne 0x4210ae
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00469e65
mov esp, ebp
pop ebp
ret 4
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
movups xmm0, xmmword [0x49f470]
mov ecx, dword [0x49f4a0]
mov edx, eax
mov dword [ebp - 0x18], ecx
xor eax, eax
mov cx, word [0x49f4a4]
movups xmmword [ebp - 0x48], xmm0
mov word [ebp - 0x14], cx
xor ecx, ecx
movups xmm0, xmmword [0x49f480]
mov dword [ebp - 0xc], 0x5c
xor esi, esi
mov dword [ebp - 0x50], edx
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x10], 0x3a0041
movups xmm0, xmmword [0x49f490]
mov word [ebp - 0xc], ax
mov dword [ebp - 0x4c], ecx
movups xmmword [ebp - 0x28], xmm0
nop
mov ax, word [ebp + esi*2 - 0x48]
mov word [ebp - 0x10], ax
test ebx, edx
je 0x421135
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.00401a20
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
inc ecx
mov dword [ebp - 0x4c], ecx
add edi, 0xc
inc esi
add ebx, ebx
cmp esi, 0x1a
jl 0x421110
mov eax, ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00469e65
mov esp, ebp
pop ebp
ret 4
Function at 0x421470
Capabilities:
Create thread
Reference http user-agent string
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x90
mov ebx, edx
mov edi, ecx
call fcn.0046a083
push 0x44
push 0
push eax
mov dword [eax], 0
lea esi, [eax + 0x6c]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov byte [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x54], 0
mov byte [eax + 0x5c], 1
mov dword [eax + 0x64], 0
mov dword [eax + 0x60], 0
mov byte [eax + 0x68], 1
mov dword [esi + 4], 0
mov dword [esi], 0
mov byte [esi + 8], 1
mov dword [eax + 0x7c], 0
mov dword [eax + 0x78], 0
mov byte [eax + 0x80], 1
mov dword [ebp - 4], eax
mov dword [eax + 0x88], 0
mov dword [eax + 0x84], 0
mov byte [eax + 0x8c], 1
call fcn.0046b980
add esp, 0x10
mov ecx, esi
push edi
call fcn.00401a20
mov esi, dword [ebp - 4]
mov eax, dword [ebp + 8]
push ebx
lea ecx, [esi + 0x60]
mov dword [esi + 0x24], eax
call fcn.00401a20
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x4215bf
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x4215b8
cmp word [ecx], ax
je 0x4215b8
nop dword [eax + eax]
inc eax
cmp word [ecx + eax*2], 0
jne 0x4215b0
mov dword [esi + 0x64], eax
test eax, eax
je 0x4215c7
lea ecx, [esi + 0x60]
call fcn.00402f80
push str.https:__www.google.com
lea ecx, [esi + 0x78]
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.00401a20
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_106.0.0.0_Safari_537.36
lea ecx, [esi + 0x84]
call fcn.00401a20
push 0
push 0
push esi
push 0x421670
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x421620
push ecx
mov ecx, esi
call fcn.004213e0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test byte [ebp + 8], 1
je 0x421659
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x421659
cmp eax, 0xffffffff
je 0x421659
push 0
push eax
call ebx
cmp eax, 0x102
jne 0x421659
call fcn.004038e0
test al, al
jne 0x421632
push 5
call edi
jmp 0x421632
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x422920
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d52d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4b41e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x499128
push 1
push 0
push 0x499118
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x422a3e
cmp dword [ebp - 0x14], 0
je 0x422a3e
push str.ROOTCIMV2
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
call fcn.00401370
mov dword [ebp - 4], 0
mov edx, dword [eax]
test edx, edx
je 0x42299f
mov edx, dword [edx]
jmp 0x4229a1
xor edx, edx
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x18]
push esi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x422a14
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x422a0d
test esi, esi
je 0x422a0d
mov eax, dword [esi]
test eax, eax
je 0x4229eb
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x422a02
push eax
call fcn.00469e73
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0046a21d
add esp, 8
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x422a40
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov eax, dword [ebp - 0x18]
jmp 0x422a40
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00469e65
mov esp, ebp
pop ebp
ret