joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b83c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x49ce18]
cmp byte [eax + 0xc], 0
je 0x44b9a9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44b9a2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49dbf0], 0
jne 0x44b890
push 0x44b9b0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44b9b8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49dbf0], eax
cmp dword [0x49bbac], 0
jne 0x44b98b
push 0x44b9c8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x49bbac], eax
cmp dword [0x49bbac], 0
je 0x44b98b
push 0x44b9d4
mov eax, dword [0x49bbac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49dbf4], eax
push 0x44b9e4
mov eax, dword [0x49bbac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49dbf8], eax
push 0x44b9f8
mov eax, dword [0x49bbac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49dbfc], eax
push 0x44ba10
mov eax, dword [0x49bbac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49dc00], eax
push 0x44ba28
mov eax, dword [0x49bbac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49dc04], eax
push 0x44ba3c
mov eax, dword [0x49bbac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49dc08], eax
push 0x44ba54
mov eax, dword [0x49bbac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49dc0c], eax
push 0x44ba6c
mov eax, dword [0x49bbac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49dc10], eax
push 0x44ba88
mov eax, dword [0x49bbac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49dc14], eax
push 0x44ba94
mov eax, dword [0x49bbac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49dc18], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b9a9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44fb1c
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.00404a88
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44fb6b
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.00404cf0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x457a54
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x457aa4]
test si, 4
je 0x457a68
or bl, 1
test si, 8
je 0x457a72
or bl, 4
test si, 1
je 0x457a7c
or bl, 8
test si, 2
je 0x457a86
or bl, 0x10
test si, 0x10
je 0x457a90
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x457a9f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x457aa8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x457ae0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x457ac1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x457ad0
or bl, 4
test esi, 0x20000000
je 0x457adb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x457b30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00457ae4
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret

Function at 0x45e104
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45e116
add esp, 0xfffffff0
call fcn.00404080
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d224
mov eax, dword [0x49ca78]
mov dword [eax + 4], ebx
mov dword [eax], 0x45e4a8
mov eax, dword [0x49ca88]
mov dword [eax + 4], ebx
mov dword [eax], 0x45e4b4
mov eax, ebx
call fcn.0045e4c0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412a20]
call fcn.00403cec
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412a20]
call fcn.00403cec
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412a20]
call fcn.00403cec
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412a20]
call fcn.00403cec
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412a20]
call fcn.00403cec
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, 0x45a988
push eax
push 0
push 0
mov eax, dword [0x49cbe4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ecec]
call fcn.00420460
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ecec]
call fcn.00420460
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ecec]
call fcn.00420460
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045e8e0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e7bc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e7bc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e7bc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45e253
call fcn.004040d8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45e5a0
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 0x45e74b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45e72c
mov dl, 1
mov eax, dword [0x413084]
call fcn.00403cec
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a88
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45e71b
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.0044bb9c
test al, al
je 0x45e70e
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, 0x45e75c
lea eax, [ebp - 0x254]
call fcn.00409c60
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45e70e
xor eax, eax
push ebp
push 0x45e707
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 0x45e794
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45e6f0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404cf0
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 0x45e6f0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404cf0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e70e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45e611
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004178b0
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 0x45e752
lea eax, [ebp - 0x260]
call fcn.00404a88
ret

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

Disassembly:
push ecx
mov eax, dword [0x49dc34]
cmp byte [eax + 0xa5], 0
jne 0x45f0f1
cmp dword [0x49dc4c], 0
jne 0x45f0b2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45f03c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x49dc4c], eax
cmp dword [0x49dc48], 0
jne 0x45f0cd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x49dc48], eax
cmp dword [0x49dc50], 0
jne 0x45f0f1
push esp
push 0
push 0
push 0x45efe0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x49dc50], eax
pop edx
ret
Function at 0x45f1e8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45f1ff
add esp, 0xfffffff0
call fcn.00404080
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d224
mov eax, dword [0x49cbd4]
cmp word [eax + 2], 0
jne 0x45f227
mov eax, dword [0x49cbd4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004608c4
mov eax, dword [0x49cc7c]
cmp word [eax + 2], 0
jne 0x45f241
mov eax, dword [0x49cc7c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00460abc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412a20]
call fcn.00403cec
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412a20]
call fcn.00403cec
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], 0x80000018
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 [0x41f80c]
call fcn.00427a20
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45f3c8
mov eax, dword [0x49cae4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00427df0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46102c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x49cae4]
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.0040b924
test eax, eax
je 0x45f336
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040957c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040b94c
test eax, eax
je 0x45f34a
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.00404cf0
mov eax, dword [0x49c988]
cmp byte [eax], 0
jne 0x45f37e
mov eax, ebx
call fcn.0045f4f0
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.00461208
mov eax, ebx
call fcn.00461b48
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45f3be
call fcn.004040d8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45f764
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x49dc34]
cmp dword [eax + 0x30], 0
je 0x45f80e
cmp dword [ebx + 0x94], 0
jne 0x45f808
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45f6f4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45f808
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 0x45f7ce
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45f808
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.00415250
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45f7dd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4602ec
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 0x460321
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.00404b78
jmp 0x46032e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404adc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4613e4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x461425
mov eax, esi
call fcn.00447290
test al, al
je 0x461425
mov eax, dword [ebx + 0x84]
call fcn.00446f8c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x461425
push 0
mov eax, dword [ebx + 0x84]
call fcn.00446f8c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x467db0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x467dde
mov eax, ebx
call fcn.00468868
cmp dword [ebx + 0x3c], 0
je 0x467dd7
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x467e4f
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x467e41
cmp dword [ebx + 8], 0
je 0x467e00
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x467e12
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x467e41
cmp dword [ebx + 8], 0
je 0x467df3
cmp eax, 3
je 0x467e25
dec eax
jne 0x467df3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x467df3
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x467df3
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x467e6d
cmp dword [ebx + 0x10], 0xcc
je 0x467e6d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00467e78
pop ebx
ret
Function at 0x4785dc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404f38
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
setne al
pop ebx
ret

