joyce8/EMBER2024-capa huggingface dataset:
Function at 0x524150
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x56d080
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov eax, dword [esp + 0x64]
xor ebx, ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
lea edx, [esp + 0x18]
push edx
push 0x5242f0
push eax
mov dword [esp + 0x68], ebx
call dword [sym.imp.USER32.dll_EnumChildWindows]
test eax, eax
jne 0x5241c9
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x5241c2
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
jmp 0x5242cf
xor ebp, ebp
jmp 0x5241d0
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x5242ca
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jae 0x5242bd
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [esp + 0x5c], 1
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x524211
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x52421b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + ebp*4]
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
cmp edi, ebx
lea ecx, [esp + 0x30]
jne 0x52423c
push 0x58c320
call dword [0x582408]
jmp 0x52426c
lea eax, [edi + 2]
push eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::resize_unsigned_int_]
cmp dword [esp + 0x48], 8
mov eax, dword [esp + 0x34]
jae 0x524255
lea eax, [esp + 0x34]
add edi, 1
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push eax
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::resize_unsigned_int_]
cmp dword [esp + 0x44], ebx
jbe 0x5242a7
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x524287
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x524291
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + ebp*4]
mov esi, dword [esp + 0x28]
lea ebx, [esp + 0x2c]
mov dword [esp + 0x2c], ecx
call fcn.00525770
xor ebx, ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add ebp, 1
jmp 0x5241d0
cmp ecx, ebx
je 0x5242ca
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00569ed6
add esp, 0x4c
ret 4
Function at 0x524370
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 8]
push eax
push 0xf003f
xor esi, esi
push esi
push str.SYSTEMCurrentControlSetControlNetwork
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x5243c6
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x5243b0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0xc], esi
mov eax, dword [esp + 8]
cmp eax, esi
je 0x5243bf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop esi
add esp, 0x10
ret
lea ecx, [esp + 4]
push ecx
push str.MaxNumFilters
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x10], esi
call fcn.0040be80
test eax, eax
jne 0x52439d
mov eax, dword [esp + 4]
add eax, 2
cmp eax, 0x10
jb 0x5243fe
lea esi, [esp + 8]
call fcn.0040be50
xor al, al
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 8]
push 4
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 4
push esi
push str.MaxNumFilters
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
lea esi, [esp + 8]
jne 0x5243f2
call fcn.0040be50
mov al, 1
pop esi
add esp, 0x10
ret
Function at 0x52aa70
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5738b6
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x70]
sub eax, 0x10
call fcn.00410660
add eax, 0x10
mov dword [esp + 0x18], eax
xor ebx, ebx
push str.RTK_HWID.dat
lea edi, [esp + 0x1c]
mov dword [esp + 0xbc], ebx
call fcn.00410c20
mov edi, dword [esp + 0x1c]
add esp, 4
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x52abda
push 0x5afdec
push edi
call dword [sym.imp.MSVCR80.dll__wfopen]
mov ebp, eax
push ebp
call dword [sym.imp.MSVCR80.dll_feof]
add esp, 0xc
test eax, eax
jne 0x52abcc
lea esp, [esp]
push 0x7e
lea eax, [esp + 0x32]
push ebx
push eax
mov word [esp + 0x38], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push ebp
lea ecx, [esp + 0x30]
push 0x40
push ecx
call dword [sym.imp.MSVCR80.dll_fgetws]
add esp, 0xc
test eax, eax
je 0x52abb4
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
call fcn.0040ff50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], ebx
jne 0x52ab72
add eax, 0xfffffff0
mov byte [esp + 0xb8], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x52aba8
lea edi, [esp + 0x1c]
call fcn.004116a0
push eax
lea ecx, [esp + 0x24]
push ecx
lea ebx, [esi + 0x84]
call fcn.0052b8f0
mov byte [esp + 0xb8], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x52abb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
call dword [sym.imp.MSVCR80.dll_feof]
add esp, 4
xor ebx, ebx
test eax, eax
je 0x52ab10
mov edi, dword [esp + 0x18]
cmp ebp, ebx
je 0x52abda
push ebp
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
mov esi, dword [esi + 0x8c]
lea eax, [edi - 0x10]
mov dword [esp + 0xb8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x52ac07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00569ed6
add esp, 0xa8
ret
Function at 0x52e920
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x56fcc0
mov eax, dword fs:[0]
push eax
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x20], 0
lea eax, [esp + 0x24]
push eax
push ebp
lea edi, [esp + 0x30]
mov dword [esp + 0x20], 1
call fcn.0052e9b0
mov byte [esp + 0x18], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x52e98b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x28]
call fcn.00442b80
mov eax, ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x52f390
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x238
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x234], eax
mov eax, dword [esp + 0x23c]
push ebx
push esi
push 0x228
xor ebx, ebx
lea ecx, [esp + 0x18]
push ebx
push ecx
mov dword [esp + 0x18], eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push ebx
push 2
mov dword [esp + 0x18], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 8], esi
jne 0x52f3e5
xor eax, eax
jmp 0x52f456
lea edx, [esp + 0x10]
push edx
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x52f3e1
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x52f43c
mov edx, dword [esp + 0x20]
push edx
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x52f438
push 0x30
push esi
call ebp
push esi
call edi
add ebx, 1
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x52f402
test esi, esi
je 0x52f452
push esi
call edi
pop edi
mov eax, ebx
pop ebp
mov ecx, dword [esp + 0x23c]
pop esi
pop ebx
xor ecx, esp
call fcn.00569ed6
add esp, 0x238
ret 4
Function at 0x52f980
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x57359b
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
push 0x228
lea eax, [esp + 0x2c]
push 0
push eax
mov esi, ecx
call sub.MSVCR80.dll_memset
mov eax, dword [esi + 4]
add esp, 0xc
test eax, eax
mov dword [esp + 0x24], 0x22c
je 0x52fa12
mov edi, dword [esi + 8]
mov ecx, edi
sub ecx, eax
sar ecx, 2
je 0x52fa12
cmp eax, edi
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jbe 0x52f9f8
call ebp
mov ebx, dword [esi + 4]
cmp ebx, dword [esi + 8]
jbe 0x52fa02
call ebp
push edi
push esi
push ebx
push esi
lea edx, [esp + 0x2c]
push edx
mov ebx, esi
call fcn.00417840
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
or ebp, 0xffffffff
cmp edi, ebp
jne 0x52fa28
xor eax, eax
jmp 0x52fa9e
lea eax, [esp + 0x24]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x52fa24
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x4c]
call fcn.0040ff50
lea ebx, [esp + 0x18]
mov dword [esp + 0x260], 0
call fcn.004176f0
mov dword [esp + 0x260], ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x52fa7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x52fa37
test edi, edi
je 0x52fa99
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.00569ed6
add esp, 0x250
ret
Function at 0x530a10
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x1a8
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x1a4], eax
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x18e
lea eax, [esp + 0x26]
push ebx
xor esi, esi
push eax
mov edi, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebx
mov word [esp + 0x2c], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [edi + 0x20], ebx
je 0x530b37
lea ecx, [esp + 0x20]
push ecx
push 0x101
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x530b37
mov eax, dword [edi + 0x20]
push ebx
push 1
push 2
push 1
lea edx, [esp + 0x28]
push edx
push ebx
call eax
cmp eax, ebx
je 0x530a8d
cmp eax, 0x7a
jne 0x530b31
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.MSVCR80.dll_malloc]
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x530b31
mov eax, dword [edi + 0x20]
push ebx
push 1
push 2
push 1
lea edx, [esp + 0x28]
push edx
push ebp
call eax
test eax, eax
jne 0x530b27
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp], ebx
mov dword [esp + 0x1c], eax
jbe 0x530b27
lea esi, [ebp + 0xc]
lea ecx, [ecx]
movzx ecx, word [esi - 4]
push ecx
call sub.WS2_32.dll_ntohs
movzx ecx, ax
cmp ecx, dword [esp + 0x1bc]
mov eax, dword [esi]
jne 0x530afa
cmp dword [esp + 0x1c], eax
je 0x530afa
push eax
push edi
call fcn.00530b60
add dword [esp + 0x14], 1
add ebx, 1
add esi, 0xc
cmp ebx, dword [ebp]
jb 0x530ad0
cmp dword [esp + 0x14], 0
je 0x530b23
mov edx, dword [edi + 0x24]
add edi, 0x24
cmp dword [edx - 0xc], 0
je 0x530b23
push 0x58cbf8
push edi
call fcn.0052bc80
mov esi, dword [esp + 0x14]
push ebp
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x1b4]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00569ed6
add esp, 0x1a8
ret 4
Function at 0x531f40
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
cmp dword [edi + 4], 0
push esi
lea esi, [edi + 4]
jne 0x531f7b
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, 0x80010106
je 0x531f5f
test eax, eax
jl 0x531f9f
push esi
push 0x5a77ec
push 1
push 0
push 0x5a77dc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x531f9f
mov byte [edi], 1
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push 0
push 1
push eax
call edx
test eax, eax
jl 0x531f9f
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push 0
push 2
push eax
call edx
test eax, eax
jge 0x531fa3
xor al, al
pop esi
ret
mov esi, dword [esi]
mov eax, dword [esi]
mov ecx, dword [eax + 0x24]
push 0
push 4
push esi
call ecx
test eax, eax
setge al
pop esi
ret

