joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f591
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x18], edi
push eax
push ebx
movdqu xmmword [ebp - 0x38], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x2c]
mov esi, eax
sub ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ecx
push eax
push edi
mov dword [ebp - 4], esi
call ebx
push eax
push esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xe
push esi
push 0x318
push dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
push eax
push dword [ebp + 8]
movdqu xmmword [ebp - 0x28], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x1c]
mov edi, eax
sub ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push ecx
push eax
push esi
mov dword [ebp - 8], edi
call ebx
push eax
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea esi, [ebp - 0x28]
mov ebx, eax
lea edi, [ebp - 0x48]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x48]
push 2
push eax
push dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 4]
sub eax, dword [ebp - 0x24]
push 0xcc0020
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push esi
push eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push eax
push edi
push edi
mov edi, dword [ebp - 8]
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push dword [ebp - 0xc]
mov dword [ebp + 0xc], eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp + 8]
test eax, eax
je 0x44f6b2
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
test edi, edi
je 0x44f6bf
push edi
call ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x44f6cd
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je 0x44f6d4
push esi
call ebx
lea ecx, [ebp - 0x18]
call fcn.0044f13d
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44f749
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor ebx, ebx
push esi
push edi
cmp byte [0x4b3038], bl
jne 0x44f787
lea eax, [ebp - 8]
mov byte [0x4b3038], 1
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 1
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x20], ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
call sub.gdiplus.dll_GdiplusStartup
mov eax, dword [ebp + 8]
shr eax, 0x10
test ax, ax
je 0x44f7c6
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x44f8c7
lea eax, [ebp - 4]
mov dword [esi], 0x402238
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call sub.gdiplus.dll_GdipCreateBitmapFromFile
mov dword [esi + 8], eax
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
jmp 0x44f8c9
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x44f8a8
cmp eax, 2
je 0x44f8a8
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
mov dword [ebp - 0xc], ebx
call fcn.00450aba
mov edi, dword [ebp - 0x10]
test al, al
je 0x44f850
push dword [ebp - 0xc]
push dword [0x4b7114]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x44f850
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.0048e2f0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 1
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jns 0x44f862
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x44f85b
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x44f8ef
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x44f890
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0xc]
push ecx
push eax
mov dword [esi], 0x402238
mov dword [ebp - 0xc], ebx
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
jmp 0x44f892
mov esi, ebx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test edi, edi
je 0x44f8c9
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x44f8c9
push 0x10
call sub.gdiplus.dll_GdipAlloc
test eax, eax
je 0x44f8c7
push dword [ebp + 8]
mov ecx, eax
push dword [0x4b7114]
call fcn.0044ed73
mov esi, eax
jmp 0x44f8c9
mov esi, ebx
test esi, esi
je 0x44f85b
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x44f8e4
mov dword [esi + 8], eax
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45080a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push ebx
push 0xb
push ebx
lea edi, [esi + 4]
mov ecx, edi
call fcn.00450b92
push ebx
push ecx
mov eax, esp
push ebx
push ebx
push ebx
push ecx
mov dword [eax], ebx
lea ecx, [esi + 0x24]
mov eax, esp
mov dword [eax], ebx
push dword [edi]
call fcn.0044fbcb
push dword [esi + 0x28]
mov ecx, esi
call fcn.004520db
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
test byte [esi + 0x50], 1
push ebx
pop ecx
cmovne eax, ecx
mov dword [esi + 0x4c], eax
xor eax, eax
push 0x256
mov word [ebp - 0x258], ax
lea eax, [ebp - 0x256]
push ebx
push eax
call fcn.004486f7
add esp, 0xc
lea eax, [ebp - 0x258]
push 0x12b
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x4508af
lea eax, [ebp - 0x258]
mov ecx, esi
push eax
call fcn.004520db
push dword [edi]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x4508c4
push 3
pop eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451160
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 0x68]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [esi + 0x2fc]
test ecx, ecx
je 0x4511a4
call fcn.004530ac
mov ecx, dword [esi + 0x2fc]
call fcn.00453629
mov ecx, dword [esi + 0x2fc]
call fcn.00452fbb
xor eax, eax
pop esi
ret 0x10

