joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434b40
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ee888
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x5382cc]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x5382cc]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
xor ebx, ebx
lea eax, [esp + 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov esi, ecx
push 1
lea ecx, [esp + 0xd0]
push ecx
mov byte [esp + 0xd4], bl
mov byte [esp + 0xd5], bl
mov byte [esp + 0xd6], bl
mov byte [esp + 0xd7], bl
mov byte [esp + 0xd8], bl
mov byte [esp + 0xd9], 1
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
push eax
push ebx
lea ecx, [esp + 0x20]
push ecx
push 1
mov dword [esp + 0x28], 0x1fffff
mov dword [esp + 0x2c], 2
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 5
mov dword [esp + 0x44], edx
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
mov edx, dword [esp + 0x10]
push ebx
push edx
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
cmp dword [esi + 0x1c], 8
mov dword [esp + 0x38], 0xc
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebx
jb 0x434c70
mov ecx, dword [esi + 8]
jmp 0x434c73
lea ecx, [esi + 8]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x38]
push edx
push ebx
push eax
push eax
mov eax, dword [esi + 0x28]
push eax
push 6
push 0x40000003
push ecx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp eax, 0xffffffff
jne 0x434ce5
mov dword [esi + 0x24], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push 0x19
push str.TCreateNamedPipe___failed
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.0040c3d0
mov dword [esp + 0xc0], ebx
call esi
push eax
lea ecx, [esp + 0x48]
push ecx
lea edi, [esp + 0x68]
call fcn.004343c0
push 0x52b8dc
mov edx, edi
push edx
call fcn.004b49a8
mov dword [esi + 0x24], eax
mov al, 1
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.004b48bf
mov esp, ebp
pop ebp
ret

Function at 0x4363d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4eb1d8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push esi
push edi
mov eax, dword [0x5382cc]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [esp + 0xc]
call fcn.004377c0
mov edi, eax
lea esi, [esp + 0x30]
mov dword [esp + 0x60], 0
call fcn.00437810
push 0x52bf6c
mov eax, esi
push eax
call fcn.004b49a8
int3
Function at 0x436960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4eb6b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5382cc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00435120
mov dword [esp + 0x18], 0
test edi, edi
je 0x4369a4
add edi, 0x28
jmp 0x4369a6
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x4369be
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_std::runtime_error_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_std::runtime_error_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x436a30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4edc68
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5382cc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0040ff70
mov dword [esi], vtable.boost::gregorian::bad_day_of_month.0
mov dword [esp + 0x18], 0
test edi, edi
je 0x436a7a
add edi, 0x28
jmp 0x436a7c
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x436a94
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_day_of_month_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_day_of_month_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x436c20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4edc68
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5382cc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0040ff70
mov dword [esi], vtable.boost::gregorian::bad_year.0
mov dword [esp + 0x18], 0
test edi, edi
je 0x436c6a
add edi, 0x28
jmp 0x436c6c
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x436c84
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x436d10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4edc68
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5382cc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0040ff70
mov dword [esi], vtable.boost::gregorian::bad_month.0
mov dword [esp + 0x18], 0
test edi, edi
je 0x436d5a
add edi, 0x28
jmp 0x436d5c
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x436d74
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4388e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4eeb68
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5382cc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, eax
or edx, ecx
jne 0x438936
mov eax, dword [ebp + 8]
push eax
call fcn.00438a00
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 4]
mov dword [esp + 0x14], edx
mov byte [esp + 0x18], 1
push 0
push 0xf4240
push ecx
push eax
mov dword [esp + 0x48], 0
call fcn.004b63d0
push 0
push 0x3e8
push edx
push eax
call fcn.004b5f40
test edx, edx
jl 0x438976
jg 0x438984
test eax, eax
jae 0x438984
neg eax
adc edx, 0
neg edx
neg eax
adc edx, 0
neg edx
mov esi, eax
lea eax, [esp + 0x1c]
push 0x435240
push eax
mov edi, edx
call fcn.00435e00
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edi
lea eax, [esp + 0x24]
lea esi, [esp + 0x2c]
call fcn.00435c10
mov edi, dword [eax]
mov ebx, dword [eax + 4]
sub esp, 0x18
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp + 8]
mov dword [esi], eax
xor eax, eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov byte [esi + 0x10], al
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], ebx
call fcn.00439570
xor edx, edx
test al, al
setne dl
dec edx
and edx, 0x274c
mov eax, edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x438a00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4eeb38
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5382cc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx + 4]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esp + 0x24], 0
call fcn.004394c0
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
add esp, 0x1c
ret 4