Function at 0x5322c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x578cd8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x37c]
push edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x30], 0
cmp dword [esi + 0x438], 0
je 0x532368
mov eax, dword [esi + 0x434]
mov edi, dword [eax]
cmp edi, eax
lea ebp, [esi + 0x430]
jne 0x532329
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea eax, [edi + 8]
lea ebx, [esi + 0x43c]
call fcn.0045eb10
mov ebx, dword [ebx]
lea edi, [esi + 0x3e4]
push ebx
call fcn.00418f60
xor ecx, ecx
mov eax, str.KPopDataParam
call fcn.00418fb0
mov eax, dword [ebp + 4]
mov eax, dword [eax]
push eax
push ebp
lea eax, [esp + 0x24]
push eax
mov ebx, ebp
call fcn.00436250
mov edi, dword [esp + 0x18]
push edi
mov dword [esp + 0x34], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0
lea eax, [esi + 4]
mov dword [esi + 0x374], 0
call fcn.004817c0
test eax, eax
jne 0x5323b1
mov dword [esi + 0x394], 2
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 8]
push 0
push 0x64
push 0x64
push ecx
mov dword [esi + 0x394], 1
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [esi]
mov eax, dword [edx + 0x34]
mov ecx, esi
call eax
test eax, eax
je 0x532391
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x532400
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, 1
pop esi
ret
Function at 0x532860
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x14
push ebp
mov ebp, dword [esp + 0x1c]
xor eax, eax
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call edi
push 1
mov esi, eax
call edi
push 0
push 0x59f98c
mov edi, eax
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x5328f4
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
sub edx, eax
cmp edx, esi
jl 0x5328d9
sub esi, dword [ebp]
sub esi, 0xa
cmp dword [esp + 0x1c], edi
mov dword [ebx], esi
jl 0x5328fc
mov eax, dword [esp + 0x14]
sub eax, dword [ebp + 4]
mov dword [ebx + 4], eax
pop edi
pop esi
pop ebp
add esp, 0x14
ret 4
test eax, eax
jle 0x5328f4
sub eax, dword [ebp]
sub eax, 0xa
mov dword [ebx], eax
sub edi, dword [ebp + 4]
mov dword [ebx + 4], edi
pop edi
pop esi
pop ebp
add esp, 0x14
ret 4
sub esi, dword [ebp]
sub esi, 0xa
mov dword [ebx], esi
sub edi, dword [ebp + 4]
mov dword [ebx + 4], edi
pop edi
pop esi
pop ebp
add esp, 0x14
ret 4
Function at 0x532e10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57e7b9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x18], esi
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], esi
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ebx, 1
mov byte [esp + 0x28], bl
mov ebp, dword [esp + 0x30]
mov ecx, dword [ebp + 0xb0]
cmp dword [ecx - 0xc], esi
lea eax, [ebp + 0xb0]
jne 0x532ea0
lea esi, [ebp + 0x18]
lea edi, [esp + 0x30]
call fcn.004196d0
mov byte [esp + 0x28], 2
mov dword [esp + 0x18], ebx
lea ebx, [esp + 0x14]
call fcn.0045eb10
mov dword [esp + 0x28], 1
test byte [esp + 0x18], 1
je 0x532ed8
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x532ed8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp eax, ebx
je 0x532ef3
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
call fcn.00533c30
jmp 0x532f02
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
push eax
push ecx
call fcn.00533b00
lea edi, [ebp + 0x18]
mov dword [ebp + 8], eax
mov esi, dword [edi + 0x18]
cmp esi, ebx
je 0x532f21
nop
mov ecx, esi
mov edx, dword [ecx]
mov eax, dword [edx]
mov esi, dword [esi + 0x28]
push 1
call eax
cmp esi, ebx
jne 0x532f10
mov ecx, 1
mov eax, str.KPopDataParam
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
call fcn.00418fb0
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x532f5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x532f82
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8

