joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43fe10
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
mov eax, dword [0x567e00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x158], 0
jne 0x43fe97
push 0x3ea
lea eax, [ebp - 0x3f0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x3f4], 0x1f4
lea eax, [ebp - 0x3f4]
push eax
lea eax, [ebp - 0x3f0]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x43fe97
lea ecx, [ebp - 0x3f0]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43fe75
sub ecx, edx
lea eax, [ebp - 0x3f0]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x148]
call fcn.00403a70
lea eax, [edi + 0x148]
cmp esi, eax
je 0x43feb5
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x43feac
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.00403a70
cmp dword [esi + 0x14], 8
jb 0x43febd
mov esi, dword [esi]
push esi
push str.ComputerName_is:__s.
push str.kupdate::KClientInfoGetter::GetComputerNameW
push 0x8b9
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcmiscKClientInfoGetter.cpp
push 7
call fcn.00412230
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
xor eax, eax
pop edi
pop esi
call fcn.004c6f8b
mov esp, ebp
pop ebp
ret 8

Function at 0x4407b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503897
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x567e00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
push 1
push eax
push edi
mov dword [ebp - 0x220], 1
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x44087e
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440860
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00403a70
mov eax, esi
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.004c6f8b
mov esp, ebp
pop ebp
ret
Function at 0x440d60
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50391d
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x567e00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x78]
push str.HDID
push eax
call fcn.004407b0
add esp, 8
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 4], 0
test ecx, ecx
jne 0x440e06
push 0x50
push ecx
lea eax, [ebp - 0x60]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x60]
push 0x28
push eax
call fcn.004bfc30
test eax, eax
je 0x440dec
lea ecx, [ebp - 0x60]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440dd0
sub ecx, edx
lea eax, [ebp - 0x60]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.00403a70
cmp dword [ebp - 0x64], 8
lea eax, [ebp - 0x78]
cmovae eax, dword [ebp - 0x78]
push eax
push str.HDID
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x78]
cmp esi, eax
je 0x440e1e
cmp dword [ebp - 0x64], 8
push ecx
cmovae eax, dword [ebp - 0x78]
mov ecx, esi
push eax
call fcn.00403a70
cmp dword [esi + 0x14], 8
jb 0x440e26
mov esi, dword [esi]
push esi
push str.OK__Result_is:__s.
push str.kupdate::KClientInfoGetter::GetInfoKeyHDID
push 0x62a
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcmiscKClientInfoGetter.cpp
push 7
call fcn.00412230
mov edx, dword [ebp - 0x64]
add esp, 0x18
cmp edx, 8
jb 0x440e81
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x440e77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x440e77
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c6f8b
mov esp, ebp
pop ebp
ret 8
Function at 0x4417c0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f0
mov eax, dword [0x567e00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x140], 0
jne 0x441847
push 0x3e8
lea eax, [ebp - 0x3ec]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x3f0], 0x1f3
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x3ec]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x441847
lea ecx, [ebp - 0x3ec]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x441825
sub ecx, edx
lea eax, [ebp - 0x3ec]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x130]
call fcn.00403a70
lea eax, [edi + 0x130]
cmp esi, eax
je 0x441865
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44185c
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.00403a70
cmp dword [esi + 0x14], 8
jb 0x44186d
mov esi, dword [esi]
push esi
push str.UserName_is:__s.
push str.kupdate::KClientInfoGetter::GetInfoKeyUserName
push 0x72f
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcmiscKClientInfoGetter.cpp
push 7
call fcn.00412230
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
xor eax, eax
pop edi
pop esi
call fcn.004c6f8b
mov esp, ebp
pop ebp
ret 8
Function at 0x4436e0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503c97
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x567e00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x21c], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x21c], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4437ab
lea eax, [ebp - 0x228]
push eax
push 4
lea eax, [ebp - 0x220]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4437a4
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x220]
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4437b4
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00403a70
mov eax, edi
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.004c6f8b
mov esp, ebp
pop ebp
ret

Function at 0x444980
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x567e00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x56d69c]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x210], esi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x56cf28]
cmp eax, dword [ecx + 4]
jg 0x444a3e
cmp dword [0x567a1c], 0
jne 0x444a1f
push 3
push 0x521f90
mov ecx, 0x567a0c
call fcn.00403a70
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
jne 0x444a1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x444a1f
push 3
push 0x521f98
mov ecx, 0x567a0c
call fcn.00403a70
push 0x567a0c
mov ecx, esi
call fcn.004133c0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004c6f8b
mov esp, ebp
pop ebp
ret 4
push 0x56cf28
call fcn.004c7345
add esp, 4
cmp dword [0x56cf28], 0xffffffff
jne 0x4449bd
push 0x5117a0
call fcn.004c71fd
push 0x56cf28
call fcn.004c72fb
add esp, 8
jmp 0x4449bd
Function at 0x446f60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x567e00]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x9c]
push 0x1b
push eax
call fcn.00417040
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
lea eax, [ebp - 0x9c]
cmp dword [ebp - 0x88], 8
cmovae eax, dword [ebp - 0x9c]
push eax
push 0x40
lea eax, [ebp - 0x84]
push eax
push 0x517ce0
push str.InstallPerUser
push 0x516dac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x517cd0
lea eax, [ebp - 0x84]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x446ffb
test dx, dx
je 0x446ff7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x446ffb
add eax, 4
add ecx, 4
test dx, dx
jne 0x446fd5
xor eax, eax
jmp 0x447000
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 0x88]
push ebx
xor ebx, ebx
test eax, eax
sete bl
cmp edx, 8
jb 0x44704a
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x447040
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x447040
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004c6f8b
mov esp, ebp
pop ebp
ret 4