Function at 0x438b20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ee96b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5382cc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
push 0x34
mov dword [edi], vtable.apache::thrift::concurrency::Monitor.0
call fcn.004ae310
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
test esi, esi
je 0x438b90
push esi
call fcn.004382c0
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], eax
mov dword [edi + 4], esi
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
xor eax, eax
mov dword [edi + 4], eax
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x439e2f
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push edi
push 0
push 1
mov edi, str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push edi
mov ebx, ecx
push 0
push ebx
mov byte [ebp - 1], 1
call esi
test eax, eax
jne 0x439e7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x439e76
push 8
push 1
push edi
push 0
push ebx
call esi
test eax, eax
jne 0x439e7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x439e7e
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x439f72
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x439fdb
cmp dword [ebp + 0x10], 1
je 0x439fb3
cmp dword [ebp + 0x10], 2
je 0x439fb3
push 0xd
pop eax
jmp 0x439fdb
mov eax, dword [ebp - 4]
test edi, edi
je 0x439fd5
test eax, eax
je 0x439fd0
test al, 1
jne 0x439fae
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x439fd5
jmp 0x439fae
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc

Function at 0x43a034
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
push esi
push esi
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x210]
push str..
push eax
call fcn.004b4f7b
pop ecx
pop ecx
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43a08d
xor eax, eax
jmp 0x43a105
push ebx
xor ebx, ebx
inc ebx
cmp word [ebp - 0x434], 0x2e
jne 0x43a0b7
cmp word [ebp - 0x432], si
je 0x43a0e5
cmp word [ebp - 0x432], 0x2e
jne 0x43a0b7
cmp word [ebp - 0x430], si
je 0x43a0e5
lea eax, [ebp - 0x434]
push str.desktop.ini
push eax
call fcn.004b30fd
pop ecx
pop ecx
test eax, eax
jne 0x43a0e5
lea eax, [ebp - 0x434]
push str..lnk
push eax
call fcn.004b30fd
pop ecx
pop ecx
test eax, eax
je 0x43a0f9
lea eax, [ebp - 0x460]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43a091
jmp 0x43a0fb
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004b48bf
leave
ret
Function at 0x43a18f
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov esi, ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x43a224
mov eax, dword [esi + 0x20c]
test eax, eax
je 0x43a1bb
push eax
call fcn.004b54e2
pop ecx
push edi
call fcn.004b55bf
pop ecx
mov dword [esi + 0x20c], eax
test eax, eax
je 0x43a224
push eax
push edi
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x43a224
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push str.VarFileInfoTranslation
push dword [esi + 0x20c]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43a224
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push 0x4f8bcc
push 0x208
add esi, 4
push esi
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
xor eax, eax
add esp, 0x14
inc eax
jmp 0x43a226
xor eax, eax
pop edi
pop esi
leave
ret 4

Function at 0x43a311
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 0x104
lea esi, [ecx + 4]
push 0
push esi
call fcn.00439b07
add esp, 0xc
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeMain.exe
push 0x80000002
mov dword [ebp - 4], 0x208
mov dword [ebp - 8], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
pop esi
leave
ret

Function at 0x43a359
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
mov edi, dword [ebp + 8]
push edi
call ebx
test eax, eax
je 0x43a374
xor eax, eax
inc eax
jmp 0x43a3ed
and dword [ebp - 4], 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, 0xffffffff
je 0x43a3d6
test al, 0x10
je 0x43a3d6
push edi
mov dword [ebp - 4], 1
call esi
test eax, eax
jne 0x43a3d1
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x43a3ba
cmp dword [ebp - 4], 0
push edi
jne 0x43a3db
call ebx
test eax, eax
jne 0x43a3d1
cmp byte [ebp + 0xc], 0
je 0x43a3ea
cmp byte [ebp + 0x10], 1
jne 0x43a3df
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43a3df
xor eax, eax
inc eax
jmp 0x43a3ec
push edi
call ebx
jmp 0x43a399
call esi
jmp 0x43a3b6
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret
Function at 0x43a432
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 2
push esi
push esi
push esi
push str.SOFTWARE360TotalSecurityDeepScan
push 0x80000002
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x43a461
cmp dword [ebp - 4], esi
je 0x43a493
xor eax, eax
cmp dword [ebp + 8], esi
push 4
setne al
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push esi
push str.DisableHRM
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x43a48a
xor esi, esi
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x43a56b
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
neg eax
sbb eax, eax
neg eax
leave
ret

Function at 0x43a587
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004b47e0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x43a5d2
xor eax, eax
jmp 0x43a601
push str.ntdll.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x43a5ce
push str.RtlGetVersion
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b48bf
leave
ret

Function at 0x43a60d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004b47e0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
jne 0x43a661
xor eax, eax
inc eax
cmp dword [ebp - 0x110], eax
je 0x43a663
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b48bf
leave
ret

Function at 0x43a66f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004b47e0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.004b48bf
leave
ret
Function at 0x43a6c5
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004b47e0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x43a721
cmp dword [ebp - 0x114], 6
jne 0x43a71d
xor eax, eax
inc eax
cmp dword [ebp - 0x110], eax
je 0x43a723
xor eax, eax
jmp 0x43a723
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b48bf
leave
ret

Function at 0x43a72f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.004b47e0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x43a777
mov al, 1
jmp 0x43a78f
cmp dword [ebp - 0x11c], 6
ja 0x43a773
jne 0x43a78d
xor eax, eax
inc eax
cmp dword [ebp - 0x118], eax
jae 0x43a78f
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b48bf
leave
ret

Function at 0x43aaed
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp eax, ecx
jne 0x43aafe
xor eax, eax
inc eax
pop ebp
ret
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
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 dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
xor eax, eax
pop ebp
ret
Function at 0x43ada9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeMain.exe
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43ae25
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
add eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push str.Path
push dword [ebp - 4]
mov dword [ebp - 0xc], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.004b5ec7
pop ecx
test eax, eax
je 0x43ae22
lea ecx, [esi + eax*2]
cmp word [ecx - 2], 0x5c
je 0x43ae22
push 0x5c
pop edx
mov word [ecx], dx
pop esi
leave
ret
xor eax, eax
leave
ret

Function at 0x43aff1
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.004b4f50
and dword [ebp - 0x1004], 0
push 0xffc
lea eax, [ebp - 0x1000]
push 0
push eax
call fcn.004b47e0
and dword [ebp - 4], 0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x43b03a
leave
ret
mov eax, dword [ebp - 4]
shr eax, 2
leave
ret

Function at 0x43b1b1
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push esi
xor esi, esi
cmp dword [0x53dea0], esi
jne 0x43b1f4
cmp dword [0x53de9c], esi
jne 0x43b1fc
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, esi
je 0x43b1ea
push str.GetPhysicallyInstalledSystemMemory
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x53de9c], eax
mov dword [0x53dea0], 1
cmp dword [0x53de9c], esi
je 0x43b223
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [0x53de9c]
test eax, eax
je 0x43b223
push esi
push 0x400
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004b63d0
jmp 0x43b271
push 0x3c
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.004b47e0
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x43b24f
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
jmp 0x43b271
push edi
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x20]
xor edx, edx
pop edi
pop esi
leave
ret