joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414700
Capabilities:
Encode data using xor

Disassembly:
out dx, eax
sar word [ebx - 0x7d01773f], cl
cld
and dword [ecx - 0x5c42815f], ebp
add eax, eax
inc esi
out dx, al
in al, dx
push ss
sub byte [esi + 0x6a], cl
pop esp
outsd dx, dword [esi]
push eax
aad 0xcd
mov es, word [ecx + 0x79]
mov al, byte [0xc50c9c8d]
mov dword [0xdf7332f9], eax
xlatb
adc dh, byte [eax]
add esi, edx
mov eax, dword [0x3dbf1b44]
invalid

Function at 0x41966e
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x432034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
push edi
push edi
push 3
push edi
push 3
push edi
push str..PhysicalDrive0
mov dword [ebp - 0x418], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x414], eax
cmp eax, 0xffffffff
je 0x419765
mov esi, dword [sym.imp.MSVCR100.dll_memset]
push ebx
push 0xc
lea eax, [ebp - 0x410]
push edi
push eax
call esi
mov ebx, 0x400
push ebx
lea eax, [ebp - 0x404]
push edi
push eax
mov dword [ebp - 0x410], edi
mov dword [ebp - 0x40c], edi
mov dword [ebp - 0x41c], edi
call esi
add esp, 0x18
push edi
lea eax, [ebp - 0x41c]
push eax
push ebx
lea eax, [ebp - 0x404]
push eax
push 0xc
lea eax, [ebp - 0x410]
push eax
push 0x2d1400
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
pop ebx
test eax, eax
je 0x419759
mov esi, dword [ebp - 0x3f4]
lea esi, [ebp + esi - 0x404]
movsx eax, byte [esi]
push eax
call dword [sym.imp.MSVCR100.dll_isalnum]
pop ecx
test eax, eax
je 0x419759
push esi
call dword [sym.imp.MSVCR100.dll_strlen]
pop ecx
mov ecx, esi
mov esi, dword [ebp - 0x418]
call fcn.00406bd6
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x419767
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041f212
leave
ret 4