Function at 0x47df8c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47e064
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49dcbc], 0
jne 0x47e048
lea eax, [ebp - 4]
mov edx, 0x47e07c
call fcn.00404b20
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f38
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x47e048
mov eax, ebx
call fcn.00402794
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x47e041
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x47e02b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x47e08c
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47e02b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x49dcbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e048
mov eax, dword [ebp - 0xc]
call fcn.004027b4
ret
mov ebx, dword [0x49dcbc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e06b
lea eax, [ebp - 4]
call fcn.00404a88
ret
Function at 0x48bf48
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41207c]
call fcn.00405448
xor eax, eax
push ebp
push 0x48c08c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49c910], 0
jne 0x48bf9b
mov ecx, dword [0x49c9a0]
mov dl, 1
mov eax, dword [0x407f34]
call fcn.0040ae98
call fcn.004044e8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402f60
mov eax, ebx
call fcn.004052b8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x48c09c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004067e4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004052c8
test eax, eax
jle 0x48c033
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x48c02c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404d08
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404cf0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408dc4
test eax, eax
jne 0x48c02c
mov ebx, 0x15
jmp 0x48c038
mov ebx, 0x10
jmp 0x48c038
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x49c910]
call fcn.0048bea0
mov eax, dword [ebp - 8]
call fcn.0048bea0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004067fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c093
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404aac
lea eax, [ebp - 0x10]
mov edx, dword [0x41207c]
call fcn.00405518
ret

Function at 0x4994b8
Capabilities:
Get disk information

