joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b5ea0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x74]
test esi, esi
je 0x4b5eb6
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [edi + 0x6c]
mov dword [edi + 0x40], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [edi + 0x68], 0
jne 0x4b5f14
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push edi
push 0x4b5050
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x68], eax
cmp dword [edi + 0xa0], 0
jne 0x4b5f46
cmp dword [edi + 0xa4], 0
je 0x4b5f46
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push edi
push 0x4b5280
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x68], eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4b5f5f
mov eax, dword [edi + 0x24]
sub eax, 1
jne 0x4b5f86
push ecx
mov ecx, edi
call fcn.004b5c60
jmp 0x4b5f86
push dword [edi + 0x70]
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 1
mov dword [edi + 0x9c], 0x32
call dword [sym.imp.KERNEL32.dll_SetEvent]
test esi, esi
je 0x4b5f91
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4b5fc0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x4b6045
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x68]
mov ecx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4b600b
push 0x1f4
push eax
call ecx
test eax, eax
je 0x4b5ff5
push 0
push dword [esi + 0x68]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x68]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esi + 0x68], 0
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x4b6045
push 0x1f4
push eax
call ecx
test eax, eax
je 0x4b602f
push 0
push dword [esi + 0xa0]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0xa0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa0], 0
pop esi
ret
Function at 0x4b60c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596bc9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x62819c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4b6179
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
cmp dword [ebx + 4], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
je 0x4b6163
mov eax, dword [ebx + 8]
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00546052
mov ecx, dword [ebx + 8]
add esp, 4
inc ecx
mov esi, eax
push ecx
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
mov ecx, edi
call fcn.004373e0
push esi
call fcn.0054605b
add esp, 4
mov eax, edi
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 0x80004005
call fcn.004293d0
int3

Function at 0x4b61b0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
je 0x4b61c1
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
xor eax, eax
ret

