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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x439b6c
mov eax, esi
call fcn.0044efd0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x439b6c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x439b6c
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x439cab
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x439bac
cmp eax, 0x108
ja 0x439bac
mov eax, esi
call fcn.0044efd0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x439ca2
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x439cab
jmp 0x439ca2
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x439c8b
cmp eax, 0x20a
ja 0x439c8b
test byte [esi + 0x50], 0x80
jne 0x439bde
sub eax, 0x203
je 0x439bdb
sub eax, 3
je 0x439bdb
sub eax, 3
jne 0x439bde
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x439bf2
dec eax
je 0x439c07
dec eax
je 0x439c24
dec eax
je 0x439c07
jmp 0x439c2b
mov ecx, ebx
mov eax, dword [0x460934]
mov eax, dword [eax]
mov edx, esi
call fcn.00458714
jmp 0x439ca2
cmp byte [esi + 0x5d], 1
jne 0x439c1d
mov eax, esi
mov si, 0xffed
call fcn.00403c54
jmp 0x439cab
or word [esi + 0x54], 1
jmp 0x439ca2
and word [esi + 0x54], 0xfffe
jmp 0x439ca2
mov eax, dword [0x461b64]
cmp byte [eax + 0x20], 0
je 0x439ca2
mov eax, dword [0x461b64]
cmp dword [eax + 0x1c], 0
je 0x439ca2
mov eax, dword [ebx]
mov edx, dword [0x461b64]
cmp eax, dword [edx + 0x1c]
jne 0x439ca2
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0044ef14
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403c54
jmp 0x439cab
cmp eax, 0xb00b
jne 0x439ca2
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00438488
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43d12c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x43d148
cmp dword [esi + 4], 0
je 0x43d175
test byte [ebx + 0x55], 1
jne 0x43d167
mov eax, ebx
call fcn.0043bd38
test eax, eax
jne 0x43d167
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43d285
mov edx, esi
mov eax, ebx
call fcn.0043cc50
jmp 0x43d285
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43d27e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043ef9c
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00439a54
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043d12c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043ef9c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d285
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x443694
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x460b40]
cmp byte [eax + 0xc], 0
je 0x443801
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4437fa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x461bb8], 0
jne 0x4436e8
push 0x443808
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x443810
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x461bb8], eax
cmp dword [0x45fd24], 0
jne 0x4437e3
push 0x443820
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45fd24], eax
cmp dword [0x45fd24], 0
je 0x4437e3
push 0x44382c
mov eax, dword [0x45fd24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x461bbc], eax
push 0x44383c
mov eax, dword [0x45fd24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x461bc0], eax
push 0x443850
mov eax, dword [0x45fd24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x461bc4], eax
push 0x443868
mov eax, dword [0x45fd24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x461bc8], eax
push 0x443880
mov eax, dword [0x45fd24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x461bcc], eax
push 0x443894
mov eax, dword [0x45fd24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x461bd0], eax
push 0x4438ac
mov eax, dword [0x45fd24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x461bd4], eax
push 0x4438c4
mov eax, dword [0x45fd24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x461bd8], eax
push 0x4438e0
mov eax, dword [0x45fd24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x461bdc], eax
push 0x4438ec
mov eax, dword [0x45fd24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x461be0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443801
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44768c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004047c0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4476db
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404a30
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44ee84
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44eed4]
test si, 4
je 0x44ee98
or bl, 1
test si, 8
je 0x44eea2
or bl, 4
test si, 1
je 0x44eeac
or bl, 8
test si, 2
je 0x44eeb6
or bl, 0x10
test si, 0x10
je 0x44eec0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44eecf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44eed8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44ef10]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44eef1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ef00
or bl, 4
test esi, 0x20000000
je 0x44ef0b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4555d4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4555e6
add esp, 0xfffffff0
call fcn.00403d6c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b900
mov eax, dword [0x46069c]
mov dword [eax + 4], ebx
mov dword [eax], 0x455978
mov eax, dword [0x4606a8]
mov dword [eax + 4], ebx
mov dword [eax], 0x455984
mov eax, ebx
call fcn.00455990
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412794]
call fcn.00403a1c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412794]
call fcn.00403a1c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412794]
call fcn.00403a1c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412794]
call fcn.00403a1c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412794]
call fcn.00403a1c
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, 0x451da8
push eax
push 0
push 0
mov eax, dword [0x460884]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4277d0]
call fcn.00428c38
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4277d0]
call fcn.00428c38
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4277d0]
call fcn.00428c38
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00455de0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455ca8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455ca8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455ca8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x455723
call fcn.00403dc4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x455a8c
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 0x455c37
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x455c18
mov dl, 1
mov eax, dword [0x412d3c]
call fcn.00403a1c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004047c0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x455c07
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.004439f4
test al, al
je 0x455bfa
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, 0x455c48
lea eax, [ebp - 0x254]
call fcn.00409628
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x455bfa
xor eax, eax
push ebp
push 0x455bf3
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 0x455c80
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x455bdc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a30
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 0x455bdc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455bfa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x455afd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004173b0
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 0x455c3e
lea eax, [ebp - 0x260]
call fcn.004047c0
ret

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