Function at 0x41ae76
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
mov edi, dword [ebp + 8]
test edx, edx
jle 0x41aee0
sub ecx, edi
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
push esi
inc byte [eax + 0x100]
movzx esi, byte [eax + 0x100]
mov cl, byte [esi + eax]
add byte [eax + 0x101], cl
movzx ecx, byte [eax + 0x101]
mov bl, byte [ecx + eax]
mov dl, byte [esi + eax]
mov byte [esi + eax], bl
mov byte [ecx + eax], dl
movzx ecx, byte [eax + 0x101]
movzx edx, byte [eax + 0x100]
mov cl, byte [ecx + eax]
add cl, byte [edx + eax]
mov edx, dword [ebp - 8]
movzx ecx, cl
mov cl, byte [ecx + eax]
xor cl, byte [edx + edi]
mov byte [edi], cl
inc edi
dec dword [ebp - 4]
jne 0x41ae8d
pop esi
pop ebx
pop edi
leave
ret
Function at 0x404350
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c8b5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4d7200]
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 dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4043aa
xor esi, esi
jmp 0x4044dd
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0x94
push 0x94
movlpd qword [ebp - 0x20], xmm0
call fcn.0048a28e
mov edi, eax
mov dword [ebp - 0x1c], 0x94
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 1
push dword [ebp - 0x14]
call fcn.0048a28e
push dword [ebp - 0x14]
mov ebx, eax
push 0
push edi
call fcn.0048b9e0
mov esi, dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
lea eax, [edi + 4]
add esp, 0x14
mov dword [edi], 9
push eax
push 0x4bfd28
push 0
call esi
lea eax, [edi + 0x10]
push eax
push 0x4bfd50
push 0
call esi
lea eax, [edi + 0x1c]
push eax
push 0x4bfd74
push 0
call esi
lea eax, [edi + 0x28]
push eax
push 0x4bfd98
push 0
call esi
lea eax, [edi + 0x34]
push eax
push 0x4bfdc0
push 0
call esi
lea eax, [edi + 0x40]
push eax
push 0x4bfdf4
push 0
call esi
lea eax, [edi + 0x4c]
push eax
push 0x4bfe24
push 0
call esi
lea eax, [edi + 0x58]
push eax
push 0x4bfe58
push 0
call esi
lea eax, [edi + 0x64]
push eax
push 0x4bfe80
push 0
call esi
lea eax, [edi + 0x70]
push eax
push 0x4bfeb4
push 0
call esi
lea eax, [edi + 0x7c]
push eax
push 0x4bfef0
push 0
call esi
lea eax, [edi + 0x88]
push eax
push 0x4bff10
push 0
call esi
lea eax, [edi + 0xc]
mov ecx, 0xc
nop
mov dword [eax], 2
lea eax, [eax + 0xc]
sub ecx, 1
jne 0x4044a0
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 0x14]
push edi
push ecx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x4044d2
push ebx
xor esi, esi
call fcn.00489ed3
add esp, 4
jmp 0x4044d4
mov esi, ebx
push edi
call fcn.00489ed3
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xffffffff
je 0x4044f0
test ecx, ecx
je 0x4044f0
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 - 0x10]
xor ecx, ebp
call fcn.00489ec5
mov esp, ebp
pop ebp
ret
Function at 0x408360
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4d7200]
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 0x4083db
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489ec5
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x408408
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.00489ec5
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.00489ec5
mov esp, ebp
pop ebp
ret 0xc
Function at 0x409150
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov eax, dword [0x4d7200]
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 0x40919d
or esi, 0xffffffff
jmp 0x4091a2
cmp esi, 0xffffffff
jne 0x4091ce
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x4091da
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 0x4091da
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 0x4091f2
test esi, esi
je 0x4091f2
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.00489ec5
mov esp, ebp
pop ebp
ret
Function at 0x40c540
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cd6d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4d7200]
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 ecx, dword [esi + 0x230]
test ecx, ecx
jne 0x40c57e
xor al, al
jmp 0x40c733
mov eax, dword [esi + 0x248]
shr eax, 2
test al, 1
jne 0x40c5a4
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40c5a4
push 0
push dword [esi + 0x230]
call dword [sym.imp.USER32.dll_ShowWindow]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x14], 1
mov dword [ebp - 4], 0
push 0x20a
mov dword [ebp - 0x18], 0
call fcn.0048a28e
add esp, 4
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x1c], 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]
cmp dword [esi + 0x3c], 0
je 0x40c63b
mov edi, dword [esi + 0x40]
test edi, edi
je 0x40c63b
cmp edi, 1
jl 0x40c63b
lea ebx, [edi + edi*8]
shl ebx, 3
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x40c62f
cmp edi, dword [esi + 0x40]
jg 0x40c62f
cmp dword [ebx + eax + 0xc], 0
je 0x40c62f
push edi
mov ecx, esi
call fcn.00412900
dec edi
sub ebx, 0x48
cmp edi, 1
jge 0x40c614
mov ebx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x238]
mov ecx, dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x40c654
push eax
call ecx
mov ecx, dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x23c]
test eax, eax
je 0x40c661
push eax
call ecx
mov eax, dword [esi + 0x1fc]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x40c67d
cmp dword [esi + 0x204], 4
je 0x40c67d
push eax
call edi
mov eax, dword [esi + 0x200]
test eax, eax
je 0x40c68a
push eax
call edi
mov eax, dword [esi + 0x1e0]
test eax, eax
je 0x40c697
push eax
call edi
mov eax, dword [esi + 0x1e8]
test eax, eax
je 0x40c6a8
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 0x260]
test eax, eax
je 0x40c6b9
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
mov eax, dword [esi + 0x244]
test eax, eax
je 0x40c6ca
push eax
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
mov eax, dword [esi + 0x248]
mov ecx, dword [esi + 0x230]
shr eax, 2
test al, 1
jne 0x40c712
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x248]
shr eax, 1
test al, 1
jne 0x40c71f
xor eax, eax
cmp word [ebx], ax
je 0x40c71f
inc eax
cmp word [ebx + eax*2], 0
jne 0x40c6f7
test eax, eax
je 0x40c71f
push dword [esi + 0x11c]
push ebx
call dword [sym.imp.USER32.dll_UnregisterClassW]
jmp 0x40c71f
push esi
push 0x40b680
push ecx
call dword [sym.imp.COMCTL32.dll_RemoveWindowSubclass]
push 0
mov ecx, esi
call fcn.00417000
push ebx
call fcn.00489ed3
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00489ec5
mov esp, ebp
pop ebp
ret
Function at 0x415120
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3fc
mov eax, dword [0x4d7200]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
lea eax, [edi + 0x40]
cmp esi, 0xffffffff
jne 0x415148
mov esi, dword [eax]
mov ecx, dword [edi + 0x3c]
test ecx, ecx
je 0x415367
cmp esi, 1
jl 0x415367
cmp esi, dword [eax]
jg 0x415367
lea eax, [esi + esi*8]
shl eax, 3
mov dword [ebp - 0x3fc], eax
cmp dword [eax + ecx + 0xc], 0
je 0x415367
cmp dword [eax + ecx], 0x26
jne 0x415229
push 0x3ac
lea eax, [ebp - 0x3e8]
push 0
push eax
call fcn.0048b9e0
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], esi
mov dword [ebp - 0x3ec], 4
test ebx, ebx
je 0x4151e2
cmp word [ebx], ax
je 0x4151d8
nop dword [eax]
inc eax
cmp word [ebx + eax*2], 0
jne 0x4151d0
mov ecx, 0x7f
cmp eax, ecx
cmovg eax, ecx
push eax
push ebx
lea eax, [ebp - 0x3e0]
push 0x80
push eax
call fcn.0048d183
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.00489ec5
mov esp, ebp
pop ebp
ret 0x10
cmp dword [edi + 0x238], 0
jne 0x41528b
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 0x4bff5c
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x238], eax
test eax, eax
je 0x415367
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 0x415308
push 0
push esi
push 0x419
mov dword [ebp - 0x30], 0x10
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x415367
lea ecx, [ebp - 0x24]
push ecx
push eax
mov eax, dword [edi + 0x3c]
lea ecx, [esi + esi*8]
push 0x41d
push dword [eax + ecx*8 + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x415367
mov dword [ebp - 0x28], esi
jmp 0x415315
mov dword [ebp - 0x30], 0x11
mov eax, dword [ecx + 4]
mov dword [ebp - 0x28], eax
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x186a0
push 0
push 0x418
push dword [edi + 0x238]
call esi
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], ebx
call esi
cmp eax, 1
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489ec5
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.00489ec5
mov esp, ebp
pop ebp
ret 0x10
Function at 0x418b50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d17d
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4d7200]
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 0x418d04
cmp dword [ebx], 1
jl 0x418d04
cmp eax, 0xfffffffe
jg 0x418d04
cmp dword [ebx + 4], 2
jne 0x418ba8
cmp eax, dword [ebx + 8]
je 0x418d04
mov ecx, 0xffffff9c
cmp eax, ecx
cmovge ecx, eax
mov eax, dword [ebx + 0x38]
mov dword [ebp + 8], ecx
cmp eax, 0xffffffff
je 0x418bf2
test eax, eax
je 0x418bf2
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebx + 0x34], 1
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x418bf2
cmp eax, 0xffffffff
je 0x418bf2
push 0
push eax
call edi
cmp eax, 0x102
jne 0x418bf2
push 0x1e
call esi
jmp 0x418bd4
mov ecx, dword [ebx + 0xc]
mov edx, ecx
push dword [ebx + 0x18]
call fcn.00405060
mov esi, eax
mov dword [ebp - 0x10], 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.00413d30
mov eax, dword [ebx]
mov edx, dword [ebx + 0x1c]
test eax, eax
jne 0x418c2e
mov eax, dword [edx + 0x230]
jmp 0x418c5a
lea ecx, [edx + 0x40]
cmp eax, 0xffffffff
jne 0x418c38
mov eax, dword [ecx]
mov edx, dword [edx + 0x3c]
test edx, edx
je 0x418c58
cmp eax, 1
jl 0x418c58
cmp eax, dword [ecx]
jg 0x418c58
lea eax, [eax + eax*8]
cmp dword [edx + eax*8 + 0xc], 0
je 0x418c58
mov eax, dword [edx + eax*8 + 4]
jmp 0x418c5a
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
push 0
movzx eax, dl
and edx, 0xff00
shl eax, 0x10
push 0
or ecx, eax
mov dword [ebx + 0x34], 0
mov eax, dword [ebx + 0xc]
or ecx, edx
push edi
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 8]
push 0x40bb70
push 0
neg eax
mov dword [ebx + 0x28], ecx
push 0
mov dword [ebx + 0x30], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebx + 0x38]
mov edi, eax
cmp ecx, 0xffffffff
je 0x418cc1
test ecx, ecx
je 0x418cc1
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x38], edi
test edi, edi
jne 0x418ccf
mov dword [ebx + 0x38], 0xffffffff
mov eax, dword [ebp + 8]
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 0x418cf9
test edx, edx
je 0x418cf9
mov eax, dword [ecx]
push 1
push edx
push ecx
call dword [eax + 0x28]
test esi, esi
je 0x418d04
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 0x41a610
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d2dd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4d7200]
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 0x4ba0b8
push 1
push 0
push 0x4ba0a8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41a72e
cmp dword [ebp - 0x14], 0
je 0x41a72e
push 0x4bfb80
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
call fcn.00401420
mov dword [ebp - 4], 0
mov edx, dword [eax]
test edx, edx
je 0x41a68f
mov edx, dword [edx]
jmp 0x41a691
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 0x41a704
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x41a6fd
test esi, esi
je 0x41a6fd
mov eax, dword [esi]
test eax, eax
je 0x41a6db
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41a6f2
push eax
call fcn.00489ed3
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0048a280
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 0x41a730
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 0x41a730
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.00489ec5
mov esp, ebp
pop ebp
ret
Function at 0x41cd60
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 0x41ce61
test eax, eax
je 0x41ce61
mov esi, dword [ebp + 0xc]
mov edi, dword [esi + 4]
cmp edi, 0xc
jae 0x41ce29
mov eax, dword [esi]
test eax, eax
je 0x41cd9d
push eax
call fcn.00489ed3
add esp, 4
push 0xc
call fcn.0048a28e
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 0x41ce61
mov eax, dword [edi + 4]
test eax, eax
je 0x41ce61
mov edi, 0xc
cmp eax, edi
jbe 0x41ce29
mov ecx, dword [esi]
mov edi, eax
add eax, 0xa
mov dword [ebp + 0xc], eax
test ecx, ecx
je 0x41ce0f
push ecx
call fcn.00489ed3
mov eax, dword [ebp + 0xc]
add esp, 4
push eax
call fcn.0048a28e
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push eax
mov dword [esi], eax
mov dword [esi + 4], ecx
call fcn.0048b9e0
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 0x41e280
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
movups xmm0, xmmword [0x4c0508]
mov ecx, dword [0x4c0538]
mov ebx, eax
mov dword [ebp - 8], ecx
mov cx, word [0x4c053c]
movups xmmword [ebp - 0x38], xmm0
mov word [ebp - 4], cx
mov ecx, edi
movups xmm0, xmmword [0x4c0518]
push 0x4c0540
movups xmmword [ebp - 0x28], xmm0
movups xmm0, xmmword [0x4c0528]
movups xmmword [ebp - 0x18], xmm0
call fcn.00401860
mov esi, 3
mov eax, 8
nop
test ebx, eax
je 0x41e2f5
inc esi
add eax, eax
cmp esi, 0x1a
jb 0x41e2e0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi], 0
jne 0x41e30e
push 2
call fcn.0048a28e
add esp, 4
mov dword [edi], eax
xor ecx, ecx
mov word [eax], cx
mov dword [edi + 4], ecx
mov ecx, dword [edi]
mov ax, word [ebp + esi*2 - 0x38]
pop edi
pop esi
mov word [ecx], ax
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48ac06
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x48ac45
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x48ac45
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x48ac45
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x48ac45
cmp dword [ecx + 0x74], 0xe
jbe 0x48ac45
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x49a910
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x49a93d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x49a93d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1901000
Capabilities:
Packed with generic packer

Disassembly:
push ebp
dec eax
mov ebp, esp
dec eax
sub esp, 0x38
dec eax
and esp, 0xfffffff0
dec eax
mov ecx, 0x1901062
add byte [eax], al
add byte [eax], al
dec eax
mov eax, sym.imp.KERNEL32.DLL_LoadLibraryA
add byte [eax], al
add byte [eax], al
call dword [eax]
dec eax
mov edx, 0x190106b
add byte [eax], al
add byte [eax], al
dec eax
mov ecx, eax
dec eax
mov eax, sym.imp.KERNEL32.DLL_GetProcAddress
add byte [eax], al
add byte [eax], al
call dword [eax]
xor ecx, ecx
dec eax
mov dword [esp + 0x28], ecx
dec eax
mov dword [esp + 0x20], ecx
dec ecx
mov ecx, ecx
dec ecx
mov eax, 0x1901078
add byte [eax], al
add byte [eax], al
dec eax
mov edx, ecx
call eax
leave
jmp fcn.018e93b0