joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x489d38
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b1d00]
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.00401530
mov dword [esi], vtable.boost::gregorian::bad_year.0
mov dword [esp + 0x18], 0
test edi, edi
je 0x43c2aa
add edi, 0x28
jmp 0x43c2ac
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 0x43c2c4
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 0x43c350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x489d38
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b1d00]
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.00401530
mov dword [esi], vtable.boost::gregorian::bad_month.0
mov dword [esp + 0x18], 0
test edi, edi
je 0x43c39a
add edi, 0x28
jmp 0x43c39c
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 0x43c3b4
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 0x43dee0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48e088
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4b1d00]
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 0x43df36
mov eax, dword [ebp + 8]
push eax
call fcn.0043e000
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.00466090
push 0
push 0x3e8
push edx
push eax
call fcn.00474650
test edx, edx
jl 0x43df76
jg 0x43df84
test eax, eax
jae 0x43df84
neg eax
adc edx, 0
neg edx
neg eax
adc edx, 0
neg edx
mov esi, eax
lea eax, [esp + 0x1c]
push 0x43a880
push eax
mov edi, edx
call fcn.0043b440
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edi
lea eax, [esp + 0x24]
lea esi, [esp + 0x2c]
call fcn.0043b250
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.0043eab0
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 0x43e000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48e058
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4b1d00]
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.0043ea00
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
add esp, 0x1c
ret 4

Function at 0x43e120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48ddbb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4b1d00]
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.00461770
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
test esi, esi
je 0x43e190
push esi
call fcn.0043d8e0
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 0x43fb44
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push ecx
movzx ecx, word [ebp + 0xc]
xor ebx, ebx
mov eax, esp
push ecx
mov dword [ebp - 4], ebx
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov eax, esp
mov dword [eax], ecx
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call fcn.0043f11f
cmp al, bl
je 0x43fc24
push dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [0x4b8438]
call esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
cmp edi, ebx
je 0x43fc24
push dword [ebp - 8]
push dword [0x4b8438]
call esi
push dword [ebp - 0xc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.00464ff0
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push ebx
push edi
mov dword [ebp + 0xc], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jl 0x43fc09
push ebx
push dword [ebp + 0xc]
call fcn.0043f20a
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x43fc09
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
mov dword [ebp + 8], ebx
call fcn.0043f228
test eax, eax
je 0x43fc01
mov dword [ebp - 4], ebx
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x43fc24
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 4]
lea ecx, [ebp - 0xc]
call fcn.0043f15f
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x4430eb
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xc4]
sub esp, 0x144
mov eax, dword [0x4b1d00]
xor eax, ebp
mov dword [ebp + 0xc0], eax
mov eax, dword [0x4b0238]
test eax, eax
jl 0x44311d
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
jmp 0x4431a6
and dword [0x4b0238], 0
push esi
push 0x24
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00464d20
mov esi, 0x11c
push esi
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.00464d20
add esp, 0x18
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x44316a
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x5c], 0x114
call esi
test eax, eax
je 0x4431a3
push str.GetNativeSystemInfo
push 0x499238
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4431a3
lea ecx, [ebp - 0x80]
push ecx
call eax
cmp word [ebp - 0x80], 9
je 0x443199
cmp word [ebp - 0x80], 6
jne 0x4431a3
xor eax, eax
inc eax
mov dword [0x4b0238], eax
jmp 0x4431a5
xor eax, eax
pop esi
mov ecx, dword [ebp + 0xc0]
xor ecx, ebp
call fcn.00464fe1
add ebp, 0xc4
leave
ret
Function at 0x4432fe
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4b1d00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
call fcn.0044325c
mov esi, eax
mov dword [ebp - 0x50], esi
cmp dword [0x4b36fc], esi
je 0x443328
xor ebx, ebx
cmp esi, ebx
jne 0x443340
lea ecx, [ebp - 0x50]
call fcn.004431d0
xor al, al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00464fe1
leave
ret
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x48]
push eax
push ebx
push 0x1a
mov dword [ebp - 0x54], 0x44
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
jne 0x443368
lea ecx, [ebp - 0x50]
call fcn.004431d0
mov al, bl
jmp 0x443332
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
push esi
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x4c], 1
sete bl
jmp 0x44335c

Function at 0x44348f
Capabilities:
Accept command line arguments

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x4b1d00]
xor eax, ebp
mov dword [ebp + 0x19c], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call esi
push str._elevated
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4434f1
push 0x40
push dword [0x4b6a58]
push dword [0x4b6a60]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
mov ecx, dword [ebp + 0x19c]
xor ecx, ebp
pop esi
call fcn.00464fe1
add ebp, 0x1a0
leave
ret
push ebx
call esi
push eax
lea ecx, [ebp - 0x70]
call fcn.00404be0
push str.__elevated
lea ecx, [ebp - 0x70]
call fcn.00404f50
call fcn.004430eb
mov esi, dword [ebp - 0x70]
xor ebx, ebx
test eax, eax
je 0x443558
mov ecx, dword [ebp + 0x1a8]
cmp ecx, 0xffffffff
je 0x443558
push edi
xor eax, eax
lea edi, [ebp - 0x7c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x3e8
lea eax, [ebp - 0x80]
push eax
push ebx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], esi
call fcn.00442f1d
add esp, 0xc
pop edi
test eax, eax
je 0x443558
mov bl, 1
lea ecx, [esi - 0x10]
call fcn.004016d0
mov al, bl
pop ebx
jmp 0x4434db
xor eax, eax
push 0x206
mov word [ebp - 0x6c], ax
lea eax, [ebp - 0x6a]
push ebx
push eax
call fcn.00464d20
add esp, 0xc
push 0x104
lea eax, [ebp - 0x6c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x44354b
call fcn.004432fe
test al, al
je 0x4435a5
push 1
push ebx
push esi
lea eax, [ebp - 0x6c]
push eax
push str.runas
push ebx
call fcn.00445431
add esp, 0x18
jmp 0x443549
call fcn.00443431
test al, al
jne 0x44358d
cmp byte [ebp + 0x1b0], 1
jne 0x44354b
push 0x40
push dword [0x4b6a58]
push dword [0x4b6a60]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x44354b
Function at 0x4435d1
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 2
push esi
push esi
mov edi, ecx
push esi
lea eax, [edi + 8]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x443602
cmp dword [ebp - 4], esi
je 0x44362f
mov eax, dword [edi + 4]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x48f9fc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x443626
xor esi, esi
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x443635
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1a8]
sub esp, 0x228
mov eax, dword [0x4b1d00]
xor eax, ebp
mov dword [ebp + 0x1a4], eax
push esi
push edi
mov eax, ecx
lea ecx, [ebp - 0x68]
push ecx
xor esi, esi
push 3
add eax, 8
push esi
push eax
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x78], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x44368e
cmp dword [ebp - 0x68], esi
jne 0x44368e
mov dword [ebp - 0x6c], 1
jmp 0x443731
push ebx
push 4
pop eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
mov ebx, 0x48f9fc
push ebx
push dword [ebp - 0x68]
mov dword [ebp - 0x80], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44370e
push ebx
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x443715
push 0x206
mov word [ebp - 0x64], ax
xor ebx, ebx
lea eax, [ebp - 0x62]
push esi
inc ebx
push eax
mov dword [ebp - 0x6c], ebx
call fcn.00464d20
add esp, 0xc
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x68]
mov dword [ebp - 0x70], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x443715
mov dword [ebp - 0x74], ebx
jmp 0x443715
mov dword [ebp - 0x6c], 1
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x68], esi
pop ebx
cmp dword [ebp - 0x74], esi
je 0x443731
push dword [ebp - 0x78]
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp + 0x1a4]
mov eax, dword [ebp - 0x6c]
pop edi
xor ecx, ebp
pop esi
call fcn.00464fe1
add ebp, 0x1a8
leave
ret
cmp dword [ecx], 0
je 0x443755
jmp 0x443635
ret
Function at 0x44374b
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1a8]
sub esp, 0x228
mov eax, dword [0x4b1d00]
xor eax, ebp
mov dword [ebp + 0x1a4], eax
push esi
push edi
mov eax, ecx
lea ecx, [ebp - 0x68]
push ecx
xor esi, esi
push 3
add eax, 8
push esi
push eax
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x78], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x44368e
cmp dword [ebp - 0x68], esi
jne 0x44368e
mov dword [ebp - 0x6c], 1
jmp 0x443731
push ebx
push 4
pop eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
mov ebx, 0x48f9fc
push ebx
push dword [ebp - 0x68]
mov dword [ebp - 0x80], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44370e
push ebx
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x443715
push 0x206
mov word [ebp - 0x64], ax
xor ebx, ebx
lea eax, [ebp - 0x62]
push esi
inc ebx
push eax
mov dword [ebp - 0x6c], ebx
call fcn.00464d20
add esp, 0xc
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x68]
mov dword [ebp - 0x70], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x443715
mov dword [ebp - 0x74], ebx
jmp 0x443715
mov dword [ebp - 0x6c], 1
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x68], esi
pop ebx
cmp dword [ebp - 0x74], esi
je 0x443731
push dword [ebp - 0x78]
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp + 0x1a4]
mov eax, dword [ebp - 0x6c]
pop edi
xor ecx, ebp
pop esi
call fcn.00464fe1
add ebp, 0x1a8
leave
ret
cmp dword [ecx], 0
je 0x443755
jmp 0x443635
ret

Function at 0x443919
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x4b1d00]
xor eax, ebp
mov dword [ebp + 0x84], eax
mov eax, dword [ebp + 0x90]
push ebx
push esi
push edi
xor ebx, ebx
push 0xff
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7b]
push ebx
push eax
mov byte [ebp - 0x7c], bl
call fcn.00464d20
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
xor edi, edi
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov esi, dword [sym.imp.USER32.dll_keybd_event]
test eax, eax
je 0x44397b
test byte [ebp - 0x6a], 0x80
jne 0x44397b
push ebx
inc edi
push edi
push ebx
push 0x12
call esi
push dword [ebp - 0x80]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [ebp - 0x80], eax
cmp edi, ebx
je 0x443993
push ebx
push 3
push ebx
push 0x12
call esi
mov ecx, dword [ebp + 0x84]
mov eax, dword [ebp - 0x80]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00464fe1
add ebp, 0x88
leave
ret
Function at 0x4439c5
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x4b1d00]
xor eax, ebp
mov dword [ebp + 0x94], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x443a06
cmp dword [ebp - 0x7c], 6
jb 0x443a06
cmp dword [ebp - 0x78], 2
jb 0x443a06
xor eax, eax
inc eax
jmp 0x443a08
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.00464fe1
add ebp, 0x98
leave
ret

Function at 0x443a67
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x4b1d00]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x114
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00464d20
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 5
jne 0x443ab7
cmp dword [ebp - 0x78], 2
jne 0x443ab7
xor eax, eax
inc eax
jmp 0x443ab9
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.00464fe1
add ebp, 0x98
leave
ret

Function at 0x443ace
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x1f98]
mov eax, 0x2018
call fcn.00465cc0
mov eax, dword [0x4b1d00]
xor eax, ebp
mov dword [ebp + 0x1f94], eax
mov eax, dword [ebp + 0x1fa4]
push ebx
push edi
mov edi, dword [ebp + 0x1fa0]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x1fa8]
xor ebx, ebx
mov dword [ebp - 0x78], eax
cmp edi, ebx
jne 0x443b11
xor al, al
jmp 0x443b89
push esi
mov esi, 0x1fff
push esi
lea eax, [ebp - 0x6b]
push ebx
push eax
mov byte [ebp - 0x6c], bl
call fcn.00464d20
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push edi
mov dword [ebp - 0x80], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
je 0x443b86
cmp eax, esi
ja 0x443b86
lea ecx, [ebp - 0x6c]
push ecx
push eax
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x443b82
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push 0x499254
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x443b82
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x7c]
mov dword [edx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
mov bl, 1
mov al, bl
jmp 0x443b88
xor al, al
pop esi
mov ecx, dword [ebp + 0x1f94]
pop edi
xor ecx, ebp
pop ebx
call fcn.00464fe1
add ebp, 0x1f98
leave
ret
Function at 0x443ba0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.00465cc0
mov eax, dword [0x4b1d00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x200c]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x443c24
cmp eax, 0x1fff
ja 0x443c24
lea ecx, [ebp - 0x2004]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x443c24
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x2008]
push eax
push 0x499254
lea eax, [ebp - 0x2004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x443c24
mov eax, dword [ebp - 0x2008]
mov ecx, dword [eax + 0xc]
mov dword [esi], ecx
mov eax, dword [eax + 8]
mov dword [esi + 4], eax
xor eax, eax
inc eax
jmp 0x443c26
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00464fe1
leave
ret

Function at 0x443ca3
Capabilities:
Check mutex on windows

Disassembly:
push esi
push dword [esp + 8]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x443cd0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x443cd0
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
pop esi
ret
mov eax, esi
pop esi
ret

Function at 0x443d37
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 0x443da0
cmp dword [ebp + 0x10], 1
je 0x443d78
cmp dword [ebp + 0x10], 2
je 0x443d78
push 0xd
pop eax
jmp 0x443da0
mov eax, dword [ebp - 4]
test edi, edi
je 0x443d9a
test eax, eax
je 0x443d95
test al, 1
jne 0x443d73
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x443d9a
jmp 0x443d73
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 0x443e42
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
push edi
xor edi, edi
push edi
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [esi + 0xc]
push edi
or ecx, 0x20006
push ecx
push edi
push edi
push edi
push eax
push dword [esi]
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x443e9e
push dword [ebp + 0x14]
mov esi, dword [esi + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x443ea0
xor eax, eax
pop edi
pop esi
leave
ret