Disassembly:
push ecx
mov eax, dword [0x461c04]
cmp byte [eax + 0xa5], 0
jne 0x4565f1
cmp dword [0x461c1c], 0
jne 0x4565b2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45653c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x461c1c], eax
cmp dword [0x461c18], 0
jne 0x4565cd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x461c18], eax
cmp dword [0x461c20], 0
jne 0x4565f1
push esp
push 0
push 0
push 0x4564e0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x461c20], eax
pop edx
ret
Function at 0x456c84
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x461c04]
cmp dword [eax + 0x30], 0
je 0x456d2e
cmp dword [ebx + 0x94], 0
jne 0x456d28
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x456c14
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x456d28
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 0x456cee
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x456d28
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.00414ed4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x456cfd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45788c
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 0x4578c1
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.004048b0
jmp 0x4578ce
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404814
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45885c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45889d
mov eax, esi
call fcn.0043f1fc
test al, al
je 0x45889d
mov eax, dword [ebx + 0x84]
call fcn.0043ef9c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45889d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043ef9c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45cedc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x45cf54
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, pe_nt_image_headers32
mov eax, esi
call fcn.00408518
mov ebx, eax
push esi
push ebx
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.004049b8
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0040ce50
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, edi
call fcn.00404acc
mov eax, ebx
call fcn.00402ab8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cf5b
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004047e4
ret
Function at 0x45cf64
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c70
xor eax, eax
push ebp
push 0x45cff0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404a80
mov ebx, eax
mov dword [ebp - 8], 0x10
mov eax, edi
mov edx, ebx
call fcn.00404e0c
test ebx, ebx
jle 0x45cfda
mov esi, ebx
test esi, esi
jle 0x45cfda
mov ebx, 1
mov eax, edi
call fcn.00404cd8
lea eax, [eax + ebx - 1]
push eax
mov eax, ebx
cdq
idiv dword [ebp - 8]
mov eax, 0x45d008
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 4]
xor al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
inc ebx
dec esi
jne 0x45cfb1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cff7
lea eax, [ebp - 4]
call fcn.004047c0
ret

Function at 0x45d024
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x45d086
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, pe_nt_image_headers32
call fcn.00402a88
mov ebx, eax
push 0
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
push esi
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x45d071
mov edi, dword [ebx]
mov eax, ebx
call fcn.00402ab8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d08d
ret

Function at 0x45df6c
Capabilities:
Query service status

Disassembly:
push ebx
push esi
add esp, 0xffffffe4
xor esi, esi
push 1
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov ebx, eax
test ebx, ebx
jbe 0x45dfa6
push 4
push 0x45dfb0
push ebx
call sub.advapi32.dll_OpenServiceA
test eax, eax
jbe 0x45dfa0
push esp
push eax
call sub.advapi32.dll_QueryServiceStatus
mov esi, dword [esp + 4]
push ebx
call sub.advapi32.dll_CloseServiceHandle
mov eax, esi
add esp, 0x1c
pop esi
pop ebx
ret
Function at 0xeae570
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xf382bc
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0xf64014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
lea edi, [ebx + 0x34]
mov byte [ebp - 4], 3
lea ecx, [edi + 4]
mov dword [ebp - 0x14], edi
call fcn.00eeed70
push ecx
mov dword [edi], 0xf56bc0
push 2
mov dword [edi + 8], 2
call fcn.00ef4360
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [eax + 4], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
lea edi, [ebx + 0x48]
mov byte [ebp - 4], 4
lea ecx, [edi + 4]
mov dword [ebp - 0x14], edi
call fcn.00eeed70
push ecx
mov dword [edi], 0xf56bc0
push 2
mov dword [edi + 8], 2
call fcn.00ef4360
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [eax + 4], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, ebx
mov byte [ebx + 0x5c], 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 0xeb1210
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 4], esi
call fcn.00eae570
mov byte [esi + 0xb1], 1
lea eax, [esi + 0x70]
mov dword [eax + 0x48], 0x10
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [eax + 0x4c], eax
lea eax, [esi + 0xc0]
mov byte [eax + 0x41], 1
mov dword [eax + 0x48], 0x10
mov dword [eax + 0x4c], eax
mov eax, dword [esi + 0x10c]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov eax, esi
mov dword [esi + 0x60], 0xf51ae0
mov dword [esi], 0xf51154
pop esi
mov esp, ebp
pop ebp
ret
Function at 0xeb4f70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xf38a80
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0xf64014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], 0xf51eb0
call fcn.00f0a5a8
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00f09584
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
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 0xec1480
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xf3927d
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0xf64014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xor eax, eax
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea esi, [edi + 0x18]
mov dword [ebp - 4], eax
push 0x40
mov dword [ebp - 0x14], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.00f0a5a8
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
xor eax, eax
mov dword [edi + 0x20], 0
mov word [edi + 0x20], ax
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0xecc00c
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
xor eax, eax
movzx ecx, word [edx]
test cx, cx
je 0xecc030
push esi
mov esi, ecx
nop
movzx ecx, si
lea edx, [edx + 2]
add ecx, eax
imul eax, ecx, 0x401
mov ecx, eax
shr ecx, 6
xor eax, ecx
movzx ecx, word [edx]
mov esi, ecx
test cx, cx
jne 0xecc010
pop esi
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
ret