Function at 0x459ab8
Capabilities:
Hide graphical window

Disassembly:
push esi
push 5
push dword [ecx + 4]
jmp 0x459acc
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x459ac0
pop esi
ret
Function at 0x459e91
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov bl, 1
mov ecx, dword [edi + 0x58]
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x459edd
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0xc], eax
call esi
push dword [edi + 4]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xfffffffe
call esi
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xc]
push ecx
push esi
push 0x4e
push eax
jmp 0x459f08
shr ecx, 2
test cl, 1
je 0x459f10
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
mov ecx, eax
movzx eax, si
push eax
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x459f3f
push 1
xor esi, esi
push esi
push esi
push dword [edi + 0x28]
push 0x40396c
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x459f3f
or byte [edi + 0x5c], 2
push 1
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45a458
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
push 0x7fe
mov word [ebp - 0x834], ax
mov esi, ecx
lea eax, [ebp - 0x832]
push ebx
push eax
call fcn.004486f7
add esp, 0xc
lea eax, [ebp - 0x834]
push 0x400
push eax
push dword [esi + 0x68c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x834]
mov dword [ebp - 0xc], ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004190c0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0046207c
add esp, 0xc
lea ecx, [ebp - 0x34]
xor edi, edi
inc edi
push ebx
push edi
call fcn.0041a0b0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x45a4f0
mov dword [esi + 0x6b4], ebx
jmp 0x45a50b
cmp eax, edi
jne 0x45a500
mov dword [esi + 0x6b4], 3
jmp 0x45a50b
cmp eax, 2
jne 0x45a50b
mov dword [esi + 0x6b4], edi
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push dword [esi + 0x694]
push dword [esi + 4]
call fcn.00464430
lea eax, [ebp - 0x834]
push eax
call fcn.00416890
add esp, 0x10
lea ecx, [esi + 0x6bc]
push eax
lea eax, [ebp - 0x834]
push eax
call fcn.0041aa00
mov ecx, esi
call fcn.00459f48
push ebx
push edi
lea ecx, [ebp - 0x1c]
call fcn.0041a0b0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x461b08
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x34]
push ebx
push esi
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00417e30
push eax
lea ecx, [ebp - 0x4c]
call fcn.00419070
lea ecx, [ebp - 0x34]
call fcn.004191d0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.004189c0
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 7
lea ecx, [ebp - 0x34]
cmovae eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ebx
push 0xffffffffffffffff
cmp word [eax], 0x22
jne 0x461b71
xor eax, eax
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x3c]
add eax, 2
push eax
jmp 0x461b7a
push dword [ebp - 0x3c]
xor eax, eax
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x1c]
push eax
call fcn.00419e00
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00419190
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.0041a0b0
lea eax, [ebp - 0x1c]
push eax
push 3
push eax
call fcn.0042b620
call fcn.004619a9
push 0x38
mov esi, eax
lea eax, [ebp - 0x84]
push ebx
push eax
call fcn.004486f7
add esp, 0x18
mov dword [ebp - 0x88], 0x3c
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x84], 0x40
cmovae eax, dword [ebp - 0x4c]
cmp dword [ebp - 8], 8
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], 0x412e74
mov dword [ebp - 0x6c], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
jne 0x461c3f
push 0xffffffffffffffff
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp - 4], ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x461c3f
mov ecx, dword [ebp + 0xc]
mov bl, 1
test ecx, ecx
je 0x461c3f
mov eax, dword [ebp - 4]
mov dword [ecx], eax
test esi, esi
je 0x461c4a
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.0041a0b0
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.0041a0b0
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461f64
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push esi
push eax
call fcn.004486f7
push dword [ebp + 8]
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.0048f9bc
add esp, 0x18
cmp word [ebp - 0x21e], 0x3a
jne 0x461fbf
cmp word [ebp - 0x21c], 0x5c
jne 0x461fbf
xor eax, eax
mov word [ebp - 0x21a], ax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], esi
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], esi
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
pop esi
test eax, eax
je 0x462047
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.0049155e
movss xmm1, dword [0x404ec8]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cvtsd2ss xmm0, xmm0
mulss xmm0, xmm1
mulss xmm0, xmm1
mulss xmm0, xmm1
movss dword [eax], xmm0
call fcn.0049155e
movss xmm1, dword [0x404ec8]
mov eax, dword [ebp + 0x10]
cvtsd2ss xmm0, xmm0
mulss xmm0, xmm1
mulss xmm0, xmm1
mulss xmm0, xmm1
movss dword [eax], xmm0
mov al, 1
jmp 0x46204f
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x4625dc
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push dword [ebp + 0xc]
push ebx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0x400
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x462652
push 0x104
lea eax, [ebp - 0x244]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x462645
lea eax, [ebp - 0x244]
push eax
call fcn.00416890
pop ecx
push eax
lea eax, [ebp - 0x244]
mov ecx, esi
push eax
call fcn.0041bb80
jmp 0x46264b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x10], ebx
je 0x4626ce
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
push 0x5c
push esi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.0042f0b0
mov eax, dword [ebp - 8]
add esp, 0xc
add eax, 0xffffffe8
cmp esi, eax
je 0x462684
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.00419e00
push 0x412d74
lea ecx, [ebp - 0x3c]
call fcn.004190c0
push 0x404d9c
lea ecx, [ebp - 0x24]
call fcn.004190c0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push esi
call fcn.0042b700
add esp, 0x10
lea ecx, [ebp - 0x24]
push ebx
push 1
call fcn.0041a0b0
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0041a0b0
lea ecx, [ebp - 0xc]
call fcn.0041a250
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4626d7
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push esi
push edi
push 0
push 2
or edi, 0xffffffff
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x228
mov esi, eax
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.004486f7
add esp, 0xc
mov dword [ebp - 0x22c], 0x22c
lea eax, [ebp - 0x22c]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x462747
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebp - 0x224], ebx
je 0x462740
lea eax, [ebp - 0x22c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x462725
jmp 0x462746
mov edi, dword [ebp - 0x214]
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x463757
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x463765
mov eax, dword [eax]
push 1
push 0
push eax
push 0x404bb8
push 0x40396c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret

Function at 0x4642d8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 5
push dword [ebp + 8]
jmp 0x4642ef
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x4642e3
pop esi
pop ebp
ret
Function at 0x467b60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
and byte [esi + 0xc], 9
mov al, byte [esi + 0xc]
test al, 1
je 0x467b9b
test al, 8
jne 0x467b9b
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x467b9b
or byte [esi + 0xc], 4
mov cl, byte [esi + 0xc]
test eax, 0x21000000
jne 0x467b9b
or cl, 2
mov byte [esi + 0xc], cl
test byte [esi + 0xc], 2
je 0x467bb8
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
mov ecx, esi
call fcn.00467bc8
jmp 0x467bc3
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 4
Function at 0x469ef7
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4b1810]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ebx
cmp dword [eax + 0x10], ebx
jne 0x469f22
xor al, al
jmp 0x46a035
cmp dword [eax + 0x14], 8
jb 0x469f2a
mov eax, dword [eax]
movzx eax, word [eax]
push esi
push edi
mov esi, 0x405364
lea edi, [ebp - 0x14]
push ebx
push ebx
push 3
movsd dword es:[edi], dword [esi]
push ebx
push 3
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov word [ebp - 0xc], ax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x4c], esi
cmp esi, 0xffffffff
jne 0x469f63
xor al, al
jmp 0x46a033
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push eax
push 0x28
lea eax, [ebp - 0x48]
mov dword [ebp - 0x20], ebx
push eax
push 0xc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], ebx
push eax
push 0x2d1400
push esi
mov edi, ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x469f9c
mov edi, dword [ebp - 0x2c]
jmp 0x46a024
call fcn.0041f650
cmp eax, 2
jg 0x46a014
push 4
pop ebx
push 2
push 0x93
push 0x4052e8
lea ecx, [ebp - 0x104]
call fcn.0041f6f0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x405374
push dword [ebp - 0x50]
lea eax, [ebp - 0x14]
push 0x4053a0
push eax
lea eax, [esi + 8]
push 0x4053b0
push eax
call fcn.0041b6f0
pop ecx
pop ecx
push eax
call fcn.0041ff60
pop ecx
pop ecx
push eax
call fcn.0041b6f0
pop ecx
pop ecx
push eax
call fcn.0041cec0
pop ecx
pop ecx
push eax
call fcn.0041b6f0
pop ecx
pop ecx
mov ecx, eax
call fcn.00420170
mov esi, dword [ebp - 0x4c]
test bl, 4
je 0x46a024
lea ecx, [ebp - 0x104]
call fcn.0041f740
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp edi, 7
sete al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004918a1
mov esp, ebp
pop ebp
ret
Function at 0x46ac68
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x37c8
call fcn.0048ed30
mov eax, dword [0x4b1810]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov ebx, edi
mov esi, edi
push esi
lea eax, [ebp - 0x104]
push 0x4055c4
push eax
call fcn.0048ec50
add esp, 0xc
lea eax, [ebp - 0x104]
push edi
push edi
push 3
push edi
push 3
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x37c8], eax
cmp eax, 0xffffffff
je 0x46ae51
mov dword [ebp - 0x37c4], edi
xor eax, eax
lea edi, [ebp - 0x37c0]
stosd dword es:[edi], eax
push 0x2710
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x33cc]
xor edi, edi
push edi
push eax
mov dword [ebp - 0x37c0], edi
mov dword [ebp - 0x37bc], edi
call fcn.004486f7
add esp, 0xc
lea eax, [ebp - 0x37c4]
push edi
mov edi, dword [ebp - 0x37c8]
push eax
push 0x2710
lea eax, [ebp - 0x33cc]
push eax
push 0xc
lea eax, [ebp - 0x37c0]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x46ae48
lea eax, [ebp - 0xcbc]
push eax
push 0
push dword [ebp - 0x33c0]
lea eax, [ebp - 0x33cc]
push eax
call fcn.0046ae6e
lea eax, [ebp - 0x8d4]
push eax
push 0
push dword [ebp - 0x33bc]
lea eax, [ebp - 0x33cc]
push eax
call fcn.0046ae6e
lea eax, [ebp - 0x37b4]
push eax
push 0
push dword [ebp - 0x33b8]
lea eax, [ebp - 0x33cc]
push eax
call fcn.0046ae6e
lea eax, [ebp - 0x4ec]
push eax
push 1
push dword [ebp - 0x33b4]
lea eax, [ebp - 0x33cc]
push eax
call fcn.0046ae6e
add esp, 0x40
cmp byte [0x4b54e0], 0
jne 0x46ae0e
movsx eax, byte [ebp - 0x4ec]
push eax
call fcn.00493689
pop ecx
test eax, eax
jne 0x46adc8
movsx eax, byte [ebp - 0x4d9]
push eax
call fcn.00493689
pop ecx
test eax, eax
je 0x46ae0e
xor eax, eax
cmp byte [ebp - 0x4ec], 0x20
jne 0x46adde
inc eax
cmp byte [ebp + eax - 0x4ec], 0x20
je 0x46add3
lea ecx, [ebp - 0x4ec]
mov edx, 0x4b54e0
add ecx, eax
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x46aded
xor ecx, ecx
mov al, byte [ebp + ecx - 0x8d4]
mov byte [ecx + 0x4b58e0], al
inc ecx
test al, al
jne 0x46adf9
xor ebx, ebx
inc ebx
push 0x2710
lea eax, [ebp - 0x33cc]
push 0
push eax
call fcn.004486f7
add esp, 0xc
lea eax, [ebp - 0x37c4]
xor ecx, ecx
push ecx
push eax
push 0x2710
lea eax, [ebp - 0x33cc]
push eax
push ecx
push ecx
push 0x700a0
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
inc esi
cmp esi, 0x10
jl 0x46ac88
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004918a1
mov esp, ebp
pop ebp
ret

Function at 0x46afb9
Capabilities:
Hash data with md5

Disassembly:
push esi
push 0x40
mov esi, ecx
push 0
push esi
call fcn.004486f7
and dword [esi + 0x44], 0
add esp, 0xc
and dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x48], 0x67452301
mov dword [esi + 0x4c], 0xefcdab89
mov dword [esi + 0x50], 0x98badcfe
mov dword [esi + 0x54], 0x10325476
pop esi
ret