Function at 0x447de0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x567e00]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x9c]
push 0x1b
push eax
call fcn.00417040
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
lea eax, [ebp - 0x9c]
cmp dword [ebp - 0x88], 8
cmovae eax, dword [ebp - 0x9c]
push eax
push 0x40
lea eax, [ebp - 0x84]
push eax
push 0x517ce0
push str.Inactive
push 0x516dac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x517ce0
lea eax, [ebp - 0x84]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x447e7b
test dx, dx
je 0x447e77
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x447e7b
add eax, 4
add ecx, 4
test dx, dx
jne 0x447e55
xor eax, eax
jmp 0x447e80
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 0x88]
push ebx
xor ebx, ebx
test eax, eax
sete bl
cmp edx, 8
jb 0x447eca
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x447ec0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x447ec0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004c6f8b
mov esp, ebp
pop ebp
ret 4
Function at 0x447fc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x448031
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x447fff
cmp eax, 2
jne 0x44801b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x44802b
test ecx, ecx
je 0x448026
test cl, 1
jne 0x44801b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x44802b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x44c6e0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50173d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x567e00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44c730
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00403a70
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.0044d8a0
add esp, 4
mov edx, eax
cmp dword [ebp + 0xc], 0
je 0x44c77b
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
push edx
call fcn.0044df50
add esp, 8
jmp 0x44c78e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
test esi, esi
jle 0x44c79f
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x44c7c0
push esi
push str.Failed_:_0x_08x.
push str.kupdate::KRegistry::DeleteKey
push 0x11f
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcutilKRegistry.cpp
push 0
call fcn.00412230
add esp, 0x18
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x44c7fc
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44c7f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44c7f2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c6f8b
mov esp, ebp
pop ebp
ret
Function at 0x44c820
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5046d5
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x567e00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44c870
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00403a70
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.0044d8a0
mov esi, eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0044dc40
add esp, 0xc
xor edi, edi
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
or eax, 0x20006
push eax
push edi
push ecx
push esi
mov dword [ebp - 0x44], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x44c8fa
jg 0x44c8df
mov edi, eax
jmp 0x44c8e8
movzx edi, ax
or edi, 0x80070000
push edi
push str.Failed_RegCreateKeyExW:_0x_08x.
push str.kupdate::KRegistry::DeleteValue
push 0x132
jmp 0x44c93d
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x44]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x44c94c
jg 0x44c924
mov edi, esi
jmp 0x44c92d
movzx edi, si
or edi, 0x80070000
push edi
push str.Failed_RegDeleteValue:_0x_08x.
push str.kupdate::KRegistry::DeleteValue
push 0x139
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcutilKRegistry.cpp
push 0
call fcn.00412230
add esp, 0x18
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x44c982
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44c978
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44c9c2
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x44c9d2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44c9c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44c9c8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov eax, edi
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.004c6f8b
mov esp, ebp
pop ebp
ret
Function at 0x44c9f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5030bd
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x567e00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44ca40
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00403a70
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.0044d8a0
mov esi, eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0044dc40
add esp, 0xc
mov dword [ebp - 0x44], 0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push eax
mov eax, dword [ebp + 0xc]
or eax, 0x20019
push eax
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x44caac
xor bl, bl
jmp 0x44cace
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push 0
push 0
push 0
push eax
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete bl
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x44cb04
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44cafa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44cb44
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x44cb54
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44cb4a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44cb4a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c6f8b
mov esp, ebp
pop ebp
ret
Function at 0x44cb80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504715
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x567e00]
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
mov edx, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
mov ecx, edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44cbd1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00403a70
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.0044d8a0
mov esi, eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0044dc40
add esp, 0xc
xor edi, edi
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
or eax, 0x20019
push eax
push edi
push ecx
push esi
mov dword [ebp - 0x44], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x44cc5b
jg 0x44cc40
mov edi, eax
jmp 0x44cc49
movzx edi, ax
or edi, 0x80070000
push edi
push str.Failed_RegOpenKeyEx:_0x_08x.
push str.kupdate::KRegistry::QueryType
push 0xe0
jmp 0x44ccb0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x48]
push 0
push 0
push ecx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], edi
cmovae eax, dword [ebp - 0x40]
push 0
push eax
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x44]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x48]
mov dword [ebx], ecx
test esi, esi
je 0x44ccbf
jg 0x44cc97
mov edi, esi
jmp 0x44cca0
movzx edi, si
or edi, 0x80070000
push edi
push str.Failed_RegQueryValueEx:_0x_08x.
push str.kupdate::KRegistry::QueryType
push 0xec
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcutilKRegistry.cpp
push 5
call fcn.00412230
add esp, 0x18
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x44ccf5
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44cceb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44cd35
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x44cd45
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44cd3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44cd3b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov eax, edi
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.004c6f8b
mov esp, ebp
pop ebp
ret