joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005c80
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x810
mov eax, dword [0x10016034]
xor eax, esp
mov dword [esp + 0x80c], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
jne 0x10005cc8
push str.Error__szSilentListPath__NULL
call fcn.1000b290
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.1000d9da
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10005cf6
push str.Cant_find_the_file_from_szSilentListPath_
call fcn.1000b290
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.1000d9da
mov esp, ebp
pop ebp
ret 4
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
push esi
push 0x400
push eax
push 0
push str.Boomerang_ModuleName
push str.SilentList
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x10005d54
push str.Cant_find_the_module_name_from_silent_list.
call fcn.1000b290
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.1000d9da
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x10]
lea edx, [ecx + 2]
jmp 0x10005d60
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005d60
sub ecx, edx
sar ecx, 1
je 0x10005db2
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call fcn.10008df0
push dword [eax]
lea eax, [esp + 0x14]
push eax
push str.Boomerang_ModuleName
push str.SilentList
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [esp + 0xc]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10005db2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.10005de0
mov ecx, dword [esp + 0x814]
pop edi
pop esi
xor ecx, esp
call fcn.1000d9da
mov esp, ebp
pop ebp
ret 4

Function at 0x10006120
Capabilities:
Terminate process

Disassembly:
push ecx
cmp dword [ecx + 0x18c8], 0
jne 0x10006149
cmp dword [ecx + 0x189c], 0
je 0x10006156
call fcn.10002220
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop ecx
ret
push str.Current_Process_is_in_the_silent_list._Block_Boomerang.exe_
call fcn.1000b290
add esp, 4
pop ecx
ret
Function at 0x100081d0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10016034]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x10012578
mov esi, ecx
call fcn.1000b290
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call sub.MSVCR110.dll_memset
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x1c
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.Patch.ini
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10008261
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x18f0]
cmp dword [eax - 0xc], 0
je 0x100082d8
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x100082b4
lea eax, [ebp - 0x210]
push eax
push str.Failed_to_create_wszPatchIni___s
call fcn.1000b290
add esp, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000d9da
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x210]
push eax
push dword [esi + 0x18f0]
push str.Boomerang_PatchUrl
push str.Info
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1000d9da
mov esp, ebp
pop ebp
ret
Function at 0x10008610
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10016034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x218], ebx
call dword [sym.imp.MSVCR110.dll_clock]
mov ecx, eax
sub ecx, dword [ebx + 0x1910]
mov eax, 0x10624dd3
mul ecx
lea eax, [ebp - 0x21c]
mov edi, edx
push eax
mov ecx, ebx
shr edi, 6
call fcn.10008df0
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [ebp - 0x21c]
add esi, 0xfffffff0
or ebx, 0xffffffff
mov dword [ebp - 0x214], eax
lea edx, [esi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000868c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x100087a6
mov esi, dword [ebp - 0x218]
lea eax, [ebp - 0x214]
push eax
mov ecx, esi
call fcn.10008df0
push dword [eax]
lea eax, [ebp - 0x210]
push 0x104
push eax
push 0x100126ec
push 0x100126f0
push str.Info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x214]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100086ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.MSVCR110.dll__wtoi64]
add eax, edi
push 0x104
mov ecx, edx
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x210]
adc ecx, 0
push 0
push eax
mov dword [ebp - 0x21c], ecx
call sub.MSVCR110.dll_memset
push 0
lea eax, [ebp - 0x210]
push 0x100107a8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x210]
push eax
push str._Boomerang_to_save_life_time__s_n
call fcn.1000b290
add esp, 0x24
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.10008df0
push dword [eax]
lea eax, [ebp - 0x210]
push eax
push 0x100126f0
push str.Info
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edi, dword [ebp - 0x218]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x10008789
mov ecx, dword [edi]
push edi
mov esi, dword [ecx]
call dword [esi + 4]
mov eax, dword [ebp - 0x214]
mov edx, dword [ebp - 0x21c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000d9da
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
xor edx, edx
pop ebx
call fcn.1000d9da
mov esp, ebp
pop ebp
ret
Function at 0x100087c0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x10016034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x420]
push eax
mov ebx, ecx
call fcn.10008df0
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [ebp - 0x420]
add esi, 0xfffffff0
or edi, 0xffffffff
mov dword [ebp - 0x41c], eax
lea edx, [esi + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000881a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x41c]
test eax, eax
je 0x10008972
push 0x104
lea eax, [ebp - 0x418]
push 0
push eax
call sub.MSVCR110.dll_memset
push 0
lea eax, [ebp - 0x418]
push 0x100107a8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x41c]
push eax
mov ecx, ebx
call fcn.10008df0
push dword [eax]
lea eax, [ebp - 0x418]
push eax
push str.Boomerang_Heartbeat_Start
push str.Info
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x41c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10008892
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x41c]
push eax
mov ecx, ebx
call fcn.10008df0
push dword [eax]
lea eax, [ebp - 0x210]
push 0x104
push eax
push 0x100126ec
push str.Boomerang_Abnormal_Termiation_Count
push str.Info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x41c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100088e2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.MSVCR110.dll__wtoi]
push 0x104
mov esi, eax
lea eax, [ebp - 0x210]
push 0
push eax
call sub.MSVCR110.dll_memset
push 0
lea eax, [ebp - 0x210]
push 0x100107a8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x41c]
push eax
mov ecx, ebx
call fcn.10008df0
push dword [eax]
lea eax, [ebp - 0x210]
push eax
push str.Boomerang_Abnormal_Termiation_Count
push str.Info
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x41c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x1000895f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000d9da
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.1000d9da
mov esp, ebp
pop ebp
ret
Function at 0x10008990
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x10016034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x41c]
mov esi, ecx
push eax
mov dword [ebp - 0x420], esi
call fcn.10008df0
push dword [eax]
lea eax, [ebp - 0x418]
push 0x104
push eax
push 0x100126ec
push str.Boomerang_Heartbeat_Start
push str.Info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x41c]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x100089ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [sym.imp.MSVCR110.dll__wtoi]
lea eax, [ebp - 0x418]
push eax
call edi
add esp, 4
test eax, eax
jle 0x10008b04
mov ecx, esi
call fcn.10008610
lea eax, [ebp - 0x41c]
push eax
mov ecx, esi
call fcn.10008df0
push dword [eax]
lea eax, [ebp - 0x210]
push 0x104
push eax
push 0x100126ec
push str.Boomerang_Abnormal_Termiation_Count
push str.Info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x41c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10008a70
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x210]
push eax
call edi
add esp, 4
cdq
mov edi, eax
push 0x104
lea eax, [ebp - 0x210]
mov esi, edx
push 0
add edi, 1
push eax
adc esi, 0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
push 0x100107a8
push eax
call edi
mov esi, dword [ebp - 0x420]
add esp, 0x10
lea eax, [ebp - 0x41c]
push eax
mov ecx, esi
call fcn.10008df0
push dword [eax]
lea eax, [ebp - 0x210]
push eax
push str.Boomerang_Abnormal_Termiation_Count
push str.Info
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x41c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10008b0a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10008b0a
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
push 0x104
lea eax, [ebp - 0x418]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x418]
push 1
push 0x100107a8
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
mov ecx, esi
call fcn.10008df0
push dword [eax]
lea eax, [ebp - 0x418]
push eax
push str.Boomerang_Heartbeat_Start
push str.Info
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x420]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x10008b77
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000d9da
mov esp, ebp
pop ebp
ret
Function at 0x10008b90
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x10016034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.MSVCR110.dll_wcscpy_s]
mov ebx, ecx
push edi
lea eax, [ebx + 0xa64]
push eax
lea eax, [ebp - 0x620]
push 0x104
push eax
call esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call sub.MSVCR110.dll_memset
lea eax, [ebx + 0x148c]
push eax
lea eax, [ebp - 0x210]
push 0x104
push eax
call esi
add esp, 0x24
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea esi, [ebx + 0x1694]
push esi
xor edi, edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10008c5b
push esi
push 0x104
lea eax, [ebp - 0x418]
push eax
push edi
push str.Boomerang_UNO_Session_Report_Enable
push str.Info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x10008c5b
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.MSVCR110.dll__wtoi64]
add esp, 4
test edx, edx
jl 0x10008c59
jg 0x10008c52
test eax, eax
je 0x10008c59
mov edi, 1
jmp 0x10008c5b
xor edi, edi
push 0x418
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
test esi, esi
je 0x10008cb9
lea eax, [ebp - 0x620]
push eax
lea eax, [esi + 4]
push 0x104
push eax
mov dword [esi], 0
mov dword [esi + 0x414], 0
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
lea eax, [ebp - 0x210]
push eax
lea eax, [esi + 0x20c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x18
mov dword [esi + 0x414], edi
jmp 0x10008cbb
xor esi, esi
mov dword [ebx + 0x1918], esi
test esi, esi
jne 0x10008cd2
push str.CBoomerangClient::InitUno_Failed___n
call fcn.1000b290
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000d9da
mov esp, ebp
pop ebp
ret
Function at 0x100090c0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
push esi
mov dword [ebp + 8], 0xfeff
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
push 0
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 4]
push eax
mov ecx, edi
call fcn.10008df0
push dword [eax]
push str...ProductIcon.ico
push str.Boomerang_IconPath
push str.Info
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 4]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
pop edi
pop esi
test ecx, ecx
jg 0x10009151
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x1000a940
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
mov esi, ecx
push 0
push 0
lea eax, [esi + 4]
push eax
push dword [esi + 0x504]
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1000a980
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 4
lea eax, [esi + 0x50c]
push eax
push 3
push 0
lea eax, [esi + 0x404]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
mov esi, eax
test ecx, ecx
je 0x1000a9ad
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000aad0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0x50c]
mov esi, ebx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1000aae6
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea eax, [edi + 4]
push eax
push dword [edi + 0x504]
sub esi, ecx
sar esi, 1
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1000ab2e
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi + esi]
push eax
push ebx
push 1
push 0
lea eax, [edi + 0x404]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
mov esi, eax
test ecx, ecx
je 0x1000ab57
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
test esi, esi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000ab70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov edi, ecx
push 1
push 0
lea ebx, [edi + 4]
push ebx
push dword [edi + 0x504]
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], 3
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [ebp + 0x10]
test eax, eax
jne 0x1000abea
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [edi + 0x404]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1000abe7
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
push 1
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000ac2c
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [edi + 0x404]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x1000abd9
lea eax, [ebp - 4]
push eax
push 0x201
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000ac77
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [edi + 0x404]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x1000abd9
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000ac90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov edi, ecx
push 1
push 0
lea ebx, [edi + 4]
push ebx
push dword [edi + 0x504]
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], 4
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [ebp + 0x10]
test eax, eax
jne 0x1000ad0a
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [edi + 0x404]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1000ad07
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
push 1
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000ad4c
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [edi + 0x404]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x1000acf9
lea eax, [ebp - 4]
push eax
push 0x201
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000ad97
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [edi + 0x404]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x1000acf9
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000adb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov edi, ecx
push 1
push 0
lea ebx, [edi + 4]
push ebx
push dword [edi + 0x504]
mov dword [ebp - 8], 0x800
mov dword [ebp - 0xc], 1
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [ebp + 0x10]
test eax, eax
jne 0x1000ae2a
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [edi + 0x404]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1000ae27
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
push 1
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000ae6c
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [edi + 0x404]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x1000ae19
lea eax, [ebp - 4]
push eax
push 0x201
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000aeb7
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [edi + 0x404]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x1000ae19
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1000aed0
Capabilities:
Get common file path

Disassembly:
push 0x1930
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1000aee9
mov ecx, eax
jmp fcn.100016c0
xor eax, eax
ret

Function at 0x1000af50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x1000afe3
mov esi, dword [ebp + 8]
push edi
push esi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
mov dword [ebp + 0x10], 0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x1000afdd
mov ecx, dword [edi]
test ecx, ecx
je 0x1000afd8
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x1000afc8
cmp edx, 2
jbe 0x1000afb9
cmp edx, 7
jne 0x1000afc8
test cl, 1
jne 0x1000afc8
shr ecx, 1
cmp ecx, 1
jb 0x1000afc8
cmp word [esi + ecx*2 - 2], 0
jne 0x1000afc8
cmp ecx, 1
jbe 0x1000afdd
cmp word [esi + ecx*2 - 4], 0
jmp 0x1000afc6
test cl, 1
jne 0x1000afc8
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x1000afdd
xor eax, eax
mov word [esi], ax
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor ecx, ecx
mov word [esi], cx
pop edi
pop esi
pop ebp
ret 0xc
push 0x80004005
call fcn.10001230
int3