joyce8/EMBER2024-capa huggingface dataset:
Function at 0x473e70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], ecx
cmp dword [ebp + 8], 0
jne 0x473ea8
push str.Error:_HWND_param_is_NULL__OUT__n
push 0x5e32c0
call fcn.0040c230
add esp, 8
xor eax, eax
jmp 0x474049
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x58], ecx
mov edx, dword [ebp - 0x214]
mov eax, dword [ebp + 8]
mov dword [edx + 0x5c], eax
xor ecx, ecx
mov word [ebp - 0x210], cx
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.00568440
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x5e32e0
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x5e32f4
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
push str.Wtsapi32.dll_path_s_n
push 0x5e333c
call fcn.0040c230
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x473f64
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x210]
push edx
push 0x5e3360
push 0x5e33a0
call fcn.0040c230
add esp, 0x10
push str.WTSRegisterSessionNotification
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x214]
mov dword [ecx + 0xc0], eax
mov edx, dword [ebp - 0x214]
cmp dword [edx + 0xc0], 0
jne 0x473fa7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetProcAddress_WTSRegisterSessionNotification__err_d_n
push 0x5e3454
call fcn.0040c230
add esp, 0xc
push str.WTSUnRegisterSessionNotification
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x214]
mov dword [ecx + 0xc4], eax
mov edx, dword [ebp - 0x214]
cmp dword [edx + 0xc4], 0
jne 0x473fea
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetProcAddress_WTSUnRegisterSessionNotification__err_d_n
push 0x5e3510
call fcn.0040c230
add esp, 0xc
push 0
mov eax, dword [ebp - 0x214]
add eax, 0x10
push eax
call fcn.0040d2a0
add esp, 8
mov ecx, dword [ebp - 0x214]
add ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0x2c
call fcn.004060f0
mov ecx, dword [ebp - 0x214]
add ecx, 0x10
call fcn.00406190
push eax
push str.Get_local_ip_addr_S_n
push str.CSessionMon::IniSessionMonitor
call fcn.0040c230
add esp, 0xc
mov edx, dword [ebp - 0x214]
mov dword [edx + 4], 1
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret 8
Function at 0x4760e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
add eax, 0xa0
push eax
mov ecx, dword [ebp - 0x20]
call fcn.0047ab30
test eax, eax
je 0x476182
mov ecx, dword [ebp - 0x20]
add ecx, 0xa0
call fcn.004a2040
test eax, eax
je 0x476182
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x20]
add ecx, 0xa0
call fcn.004308f0
mov ecx, eax
call fcn.004642b0
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x10
call fcn.004060f0
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x20]
add ecx, 0xa0
call fcn.004308f0
mov ecx, eax
call fcn.004642b0
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x2c
call fcn.004060f0
mov ecx, dword [ebp - 0x20]
add ecx, 0x10
call fcn.00406190
push eax
push 0x5e4b18
push 0x5e4b8c
call fcn.0040c230
add esp, 0xc
mov ecx, dword [ebp - 0x20]
call fcn.00475300
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
push 0x476250
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4761cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5e4bb8
push 0x5e4c24
call fcn.0040c230
add esp, 0xc
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp - 0x20]
push eax
push 0x476290
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x476207
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Create_elog_audit_thread_fail__err_d__out_n
push str.CSessionMon::StartSessionMonitorAsync
call fcn.0040c230
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x476217
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
je 0x476227
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jne 0x476237
cmp dword [ebp - 8], 0
jne 0x476237
xor eax, eax
jmp 0x476247
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4762d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10c], 0
mov byte [ebp - 0x108], 0
push 0xff
push 0
lea eax, [ebp - 0x107]
push eax
call fcn.00568440
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x5e4a5c
push 0xfe
lea eax, [ebp - 0x108]
push eax
call fcn.0056377d
add esp, 0x14
lea ecx, [ebp - 0x10c]
push ecx
push 0xf003f
push 0
lea edx, [ebp - 0x108]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4763e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error:_RegOpenKeyExA_err_d__retry__n
push 0x5e4df8
call fcn.0040c230
add esp, 0xc
push 0x100
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.00568440
add esp, 0xc
push 0x5e4e08
mov ecx, dword [ebp + 8]
push ecx
push str.SystemCurrentControlSetServicesEventLog_s_s
push 0xfe
lea edx, [ebp - 0x108]
push edx
call fcn.0056377d
add esp, 0x14
lea eax, [ebp - 0x10c]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0x108]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4763e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error:_RegOpenKeyExA_retry_err_d__retry__n
push 0x5e4ea4
call fcn.0040c230
add esp, 0xc
xor eax, eax
jmp 0x476449
mov dword [ebp - 0x110], 0x103
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0
push str.EventMessageFile
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x476437
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error:_RegQueryValueExA_err_d__OUT__n
push str.el_getEventDLL
call fcn.0040c230
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov byte [edx], 0
xor eax, eax
jmp 0x476449
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret
Function at 0x476460
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 0x18], eax
cmp dword [0x642120], 0
jne 0x4765d0
mov byte [ebp - 0x120], 0
push 0x104
push 0
lea eax, [ebp - 0x11f]
push eax
call fcn.00568440
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004762d0
add esp, 0xc
test eax, eax
jne 0x4764d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error:_el_getEventDLL_err_d__OUT__n
push 0x5e4f74
call fcn.0040c230
add esp, 0xc
xor eax, eax
jmp 0x47664d
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x10], ecx
push 0x3b
mov edx, dword [ebp - 0x10]
push edx
call fcn.00473c40
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x476519
mov eax, dword [ebp - 0x14]
mov byte [eax], 0
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x476519
mov byte [ebp - 0x228], 0
push 0x100
push 0
lea edx, [ebp - 0x227]
push edx
call fcn.00568440
add esp, 0xc
push 0xff
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
call fcn.00414440
mov dword [ebp - 0xc], eax
push 0x22
push 0
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [0x642120], eax
cmp dword [0x642120], 0
jne 0x4765c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5e4f88
push 0x5e4fd4
call fcn.0040c230
add esp, 0xc
push 2
push 0
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [0x642120], eax
cmp dword [0x642120], 0
jne 0x4765c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error:_LoadLibraryExA_err_d__OUT__n
push 0x5e5034
call fcn.0040c230
add esp, 0xc
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00414400
add esp, 4
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
or edx, 0x800
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
or eax, 0x100
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
or ecx, 0x2000
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
cmp dword [0x642120], 0
je 0x47664a
mov edx, dword [ebp + 0x14]
push edx
push 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [0x642120]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x47664a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error:_FormatMessageA_err_d__OUT__n
push str.el_GetMessage
call fcn.0040c230
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret
Function at 0x481660
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0
call fcn.00480be0
mov ecx, eax
call fcn.00401f30
test eax, eax
jne 0x481692
push str.cdrom_interval_init_error
push str.CUSBMonitor::IniUSBMonitor
call fcn.0040c230
add esp, 8
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x481640
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4816c1
mov eax, 1
jmp 0x4816c3
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x4816d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
lea ecx, [ebp - 8]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
push 0x482f70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x48170e
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x481720
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58af98
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
mov dword [eax], 1
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 4], 0
je 0x4817d0
push 0x3e8
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4817a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push str._CUSBMonitor_Wait_trace_thread_fail__ret_d__err_d._n
push 0x5e2d0c
call fcn.0040c230
add esp, 0x10
push 0
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x4817c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push str._CUSBMonitor_Wait_trace_thread_thread_exit_OK..._n
push str.CUSBMonitor::StopUSBMonitor
call fcn.0040c230
add esp, 0x10
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 4], 0
push 1
mov ecx, dword [ebp - 0x38]
call fcn.004836d0
lea ecx, [ebp - 0x2c]
call fcn.00406020
mov dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x38]
add eax, 0x64
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.00408070
mov dword [ebp - 0x3c], eax
call fcn.00418740
add esp, 0x20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004060d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret
Function at 0x482510
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0x183bd4
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
push ecx
push str.__C:
lea edx, [ebp - 0x288]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 3
push closesocket
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x482589
xor al, al
jmp 0x4825d4
push 0
lea ecx, [ebp - 0x298]
push ecx
push 0x28
lea edx, [ebp - 0x2c]
push edx
push 0xc
lea eax, [ebp - 0x294]
push eax
push 0x2d1400
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4825d2
cmp dword [ebp - 0x10], 7
jne 0x4825c8
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x4825d4
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret
Function at 0x482c40
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a058
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x838], 0
mov dword [ebp - 4], 0
mov byte [ebp - 0x82c], 0
push 0x3ff
push 0
lea eax, [ebp - 0x82b]
push eax
call fcn.00568440
add esp, 0xc
mov byte [ebp - 0x424], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x423]
push ecx
call fcn.00568440
add esp, 0xc
mov dword [ebp - 0x1c], 0x400
call fcn.00402270
mov dword [ebp - 0x428], eax
push 0
lea ecx, [ebp + 0xc]
call fcn.00405fe0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x482ce7
mov dword [ebp - 0x83c], 0
jmp 0x482d4b
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3fffffff
jle 0x482d0c
mov dword [ebp - 0x840], 0
jmp 0x482d3f
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.00570840
mov dword [ebp - 0x844], esp
mov eax, dword [ebp - 0x428]
push eax
mov ecx, dword [ebp - 0x10]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x844]
push eax
call fcn.004022d0
mov dword [ebp - 0x840], eax
mov ecx, dword [ebp - 0x840]
mov dword [ebp - 0x83c], ecx
push 0x400
lea edx, [ebp - 0x424]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x42c]
push ecx
lea edx, [ebp - 0x834]
push edx
push 0x400
lea eax, [ebp - 0x82c]
push eax
mov ecx, dword [ebp - 0x83c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x82c]
push edx
mov ecx, dword [ebp + 8]
call fcn.0043fcb0
mov eax, dword [ebp - 0x838]
or eax, 1
mov dword [ebp - 0x838], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0042ecc0
mov eax, dword [ebp + 8]
lea esp, [ebp - 0x848]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret
Function at 0x483050
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x19020
call fcn.0056b140
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x19020], ecx
mov dword [ebp - 0x1900c], 0
push 0
push 0x2000000
push 3
push 0
push 1
push closesocket
mov ecx, dword [ebp - 0x19020]
add ecx, 0x10
call fcn.00406290
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
mov byte [ebp - 0x19008], 0
push 0x18fff
push 0
lea eax, [ebp - 0x19007]
push eax
call fcn.00568440
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x483157
lea ecx, [ebp - 0x19018]
push ecx
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 0x19018]
push eax
call fcn.004186c0
add esp, 4
mov dword [ebp - 0x1901c], eax
mov ecx, dword [ebp - 0x19020]
mov edx, dword [ebp - 0x1901c]
cmp edx, dword [ecx + 8]
je 0x48314d
push 0
lea eax, [ebp - 0x19010]
push eax
push 0x19000
lea ecx, [ebp - 0x19008]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x19008]
push eax
mov ecx, dword [ebp - 0x19020]
call fcn.00483170
mov ecx, dword [ebp - 0x19020]
mov edx, dword [ebp - 0x1901c]
mov dword [ecx + 8], edx
mov dword [ebp - 0x1900c], 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1900c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret

Function at 0x486950
Capabilities:
Create thread
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x104
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x28
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov edx, dword [ebp - 8]
add edx, 8
push edx
mov ecx, dword [ebp - 8]
call fcn.00487040
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push 0x487020
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 4], 0
je 0x4869af
mov eax, 1
jmp 0x4869b1
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x486a00
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x24], ecx
cmp dword [ebp + 8], 0
je 0x486a40
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
add ecx, 2
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x28]
mov ax, word [edx]
mov word [ebp - 0x2e], ax
add dword [ebp - 0x28], 2
cmp word [ebp - 0x2e], 0
jne 0x486a1e
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x2c]
sar ecx, 1
mov dword [ebp - 0x34], ecx
jne 0x486a47
xor eax, eax
jmp 0x486ae5
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x32
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0xc]
ja 0x486ae2
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
lea edx, [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x486ac3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x534
jne 0x486ab4
mov dword [ebp - 0xc], 0
jmp 0x486ae2
cmp dword [ebp - 0x20], 0x7a
jne 0x486ac1
mov dword [ebp - 0xc], 1
jmp 0x486aca
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 8]
add edx, dword [ebp - 4]
mov dword [ebp - 8], edx
jmp 0x486a5c
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8
Function at 0x487040
Capabilities:
List user accounts

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589f08
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x61b000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push 2
mov edx, dword [ebp - 0x1c]
push edx
push 0
call sub.NETAPI32.dll_NetUserEnum
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4870c5
cmp dword [ebp - 0x14], 0xea
jne 0x487136
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x487136
mov dword [ebp - 0x30], 0
jmp 0x4870e3
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x10]
jae 0x487136
cmp dword [ebp - 0x28], 0
jne 0x4870f3
jmp 0x487136
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00406230
mov dword [ebp - 4], 0
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00443790
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0xc]
mov dword [eax], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00406270
mov eax, dword [ebp - 0x28]
add eax, 0x20
mov dword [ebp - 0x28], eax
jmp 0x4870da
cmp dword [ebp - 0x2c], 0
je 0x48714c
mov ecx, dword [ebp - 0x2c]
push ecx
call sub.NETAPI32.dll_NetApiBufferFree
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x487e70
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 8]
push eax
call fcn.00401bb0
add esp, 4
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push 5
mov eax, dword [ebp - 8]
push eax
push 0
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
jne 0x487ece
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WTSQuerySessionInformationA_Error__d
push 0x5a144c
call fcn.0040c230
add esp, 0xc
jmp 0x487f3b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
mov cl, byte [eax]
mov byte [ebp - 0x1d], cl
add dword [ebp - 0x18], 1
cmp byte [ebp - 0x1d], 0
jne 0x487edd
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 1
jb 0x487f3b
cmp dword [ebp - 0xc], 1
jb 0x487f3b
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x14]
add edx, 0x28
push edx
call fcn.0056f430
add esp, 0xc
mov eax, dword [ebp - 0x14]
add eax, 0x28
push eax
push 0x5a147c
push str.CUserPrivilegeMonitor::GetCurrentConsoleUser
call fcn.0040c230
add esp, 0xc
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x48a5b0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
jmp 0x48a5c8
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jge 0x48a620
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
jmp 0x48a5e9
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jge 0x48a611
mov eax, dword [ebp - 4]
and eax, 1
je 0x48a607
mov ecx, dword [ebp - 4]
shr ecx, 1
xor ecx, 0xedb88320
mov dword [ebp - 4], ecx
jmp 0x48a60f
mov edx, dword [ebp - 4]
shr edx, 1
mov dword [ebp - 4], edx
jmp 0x48a5e0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax*4 + 0x63f580], ecx
jmp 0x48a5bf
mov esp, ebp
pop ebp
ret