joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f5d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587ef8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x5f01b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0042f770
test al, al
je 0x42f65c
push str.PrintFinishNotice_is_already_running_n
push 0x100000
push 0x5f2054
call fcn.00433010
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f646
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, 0x10
lea eax, [ebp - 0x24]
mov byte [eax], bl
inc eax
dec ecx
jne 0x42f664
mov ecx, 0x44
lea eax, [ebp - 0x6c]
mov byte [eax], bl
inc eax
dec ecx
jne 0x42f672
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x6c]
push edx
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push ebx
push eax
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x40], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, 1
jne 0x42f6fd
push str.Run_PrintFinishNotice_is_success_n
push 0x100000
push 0x5f2054
call fcn.00433010
mov ecx, dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
push ecx
call esi
mov edx, dword [ebp - 0x24]
push edx
call esi
jmp 0x42f620
mov dword [ebp - 4], ebx
push str.Run_PrintFinishNotice_is_failed_n
push 0x100000
push 0x5f2054
call fcn.00433010
mov ecx, dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
push ecx
call esi
mov edx, dword [ebp - 0x24]
push edx
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f74f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42f8e0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2410
call fcn.00561ec0
mov eax, dword [0x5f01b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.___________CBrStMonWDlg::IsRunningPrintFinishNoticeCurrentUser___called____________n
push 0x100000
push 0x5f2054
call fcn.00433010
add esp, 0xc
lea eax, [ebp - 0x140c]
push eax
push 0x1000
lea ecx, [ebp - 0x1404]
push ecx
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
mov edi, dword [ebp - 0x140c]
shr edi, 2
mov dword [ebp - 0x1410], edi
mov dword [ebp - 0x1408], 0
test edi, edi
je 0x42fa64
mov ebx, dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
mov edx, dword [ebp - 0x1408]
mov eax, dword [ebp + edx*4 - 0x1404]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x42fa4f
push 0x3ff
lea ecx, [ebp - 0x403]
push 0
push ecx
mov byte [ebp - 0x404], 0
call fcn.005610a0
push 0xffc
lea edx, [ebp - 0x240c]
push 0
push edx
mov dword [ebp - 0x2410], 0
call fcn.005610a0
add esp, 0x18
lea eax, [ebp - 0x140c]
push eax
push 0x1000
lea ecx, [ebp - 0x2410]
push ecx
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x42fa48
mov eax, dword [ebp - 0x2410]
push 0x400
lea edx, [ebp - 0x404]
push edx
push eax
push esi
call ebx
lea ecx, [ebp - 0x404]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov edx, dword [ebp - 0x1408]
mov edi, eax
mov eax, dword [ebp + edx*4 - 0x1404]
push eax
push str.ProcessID:_0x_X_n
push 0x100000
push 0x5f2054
call fcn.00433010
lea ecx, [ebp - 0x404]
push ecx
push str.FullPath:__s_n
push 0x100000
push 0x5f2054
call fcn.00433010
push str.BrPrintFinishNotice.exe
push edi
call fcn.0055fa4b
add esp, 0x28
test eax, eax
je 0x42faa2
mov edi, dword [ebp - 0x1410]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1408]
inc eax
mov dword [ebp - 0x1408], eax
cmp eax, edi
jb 0x42f951
push str.Module_is_not_found_in_current_users_processes._n
push 0x40000
push 0x5f2054
call fcn.00433010
push str.___________CBrStMonWDlg::IsRunningPrintFinishNoticeCurrentUser___return_false____________n
push 0x100000
push 0x5f2054
call fcn.00433010
add esp, 0x18
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055db96
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Module_is_found_in_current_users_processes._n
push 0x100000
push 0x5f2054
call fcn.00433010
push str.___________CBrStMonWDlg::IsRunningPrintFinishNoticeCurrentUser___return_true____________n
push 0x100000
push 0x5f2054
call fcn.00433010
mov ecx, dword [ebp - 4]
add esp, 0x18
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0055db96
mov esp, ebp
pop ebp
ret
Function at 0x4322e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587e10
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5f01b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x24]
push eax
call fcn.004347c0
lea esi, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.00435540
push 0x5f8cc8
push eax
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 1
call fcn.00404de0
add esp, 0xc
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x432359
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0046b8a8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x432373
push 0x80004005
call fcn.004020e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 4
mov eax, dword [esi - 8]
mov edi, dword [ebp - 0x14]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x4323ad
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00401e80
mov esi, dword [ebp - 0x10]
mov ecx, dword [0x5f8cc4]
push edi
push 0x104
push esi
push str.FASLE
push ecx
push str.NetworkRepairTool
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
inc eax
cmp eax, 0xffffffff
jne 0x4323de
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0055e0e1
add esp, 8
test eax, eax
js 0x4324ac
cmp eax, dword [esi - 8]
jg 0x4324ac
push str.TRUE
mov dword [esi - 0xc], eax
push esi
mov byte [eax + esi], 0
call fcn.0055fa4b
add esp, 8
test eax, eax
lea eax, [esi - 0x10]
sete bl
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x432429
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43244c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov dword [ebp - 0x24], vtable.CCommFun.0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432479
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432498
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004020e0
int3
Function at 0x435dd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584cd9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5f01b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
call fcn.0046b8a8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x435e1f
push 0x80004005
call fcn.004020e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], ebx
mov ebx, 1
push 0x5c0b4c
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
call fcn.0042fc70
push 0x5c055c
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.0042fc70
mov byte [ebp - 4], 2
mov eax, dword [edi + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.0042fd30
mov bl, 3
mov byte [ebp - 4], bl
mov eax, dword [edi + 4]
push eax
lea ecx, [ebp - 0x10]
call fcn.0042fd30
mov byte [ebp - 4], 4
mov eax, dword [esi]
mov edi, dword [ebp - 0x10]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x2711
or eax, ecx
jge 0x435e9f
push 0x2711
mov ecx, esi
call fcn.00405390
mov eax, dword [esi]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
push edi
push 0x2710
push eax
mov eax, dword [ebp - 0x1c]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi]
mov ecx, 0x2711
cmp dword [eax - 8], ecx
jl 0x435f79
mov dword [eax - 0xc], ecx
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + 0x4e22], dx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435efa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435f1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435f40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435f63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004020e0
int3
Function at 0x436670
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
lea esi, [ebp - 8]
call fcn.00456d70
mov eax, dword [eax]
xor esi, esi
mov dword [ebp - 4], esi
test eax, eax
je 0x4366b5
cmp byte [eax], 0
je 0x4366b5
push esi
lea ecx, [ebp - 4]
push ecx
push esi
push 0xf003f
push esi
push esi
push esi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4366b2
mov dword [ebp - 4], esi
jmp 0x4366b5
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4366d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x436714
mov eax, dword [edi]
test eax, eax
je 0x4366f3
mov ecx, dword [eax - 0xc]
push ecx
push eax
push 1
push 0
push str.Last_Installed_Time
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [edi]
push edx
push str.__Current_User_:__Last_Installed_Time___s__n
push 0x40000
push 0x5f2054
call fcn.00433010
add esp, 0x10
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x436720
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5879d8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x5f01b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x5bda14
lea ecx, [ebp - 0x14]
call fcn.00401ca0
lea esi, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.00456d70
mov eax, dword [eax]
xor esi, esi
mov dword [ebp - 0x10], esi
test eax, eax
je 0x436798
cmp byte [eax], 0
je 0x436798
push esi
lea ecx, [ebp - 0x10]
push ecx
push esi
push 0xf003f
push esi
push esi
push esi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x436795
mov dword [ebp - 0x10], esi
jmp 0x436798
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4367b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4367f1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push 1
push 0
push str.Last_Installed_Model_2
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.__Current_User_:__Last_Installed_Model__NULL__n
push 0x40000
push 0x5f2054
call fcn.00433010
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436817
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x436ed0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5879a6
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x5f01b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
push 0x104
lea eax, [ebp - 0x114]
push esi
push eax
mov byte [ebp - 0x115], 0
mov dword [ebp - 0x120], esi
call fcn.005610a0
add esp, 0xc
lea ecx, [ebp - 0x130]
push ecx
call fcn.00456ce0
lea edx, [ebp - 0x120]
push edx
push 0x20019
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x130]
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x43705a
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x114]
push edx
push esi
push esi
push str.Last_Installed_Printer_Name
push eax
mov dword [ebp - 0x124], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43704d
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x11c]
call fcn.00401ca0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x11c]
push str._BRINFO
push edx
call fcn.0055fa4b
add esp, 8
cmp eax, esi
jne 0x436fdb
push esi
push 0x5bda14
lea ecx, [ebp - 0x11c]
call fcn.00401f50
mov esi, dword [ebp - 0x120]
lea edi, [ebp - 0x11c]
call fcn.00437090
mov eax, dword [ebp - 0x11c]
push 0x5bda14
push eax
call fcn.0055de44
add esp, 8
test eax, eax
setne al
test al, al
je 0x437027
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, ebx
mov byte [ebp - 0x115], 1
call fcn.00402070
mov edx, dword [ebx]
push edx
push str.___HKEY_LOCAL_MACHINESoftwareBrotherBrMfcWndLast_Installed_Model___s__n
push 0x40000
push 0x5f2054
call fcn.00433010
add esp, 0x10
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x11c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43704d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [ebp - 0x130]
call fcn.0040b0f0
mov al, byte [ebp - 0x115]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055db96
mov esp, ebp
pop ebp
ret
Function at 0x437090
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587961
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5f01b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x115], 0
call fcn.0046b8a8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4370dc
push 0x80004005
call fcn.004020e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x120], eax
mov dword [ebp - 4], 0
call fcn.0046b8a8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43710f
push 0x80004005
call fcn.004020e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 1
call fcn.0046b8a8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43713f
push 0x80004005
call fcn.004020e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x124], eax
push 0x104
lea ecx, [ebp - 0x114]
push 0
mov byte [ebp - 4], 2
push ecx
mov dword [ebp - 0x128], 0x104
call fcn.005610a0
add esp, 0xc
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x114]
push eax
push 0
push 0
push str.Last_Installed_BrInfo_Section_Name
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x437212
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4371a0
sub eax, edx
push eax
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x120]
call fcn.00401f50
lea edx, [ebp - 0x124]
push edx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.00401490
cmp al, 1
jne 0x437212
mov edx, dword [ebp - 0x11c]
push 0x5bda14
push edx
call fcn.0055de44
add esp, 8
test eax, eax
setne al
test al, al
je 0x437212
lea eax, [ebp - 0x11c]
push eax
mov ecx, edi
call fcn.00402070
mov byte [ebp - 0x115], 1
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x124]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437238
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x11c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43725e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x120]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437287
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [ebp - 0x115]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055db96
mov esp, ebp
pop ebp
ret
Function at 0x437420
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov eax, 4
xor edi, edi
lea esi, [ebp - 0xc]
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], eax
call fcn.00456da0
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push 0x20019
push edi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov eax, dword [ebp - 0xc]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x437480
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4374b6
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push str.Need_Property_Dlg
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4374a8
lea edi, [eax + 1]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x4374c0
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4374d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
lea esi, [ebp - 8]
mov dword [ebp - 4], 0
call fcn.00456da0
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push 0x20006
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov eax, dword [ebp - 8]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x437524
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
test bl, bl
pop ebx
je 0x43754d
mov edx, dword [ebp - 4]
push 4
lea ecx, [ebp + 8]
push ecx
push 4
push 0
push str.Need_Property_Dlg
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 4
Function at 0x437f80
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5858c6
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x5f01b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
lea esi, [ebp - 0x98]
mov dword [ebp - 0x94], ebx
call fcn.00456d70
mov eax, dword [eax]
lea ecx, [ebp - 0x94]
push ecx
push 0xf003f
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov eax, dword [ebp - 0x98]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x438000
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
jne 0x438191
call fcn.0046b8a8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x438022
push 0x80004005
call fcn.004020e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x98], esi
mov dword [ebp - 4], ebx
call fcn.0046b8a8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x438051
push 0x80004005
call fcn.004020e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xa0], eax
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0x90]
push edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x94]
push ebx
push eax
xor edi, edi
mov dword [ebp - 0x9c], 0x80
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, ebx
jne 0x438132
jmp 0x4380a0
lea eax, [ebp - 0x90]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4380b0
sub eax, edx
push eax
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x98]
call fcn.00401f50
mov esi, dword [ebp - 0x98]
cmp dword [esi - 0xc], ebx
jl 0x4380ff
push str.LoadDevice
push esi
call fcn.0055e33a
add esp, 8
cmp eax, ebx
je 0x4380ff
sub eax, esi
cmp eax, 0xffffffff
je 0x4380ff
mov edx, dword [ebp - 0x94]
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
dec edi
mov edx, dword [ebp - 0x94]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x90]
push ecx
inc edi
push edi
push edx
mov dword [ebp - 0x9c], 0x80
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, ebx
je 0x4380a0
mov eax, dword [ebp - 0x94]
cmp eax, ebx
je 0x438149
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x94], ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0xa0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43816e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438191
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055db96
mov esp, ebp
pop ebp
ret