Function at 0x4b6220
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f699
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x62819c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [ebp - 4], 0
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4b6325
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp dword [ebx + 4], 0
mov dword [ebp - 0x14], 1
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
je 0x4b62cc
mov eax, dword [ebx + 8]
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00546052
mov ecx, dword [ebx + 8]
add esp, 4
inc ecx
mov esi, eax
push ecx
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
lea ecx, [ebp - 0x10]
call fcn.004373e0
push esi
call fcn.0054605b
mov esi, dword [ebp - 0x10]
add esp, 4
mov eax, dword [esi - 0xc]
test eax, eax
je 0x4b62f5
push eax
push eax
push 0xb1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xb7
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4b6314
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004293d0
int3
Function at 0x4b8eb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f9bf
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x62819c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4b8fff
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4b9009
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 4], eax
lea esi, [edi + 0xc]
mov dword [edi + 8], 0
push 0x1c
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00546014
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x14]
mov byte [ebp - 4], 2
push 0x1c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00546014
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push 0xc
mov byte [ebp - 4], 3
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
call fcn.00546014
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x1c], eax
lea esi, [edi + 0x24]
mov byte [ebp - 4], 4
push 0x1c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00546014
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push 0xc
mov byte [ebp - 4], 5
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.00546014
add esp, 0x14
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x2c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004293d0
push 0x80004005
call fcn.004293d0
int3
Function at 0x4b91c0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59fa2b
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x62819c]
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]
mov dword [ebp - 0xc0], edi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 0xaa
movzx esi, ax
lea eax, [ebp - 0xbc]
push 0
push eax
call fcn.0054b380
add esp, 0xc
lea eax, [ebp - 0xbc]
push 0x55
push eax
push 0x59
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4b92e0
push 0x5c16e0
lea eax, [ebp - 0xbc]
push 0x55
push eax
call fcn.00559ca7
lea ecx, [ebp - 0xbc]
add esp, 0xc
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b9250
sub ecx, edx
lea eax, [ebp - 0xbc]
sar ecx, 1
push 0x55
lea eax, [eax + ecx*2]
push eax
push 0x5a
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4b92e0
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4b9314
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0xbc]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x4b92b2
movzx eax, ax
mov ecx, edi
push eax
call fcn.004295b0
jmp 0x4b92f5
lea ecx, [ebp - 0xbc]
lea edx, [ecx + 2]
jmp 0x4b92c0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b92c0
sub ecx, edx
lea eax, [ebp - 0xbc]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00429870
jmp 0x4b92f5
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4b9314
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
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.00545ec7
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004293d0
int3
Function at 0x4bfca0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0321
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x62819c]
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
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0054b380
lea eax, [ebp - 0x224]
push eax
call fcn.004bd2b0
push str.kbubble_enc.ini
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
call fcn.00429080
add esp, 0x1c
push dword [eax]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x5ad78c
push str.bEnable
push str.bubble
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x220]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4bfd4c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x224]
mov eax, edi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4bfd70
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4bfe37
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
test eax, 0xffff0000
jne 0x4bfdb2
movzx eax, ax
lea ecx, [ebp - 0x21c]
push eax
call fcn.004295b0
jmp 0x4bfde2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x4bfdc0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4bfdc0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00429870
mov esi, dword [ebp - 0x21c]
push 0x5b3dbc
push esi
call fcn.00555852
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
add esp, 8
test eax, eax
sete bl
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4bfe19
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.00545ec7
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004293d0
int3
Function at 0x4bfec0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0321
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x62819c]
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
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0054b380
lea eax, [ebp - 0x224]
push eax
call fcn.004bd2b0
push str.wpsminisite.ini
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
call fcn.00429080
add esp, 0x1c
push dword [eax]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x5ad78c
push str.delayshow
push str.minisite
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x220]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4bff6c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x224]
mov eax, edi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4bff90
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4c0057
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
test eax, 0xffff0000
jne 0x4bffd2
movzx eax, ax
lea ecx, [ebp - 0x21c]
push eax
call fcn.004295b0
jmp 0x4c0002
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x4bffe0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4bffe0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00429870
mov esi, dword [ebp - 0x21c]
push str.never
push esi
call fcn.00555852
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
add esp, 8
test eax, eax
sete bl
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4c0039
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add byte [eax], al
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004293d0
int3
Function at 0x4c7570
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x62819c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
jne 0x4c7779
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x86
jne 0x4c7621
push dword [edi + 0x30c]
mov dword [edi + 0x304], 1
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4c75fa
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
push ecx
mov eax, esp
push 0
push 0
push 0
push ecx
mov dword [eax], 0
lea ecx, [ebp - 0x14]
mov eax, esp
mov dword [eax], ecx
lea ecx, [edi + 0x308]
push dword [edi + 0x30]
call fcn.0044b410
mov dword [esi], 1
cmp dword [edi + 0x304], 0
je 0x4c764e
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x4e
jne 0x4c7651
cmp dword [eax + 4], 0x3e8
jne 0x4c7651
push eax
mov dword [edi + 0x304], 1
call fcn.004c6ed0
mov dword [esi], eax
cmp dword [edi + 0x304], 0
jne 0x4c7761
mov eax, dword [ebp - 0x1c]
mov esi, dword [edi + 0x300]
mov ecx, edi
push 0
push dword [ebp - 0x18]
push eax
push dword [ebp - 0x20]
push ebx
push dword [ebp + 8]
call fcn.0045c430
mov dword [edi + 0x300], esi
test eax, eax
jne 0x4c7761
cmp ebx, 0x110
jne 0x4c76a7
push dword [ebp - 0x1c]
mov dword [edi + 0x304], 1
push ecx
mov ecx, dword [ebp - 0x20]
mov eax, esp
mov dword [eax], ecx
mov ecx, edi
call fcn.004c70e0
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x4c7758
cmp ebx, 3
jne 0x4c76e0
lea eax, [ebp - 0x14]
mov dword [edi + 0x304], 1
push eax
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_GetWindowRect]
sub esp, 0x10
lea ecx, [ebp - 0x14]
mov eax, esp
push ecx
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea ecx, [edi + 0x308]
call fcn.004623d0
jmp 0x4c774f
cmp ebx, 0x100
jne 0x4c7779
push dword [edi + 4]
mov dword [edi + 0x304], 1
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4c774f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x4c774f
mov eax, dword [ebp - 0x20]
cmp eax, 0x1b
jne 0x4c7721
mov dword [edi + 0x28], 2
jmp 0x4c7732
cmp eax, 0xd
je 0x4c772b
cmp eax, 0x20
jne 0x4c774f
mov dword [edi + 0x28], 1
push 0
push 0
push 0
mov dword [edi + 0x2fc], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
cmp dword [edi + 0x304], 0
je 0x4c7779
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00545ec7
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4c94d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
mov eax, dword [ebp - 4]
jne 0x4c952d
mov dword [ebp - 8], 4
test eax, eax
je 0x4c9538
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push dword [esi + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4c952a
cmp dword [ebp - 0xc], 4
jne 0x4c952a
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4c9538
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c9770
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x14]
je 0x4c97da
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4c97cc
mov eax, dword [esi + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4c97da
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push dword [esi + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x4c97da
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4c97e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp dword [eax - 0xc], 0
je 0x4c9867
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov eax, dword [ebp - 4]
jne 0x4c985c
test eax, eax
je 0x4c9867
mov edx, dword [esi + 0x10]
push ebx
lea ebx, [edx + 2]
jmp 0x4c9830
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4c9830
sub edx, ebx
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push dword [esi + 0x10]
push 1
push 0
push dword [esi + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 4]
pop ebx
test eax, eax
je 0x4c9867
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c9890
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0eb0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x62819c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx], 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x4c9984
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x2001f
push 0
push str.SoftwarekingsoftOffice6.0Common
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c9968
cmp dword [0x602814], 8
lea ecx, [ebp - 0x18]
mov esi, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 4
push ecx
mov eax, 0x602800
cmovae eax, dword [0x602800]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4c995f
cmp dword [ebp - 0x1c], 4
jne 0x4c995f
mov ecx, dword [ebx + 4]
cmp dword [ebp - 0x14], ecx
je 0x4c995f
cmp dword [0x602814], 8
mov eax, 0x602800
push 4
cmovae eax, dword [0x602800]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x1c]
push ecx
push 4
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x4c9984
push esi
call edi
jmp 0x4c9984
push str.62_tKGlobalInfoCollectReg::unInit_tfail_to_open_HKCU:SoftwarekingsoftOffice6.0Common_reg
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallkglobalinfocollectreg.cpp
push str._WARNING_
push 0x631888
call fcn.004677c0
add esp, 0x10
mov esi, dword [ebx + 8]
test esi, esi
je 0x4c99ac
mov eax, dword [esi]
test eax, eax
je 0x4c999a
push eax
call edi
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
call fcn.00546044
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c99c0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x62819c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.16_tKGlobalInfoCollectReg::init_tEnableNetworkPrompt
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallkglobalinfocollectreg.cpp
push str._INFO_
push 0x631888
call fcn.004677c0
add esp, 0x10
mov byte [esi], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push str.SoftwarekingsoftOffice6.0Common
push 0x80000001
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c9ad9
cmp dword [0x602814], 8
lea ecx, [ebp - 0x14]
push ecx
lea edi, [esi + 4]
mov dword [ebp - 0x14], 4
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push edi
push ecx
mov eax, 0x602800
cmovae eax, dword [0x602800]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [0x602818]
test eax, eax
jne 0x4c9a95
cmp dword [ebp - 0x18], 4
jne 0x4c9a95
cmp dword [edi], ecx
je 0x4c9abd
cmp dword [0x602814], 8
mov eax, 0x602800
push 4
cmovae eax, dword [0x602800]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x18]
push ecx
push 4
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x4c9af5
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.35_tKGlobalInfoCollectReg::init_tfail_to_open_HKCU:SoftwarekingsoftOffice6.0Common_reg
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallkglobalinfocollectreg.cpp
push str._WARNING_
push 0x631888
call fcn.004677c0
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4cab60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x62819c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0x18]
push 0x208
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0054b380
add esp, 0xc
mov dword [ebp - 0x210], 0x208
cmp dword [ebx + 0x14], 8
jb 0x4cabbf
mov ebx, dword [ebx]
cmp dword [edi + 0x14], 8
jb 0x4cabc7
mov edi, dword [edi]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push ebx
push edi
push dword [ebp - 0x218]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, esi
test eax, eax
je 0x4cac09
push dword [ebp - 0x214]
call fcn.0043e510
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, dword [ebp - 0x210]
shr eax, 1
dec eax
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0042daa0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00545ec7
mov esp, ebp
pop ebp
ret