Function at 0x533180
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
push esi
push esi
push 1
push esi
mov dword [0x6197a8], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, esi
mov dword [0x6197b0], eax
je 0x5331c0
push esi
push esi
push 0x6197a8
push 0x533230
push esi
push esi
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
mov dword [0x6197ac], eax
cmp eax, esi
lea eax, [esi + 1]
jne 0x5331c2
mov eax, esi
pop esi
ret
Function at 0x5339e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x56cfc8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0x6197b4
mov dword [esp + 0x18], 0x6197b4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, eax
mov eax, dword [0x6197d0]
mov edi, dword [eax]
mov ebx, 0x6197cc
test ebx, ebx
mov esi, dword [0x6197d0]
je 0x533a48
cmp ebx, 0x6197cc
je 0x533a4e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, esi
je 0x533adb
test ebx, ebx
jne 0x533a60
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [ebx + 4]
jne 0x533a6b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [edi + 8]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
cmp eax, 2
jne 0x533a8d
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x533a9c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
cmp edi, dword [ebx + 4]
jne 0x533a98
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [edi]
jmp 0x533a36
mov ecx, ebp
sub ecx, eax
cmp ecx, 0x7530
jbe 0x533a8d
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x533ab7
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
push edi
push ebx
lea ecx, [esp + 0x20]
push ecx
push 0x6197cc
call fcn.00533e30
mov ebx, dword [eax]
mov edi, dword [eax + 4]
jmp 0x533a36
push 0x6197b4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x5395f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x578c60
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
xor ebp, ebp
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov dword [esp + 0x30], ebp
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x30], 1
mov eax, dword [0x619880]
cmp eax, ebp
jne 0x539661
call fcn.00418600
mov dword [0x619880], eax
cmp eax, 6
jne 0x539752
push ebp
push 0x80
push 3
push ebp
push 1
push SysReAllocString
push str..AegisP
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x539696
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x539752
xor edi, edi
lea ebx, [esp + 0x24]
call fcn.004125d0
lea edi, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.004101e0
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5396d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
mov ebx, str.AegisI5.exe
call fcn.0041a8a0
add esp, 8
lea edi, [esp + 0x1c]
mov byte [esp + 0x30], 3
call fcn.004101e0
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53971e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
push edi
lea ecx, [esp + 0x24]
push ecx
push 0xffffffffffffffff
push str._vendor_Realtek__silent__install
push esi
xor ecx, ecx
mov dword [esp + 0x34], 0
call fcn.00418290
add esp, 0x14
cmp dword [esp + 0x20], 0
jne 0x539752
mov ebp, 1
lea eax, [esi - 0x10]
mov byte [esp + 0x30], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x539773
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x539797
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret