joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f4078
Capabilities:
Allocate or change rwx memory
Find taskbar
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp], eax
mov eax, dword [esp]
xor ecx, ecx
mov edx, 0x10
call fcn.00402ec4
lea eax, [esp + 0x38]
push eax
call sub.kernel32.dll_GetSystemInfo
call sub.user32.dll_GetDesktopWindow
test eax, eax
je 0x4f4264
push 0
push 0x4f426c
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4f4264
push 0
push 0x4f427c
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4f4264
push 0
push 0x4f428c
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4f4264
push 0
push 0x4f429c
push 0
push eax
call sub.user32.dll_FindWindowExA
mov ebp, eax
test ebp, ebp
je 0x4f4264
push 0
push 0
push 0x418
push ebp
call sub.user32.dll_SendMessageA
mov dword [esp + 4], eax
cmp dword [esp + 4], 1
jl 0x4f4264
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push ebp
call sub.user32.dll_GetWindowThreadProcessId
cmp dword [esp + 8], 0
je 0x4f4264
mov eax, dword [esp + 8]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov edi, eax
test edi, edi
je 0x4f4264
push 0x40
push 0x1000
push 0x1000
push 0
push edi
call sub.kernel32.dll_VirtualAllocEx
mov esi, eax
test esi, esi
je 0x4f4264
or ebx, 0xffffffff
cmp ebx, dword [esp + 4]
jge 0x4f4250
inc ebx
push esi
push ebx
push 0x417
push ebp
call sub.user32.dll_SendMessageA
test eax, eax
je 0x4f4246
lea eax, [esp + 0xc]
push eax
push 0x18
lea eax, [esp + 0x1c]
push eax
push esi
push edi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x4f4246
test byte [esp + 0x1d], 0xd
jne 0x4f4246
mov al, byte [esp + 0x1c]
and al, 8
cmp al, 8
je 0x4f4246
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
push eax
push edi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x4f4246
cmp dword [esp + 0xc], 0
je 0x4f4246
mov eax, dword [0x512ca4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
cmp eax, dword [esp + 0x10]
jne 0x4f4246
push esi
push ebx
push 0x41d
push ebp
call sub.user32.dll_SendMessageA
test eax, eax
je 0x4f4222
lea eax, [esp + 0xc]
push eax
push 0x10
mov eax, dword [esp + 8]
push eax
push esi
push edi
call sub.kernel32.dll_ReadProcessMemory
cmp dword [esp + 0xc], 0
je 0x4f4250
lea eax, [esp + 0x28]
push eax
push ebp
call sub.user32.dll_GetWindowRect
mov eax, dword [esp]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
call fcn.004065e0
jmp 0x4f4250
cmp ebx, dword [esp + 4]
jl 0x4f4186
push 0x8000
push 0
push esi
push edi
call sub.kernel32.dll_VirtualFreeEx
push edi
call sub.kernel32.dll_CloseHandle
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4f5cac
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount
mov ebx, eax
mov eax, dword [0x512ca4]
mov eax, dword [eax]
call fcn.0046de2c
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, esi
jb 0x4f5cb7
pop esi
pop ebx
ret
Function at 0x4f622c
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebx
call fcn.00408e2c
test al, al
je 0x4f62b3
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x160
call fcn.00402ec4
or esi, 0x100
test esi, esi
jns 0x4f6267
call fcn.004033f0
push esi
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
mov eax, ebx
call fcn.00404720
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4f62b3
mov dl, 1
mov eax, dword [0x424098]
call fcn.0042ba34
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.0042be40
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x4f62b3
mov eax, esp
call fcn.0040dc78
mov eax, dword [esp]
add esp, 0x164
pop esi
pop ebx
ret
Function at 0x505f34
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 1
push esi
mov ecx, 1
xor edx, edx
xor eax, eax
call fcn.00406580
push esi
push 0
push 0x419
mov eax, ebx
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
pop esi
pop ebx
ret
Function at 0x401470
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401489
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4014c4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4014c0
lea ebx, [ebx]
cmp esi, eax
jae 0x4014c4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4014b0
cmp esi, eax
jb 0x4014ca
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x401ce0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
mov eax, dword [0x44b538]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
mov ebx, dword [esp + 0x11c]
push ebp
mov ebp, dword [esp + 0x124]
push esi
push edi
mov edi, dword [esp + 0x120]
push 0x104
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x43b904
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x401d55
push 0x43b914
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x401d5a
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or eax, 0xffffffff
jmp 0x401d72
mov ecx, dword [esp + 0x124]
push ebp
push ebx
push ecx
push edi
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00425d1a
add esp, 0x10c
ret

Function at 0x4026c0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x110
mov eax, dword [0x44b538]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x114]
push esi
push edi
mov edi, dword [esp + 0x120]
lea ecx, [esp + 8]
push ecx
push 0xf003f
xor esi, esi
push esi
push edi
push eax
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40273a
mov ecx, dword [esp + 8]
push esi
push esi
push esi
push esi
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
push esi
push ecx
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
jne 0x40272f
mov esi, 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402756
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x114]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.00425d1a
add esp, 0x110
ret
Function at 0x4030a0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x437f48
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x44b538]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
push str.MicrosoftWindowsCurrentVersionUninstall_
add ecx, 0x148
push ecx
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.00402cd0
push str.F132AF7F_7BCA_4EDE_8A7C_958108FE7DBC
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x4c], 0
call fcn.00402cd0
mov eax, dword [eax]
add esp, 0x18
lea edx, [esp + 0x18]
push edx
push 0xf003f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov eax, dword [esp + 0x24]
sete byte [esp + 0xf]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403147
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40316f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0xf], 0
je 0x4031da
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.MajorVersion
mov edi, 4
push ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
call esi
test eax, eax
jne 0x4031cf
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.MinorVersion
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
shl eax, 0x10
or eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret
Function at 0x403a30
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4380d6
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x44b538]
xor eax, esp
mov dword [esp + 0x110], eax
push ebp
push esi
push edi
mov eax, dword [0x44b538]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
call fcn.0041557a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403a88
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ecx, [eax + 0x10]
mov dword [esp + 0x10], ecx
mov eax, dword [esi + 0x158]
test eax, eax
mov dword [esp + 0x12c], 0
je 0x403aba
cmp dword [esi + 0x15c], 0
jne 0x403ac3
test eax, eax
jne 0x403af1
cmp dword [esi + 0x15c], 0
jne 0x403af1
lea eax, [ecx - 0x10]
mov dword [esp + 0x12c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403aea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x403c20
cmp dword [esi + 0x2a2c], 0
jne 0x403b4f
push str.RealtekInstallShield
lea ecx, [esi + 0x148]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00402cd0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], 1
call fcn.00402df0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x12c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403b5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x403b5f
push 0x20
push str.SoftwareRealtekAudioInstaller
lea ecx, [esp + 0x18]
call fcn.00402a70
mov ebp, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push ebp
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x403bf7
cmp dword [esi + 0x158], eax
je 0x403b9e
push str.F132AF7F_7BCA_4EDE_8A7C_958108FE7DBC
lea edx, [esp + 0x20]
push 0x43bca8
push edx
call fcn.00426f4f
add esp, 0xc
mov eax, 0x27
jmp 0x403bc9
cmp dword [esi + 0x15c], 0
je 0x403bc5
push str.5449FB4F_1802_4D5B_A6D8_087DB1142147
lea eax, [esp + 0x20]
push 0x43bca8
push eax
call fcn.00426f4f
add esp, 0xc
mov eax, 0x27
jmp 0x403bc9
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push 1
push 0
push str.RtkCurUninstallPackage
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
mov eax, dword [esp + 0x14]
neg edi
sbb edi, edi
push eax
add edi, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
mov dword [esp + 0x12c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403c1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00425d1a
add esp, 0x120
ret
Function at 0x403c50
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x438120
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x44b538]
xor eax, esp
mov dword [esp + 0x4c], eax
push esi
mov eax, dword [0x44b538]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0041557a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403c9b
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x68]
push ecx
lea edx, [esp + 0x18]
push str.0x_08X
push edx
mov dword [esp + 0x6c], 0
call fcn.00426f4f
add esp, 0xc
cmp dword [esi + 0x2a2c], 0
jne 0x403d22
push str.RealtekInstallShield
add esi, 0x148
lea eax, [esp + 0x14]
push esi
push eax
call fcn.00402cd0
add esp, 0xc
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x64], 1
call fcn.00402df0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x60], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403d32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x403d32
push 0x20
push str.SoftwareRealtekAudioInstaller
lea ecx, [esp + 0x10]
call fcn.00402a70
mov esi, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x403d70
push 0x40
lea edx, [esp + 0x18]
push edx
push 1
push eax
mov eax, dword [esp + 0x1c]
push str.InstallerErrorCode
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [esp + 0x60], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403d94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.00425d1a
add esp, 0x5c
ret 4
Function at 0x403dc0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x438166
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x44b538]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
mov eax, dword [0x44b538]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0041557a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403e14
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa8]
add eax, 0xffffffff
cmp eax, 3
mov dword [esp + 0xa0], 0
ja case.default.0x403e3e
jmp dword [eax*4 + 0x403f94]
mov ecx, dword [esp + 0xac]
push ecx
push str.DriverPackageInstall_Error_code_0x_08X
jmp 0x403e89
mov eax, dword [esp + 0xac]
push eax
push str.DriverPackagePrenstall_Error_code_0x_08X
lea ecx, [esp + 0x1c]
push ecx
jmp 0x403e8e
mov edx, dword [esp + 0xac]
push edx
push str.DriverPackageUninstall_Error_code_0x_08X
lea eax, [esp + 0x1c]
push eax
jmp 0x403e8e
mov ecx, dword [esp + 0xac]
push ecx
push str.DriverPackageGetPath_Error_code_0x_08X
lea edx, [esp + 0x1c]
push edx
call fcn.00426f4f
add esp, 0xc
cmp dword [esi + 0x2a2c], 0
jne 0x403ef4
push str.RealtekInstallShield
add esi, 0x148
lea eax, [esp + 0x14]
push esi
push eax
call fcn.00402cd0
add esp, 0xc
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0xa4], 1
call fcn.00402df0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0xa0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403f04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x403f04
push 0x20
push str.SoftwareRealtekAudioInstaller
lea ecx, [esp + 0x10]
call fcn.00402a70
mov esi, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x403f45
push 0x80
lea edx, [esp + 0x18]
push edx
push 1
push eax
mov eax, dword [esp + 0x1c]
push str.DIFxAPIErrorCode
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [esp + 0xa0], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403f6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.00425d1a
add esp, 0x9c
ret 8
Function at 0x4086a0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x44c9d4]
push esi
mov esi, ecx
xor ecx, ecx
cmp eax, 0x5a
setge cl
push 0
sub ecx, 1
and ecx, 0xa
add eax, ecx
push eax
mov dword [0x44c9d4], eax
mov edx, dword [esi + 0x2a50]
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ecx, esi
call fcn.00410c84
cmp dword [esi + 0x2a20], 0
je 0x4086f0
mov dword [0x44c9cc], 1
jmp 0x408700
mov ecx, esi
call fcn.00401fb0
test eax, eax
mov dword [0x44c9cc], eax
je 0x408778
mov eax, dword [esi + 0x2a04]
test eax, eax
push edi
je 0x408751
cmp dword [esi + 0x2a0c], 0
je 0x408733
mov ecx, esi
call fcn.00406b10
mov ecx, esi
mov edi, eax
call fcn.00405de0
test edi, edi
jne 0x408763
test eax, eax
jne 0x40876c
push 0xffffffffffffffff
call fcn.00427666
test eax, eax
je 0x408751
cmp dword [esi + 0x2a0c], 0
jne 0x40874d
mov ecx, esi
call fcn.00406b10
mov edi, eax
xor eax, eax
jmp 0x408724
test eax, eax
jne 0x40872c
cmp dword [esi + 0x2a0c], 0
je 0x40872c
mov ecx, esi
call fcn.00405de0
jmp 0x408728
cmp edi, 1
jne 0x408792
test eax, eax
jmp 0x40876f
cmp eax, 1
jne 0x408792
push 0xfffffffffffffffc
call fcn.00427666
push 0x30
push str.Warning
push str._Microsoft_Bus_driver_should_be_loaded_in_your_system_before_installing_Realtek_HD_Audio_driver__
mov ecx, esi
call fcn.00401670
push 0xfffffffffffffffe
call fcn.00427666
pop edi
pop esi
ret

Function at 0x4086a5
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x44c9d4]
push esi
mov esi, ecx
xor ecx, ecx
cmp eax, 0x5a
setge cl
push 0
sub ecx, 1
and ecx, 0xa
add eax, ecx
push eax
mov dword [0x44c9d4], eax
mov edx, dword [esi + 0x2a50]
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ecx, esi
call fcn.00410c84
cmp dword [esi + 0x2a20], 0
je 0x4086f0
mov dword [0x44c9cc], 1
jmp 0x408700
mov ecx, esi
call fcn.00401fb0
test eax, eax
mov dword [0x44c9cc], eax
je 0x408778
mov eax, dword [esi + 0x2a04]
test eax, eax
push edi
je 0x408751
cmp dword [esi + 0x2a0c], 0
je 0x408733
mov ecx, esi
call fcn.00406b10
mov ecx, esi
mov edi, eax
call fcn.00405de0
test edi, edi
jne 0x408763
test eax, eax
jne 0x40876c
push 0xffffffffffffffff
call fcn.00427666
test eax, eax
je 0x408751
cmp dword [esi + 0x2a0c], 0
jne 0x40874d
mov ecx, esi
call fcn.00406b10
mov edi, eax
xor eax, eax
jmp 0x408724
test eax, eax
jne 0x40872c
cmp dword [esi + 0x2a0c], 0
je 0x40872c
mov ecx, esi
call fcn.00405de0
jmp 0x408728
cmp edi, 1
jne 0x408792
test eax, eax
jmp 0x40876f
cmp eax, 1
jne 0x408792
push 0xfffffffffffffffc
call fcn.00427666
push 0x30
push str.Warning
push str._Microsoft_Bus_driver_should_be_loaded_in_your_system_before_installing_Realtek_HD_Audio_driver__
mov ecx, esi
call fcn.00401670
push 0xfffffffffffffffe
call fcn.00427666
pop edi
pop esi
ret
Function at 0x40ac9d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x44b538]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x40acdd
push 0x43c810
push 4
push eax
call fcn.00427371
push eax
call fcn.00401000
add esp, 0x10
jmp 0x40acef
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x40ad5d
push edi
call fcn.00427bee
mov edi, dword [eax]
call fcn.00427bee
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.00426fe6
add esp, 0x18
mov ebx, eax
call fcn.00427bee
cmp dword [eax], 0
je 0x40ad3d
call fcn.00427bee
push dword [eax]
call fcn.0040a35c
pop ecx
jmp 0x40ad44
call fcn.00427bee
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x40ad5d
cmp ebx, esi
jae 0x40ad5d
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x40ad5f
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00425d1a
leave
ret
Function at 0x40daef
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x40db35
call fcn.0040ed1f
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40db35
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x40db78
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x40db61
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x40db61
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40db75
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x413e81
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x413ec4
call fcn.0040ed1f
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x413ec4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x413edf
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00413a38
test ebx, ebx
mov esi, eax
je 0x413edd
test edi, edi
je 0x413edd
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x415c0b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x415c39
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x415c57
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00415b75
jmp 0x415c57
mov eax, dword [esi + 0x14]
test eax, eax
je 0x415c57
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00415b75
test edi, edi
mov eax, edi
jne 0x415c41
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x44e508]
test ecx, ecx
je 0x415d1a
jmp 0x415c0a
ret 8

Function at 0x425d1a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44b538]
jne 0x425d24
repz ret
jmp fcn.0042a345