Disassembly:
push ebx
add esp, 0xfffffff8
mov eax, 4
call fcn.00402794
mov ebx, eax
push 0
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
push ebx
push 0
push 0
push 0x4994ec
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [ebx]
pop ecx
pop edx
pop ebx
ret
Function at 0x4010f0
Capabilities:
Terminate thread

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov al, byte [esi + 0x44]
mov dword [esi], 0x44f820
test al, al
je 0x40114c
mov eax, dword [esi + 0x18]
push eax
call dword [sym.imp.WINMM.dll_waveInStop]
mov ecx, dword [esi + 0x18]
push ecx
call dword [sym.imp.WINMM.dll_waveInReset]
mov ebp, dword [sym.imp.WINMM.dll_waveInUnprepareHeader]
lea edi, [esi + 0x30]
mov ebx, 2
mov edx, dword [edi]
mov eax, dword [esi + 0x18]
push 0x20
push edx
push eax
call ebp
add edi, 4
dec ebx
jne 0x401125
mov ecx, dword [esi + 0x18]
push ecx
call dword [sym.imp.WINMM.dll_waveInClose]
mov edx, dword [esi + 0x2c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov al, byte [esi + 0x45]
test al, al
je 0x401186
mov eax, dword [esi + 0x40]
push eax
call dword [sym.imp.WINMM.dll_waveOutReset]
mov ebp, dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
lea edi, [esi + 0x30]
mov ebx, 2
mov ecx, dword [edi]
mov edx, dword [esi + 0x40]
push 0x20
push ecx
push edx
call ebp
add edi, 4
dec ebx
jne 0x40116b
mov eax, dword [esi + 0x40]
push eax
call dword [sym.imp.WINMM.dll_waveOutClose]
lea edi, [esi + 0x30]
mov ebx, 2
mov ecx, dword [edi - 0x28]
push ecx
call fcn.00434318
mov edx, dword [edi]
push edx
call fcn.00434318
mov eax, dword [edi - 0x20]
push eax
call fcn.00434318
mov ecx, dword [edi + 8]
push ecx
call fcn.00434318
add esp, 0x10
add edi, 4
dec ebx
jne 0x40118e
mov edx, dword [esi + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esi + 0x28]
push eax
call edi
mov ecx, dword [esi + 0x2c]
push ecx
call edi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4012c0
Capabilities:
Capture microphone audio
Create thread
Resume thread

Disassembly:
push ecx
push ebx
push edi
mov edi, ecx
call dword [sym.imp.WINMM.dll_waveInGetNumDevs]
test eax, eax
jne 0x4012d5
pop edi
xor al, al
pop ebx
pop ecx
ret
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push 4
push edi
push 0x401430
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 8]
push 0x20000
push 0
lea edx, [edi + 0x46]
push ecx
lea ebx, [edi + 0x18]
push edx
push 0xffff
push ebx
mov dword [edi + 0x2c], eax
call dword [sym.imp.WINMM.dll_waveInOpen]
test eax, eax
je 0x401320
pop edi
xor al, al
pop ebx
pop ecx
ret
push ebp
push esi
lea esi, [edi + 0x30]
mov ebp, 2
mov eax, dword [esi]
mov ecx, dword [esi - 0x28]
push 0x20
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi]
xor eax, eax
mov dword [ecx + 0x10], eax
mov edx, dword [esi]
mov dword [edx + 0x14], eax
mov eax, dword [esi]
mov ecx, dword [ebx]
push eax
push ecx
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
add esi, 4
dec ebp
jne 0x40132a
mov edx, dword [edi + 0x1c]
mov ecx, dword [ebx]
push 0x20
mov eax, dword [edi + edx*4 + 0x30]
push eax
push ecx
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
mov edx, dword [edi + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebx]
push eax
call dword [sym.imp.WINMM.dll_waveInStart]
mov al, 1
pop esi
mov byte [edi + 0x44], al
pop ebp
pop edi
pop ebx
pop ecx
ret
Function at 0x401e80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
mov eax, 0x55555556
push esi
lea ecx, [ebp*4]
imul ecx
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax + 4]
push ecx
call dword [0x457350]
add esp, 4
mov esi, eax
test eax, eax
jne 0x401eb3
pop esi
or eax, 0xffffffff
pop ebp
ret
xor ecx, ecx
push edi
test ebp, ebp
jle 0x401f40
mov edi, dword [esp + 0x10]
push ebx
xor edx, edx
mov dl, byte [ecx + edi]
inc ecx
shl edx, 8
cmp ecx, ebp
jge 0x401ed7
xor ebx, ebx
mov bl, byte [ecx + edi]
add edx, ebx
inc ecx
shl edx, 8
cmp ecx, ebp
jge 0x401ee6
xor ebx, ebx
mov bl, byte [ecx + edi]
add edx, ebx
mov ebx, edx
inc ecx
sar ebx, 0x12
and ebx, 0x3f
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], bl
mov ebx, edx
sar ebx, 0xc
and ebx, 0x3f
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], bl
mov ebx, edx
sar ebx, 6
and ebx, 0x3f
and edx, 0x3f
cmp ecx, ebp
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 2], bl
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 3], dl
jle 0x401f2d
mov byte [esi + 3], 0x3d
lea edx, [ebp + 1]
cmp ecx, edx
jle 0x401f38
mov byte [esi + 2], 0x3d
add esi, 4
cmp ecx, ebp
jl 0x401ec3
pop ebx
mov ecx, dword [esp + 0x18]
mov byte [esi], 0
mov edi, eax
mov dword [ecx], eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
pop esi
mov eax, ecx
pop ebp
ret

Function at 0x401f60
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
inc ebx
push ebx
call dword [0x457350]
mov ecx, ebx
mov ebp, eax
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add esp, 4
and ecx, 3
xor eax, eax
test ebx, ebx
rep movsb byte es:[edi], byte [esi]
jle 0x401fac
mov cl, byte [eax + ebp]
xor cl, 0x19
sub cl, 0x7a
mov byte [eax + ebp], cl
inc eax
cmp eax, ebx
jl 0x401f9b
lea edx, [esp + 0x14]
push edx
push ebx
push ebp
call fcn.00401e80
push ebp
call dword [0x457354]
mov eax, dword [esp + 0x24]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x403c30
Capabilities:
Get file system object information

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x160
cmp eax, 0xffffffff
jne 0x403c46
mov eax, 0x80
jmp 0x403c48
or al, 0x80
mov edx, dword [esp + 0x164]
push 0x4010
lea ecx, [esp + 4]
push 0x160
push ecx
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esp + 4]
add esp, 0x160
ret