joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b52f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8316
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
push 0x20019
push 0
push str.SOFTWAREKingsoftOffice6.0CommonBackup
push 0x80000001
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov byte [ebp - 4], 2
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4b545c
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov byte [ebp - 4], 1
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 0
test eax, eax
je 0x4b543f
lea ecx, [ebp - 0x10]
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push str.AutoRecoverFilePath
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x4b53ad
cmp eax, 2
jne 0x4b5431
mov ecx, esi
call fcn.00429c20
mov edx, dword [ebp - 0x10]
shr edx, 1
add edx, 1
js 0x4b5452
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or ecx, eax
jge 0x4b53dd
push edx
mov ecx, esi
call fcn.00429eb0
mov edi, dword [esi]
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push 0
push str.AutoRecoverFilePath
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4b5431
mov eax, dword [ebp - 0x10]
xor ecx, ecx
shr eax, 1
mov word [edi + eax*2], cx
mov eax, dword [esi]
test eax, eax
je 0x4b541f
push dword [eax - 8]
push eax
call fcn.0056b163
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4b5452
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x4b5452
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4b543f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00429b60
push 0x80004005
call fcn.00429b60
int3
Function at 0x4b5b10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SOFTWAREKingsoftOffice6.0Common
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 4]
mov dword [ebp - 8], 4
test eax, eax
je 0x4b5b7c
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.2019icdisable
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4b5b79
cmp dword [ebp - 0xc], 4
jne 0x4b5b79
mov eax, dword [ebp - 4]
xor ebx, ebx
cmp dword [ebp - 0x10], 1
sete bl
jmp 0x4b5b7e
mov eax, dword [ebp - 4]
xor ebx, ebx
test eax, eax
je 0x4b5b89
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b5b90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a83f5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push dword [0x613638]
mov dword [ebp - 0x18], 0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov byte [ebp - 4], 1
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4b5d07
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 0
mov ebx, dword [eax]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4b5ccb
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push ebx
push eax
call edi
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x4b5c42
cmp eax, 2
jne 0x4b5ccb
lea ecx, [ebp - 0x10]
call fcn.00429c20
mov edx, dword [ebp - 0x14]
shr edx, 1
add edx, 1
js 0x4b5d11
mov esi, dword [ebp - 0x10]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or ecx, eax
jge 0x4b5c78
push edx
lea ecx, [ebp - 0x10]
call fcn.00429eb0
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
push ebx
push dword [ebp - 0x18]
call edi
test eax, eax
jne 0x4b5ccb
mov eax, dword [ebp - 0x14]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.0056b163
add esp, 8
test eax, eax
js 0x4b5d11
cmp eax, dword [esi - 8]
jg 0x4b5d11
xor ecx, ecx
mov dword [esi - 0xc], eax
push 0x5bbd7c
push esi
mov word [esi + eax*2], cx
call fcn.0056b422
add esp, 8
neg eax
sbb edi, edi
inc edi
jmp 0x4b5ccd
xor edi, edi
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4b5ce5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4b5cf3
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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
push 0x80004005
call fcn.00429b60
push 0x80070057
call fcn.00429b60
int3
Function at 0x4b7210
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8646
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x639354]
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 edi, dword [ebp + 8]
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x98], 0
mov dword [ebp - 4], 1
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4b746c
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xa0], esi
mov eax, dword [ebp - 0x98]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
test eax, eax
je 0x4b728c
push eax
call ebx
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0
push eax
push 0x20019
push 0
push str.SOFTWAREKingsoftWPSClouduserinfo
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa4], 0
test eax, eax
je 0x4b73a9
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0xa4]
push ecx
push 0
lea ecx, [ebp - 0x9c]
push ecx
push 0
push str.userid
push eax
call ebx
mov eax, dword [ebp - 0x9c]
cmp eax, 1
je 0x4b7300
cmp eax, 2
jne 0x4b73a3
lea ecx, [ebp - 0xa0]
call fcn.00429c20
mov edx, dword [ebp - 0xa4]
shr edx, 1
add edx, 1
js 0x4b7462
mov esi, dword [ebp - 0xa0]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x4b7345
push edx
lea ecx, [ebp - 0xa0]
call fcn.00429eb0
mov esi, dword [ebp - 0xa0]
lea eax, [ebp - 0xa4]
push eax
push esi
lea eax, [ebp - 0x9c]
push eax
push 0
push str.userid
push dword [ebp - 0x98]
call ebx
test eax, eax
jne 0x4b73a3
mov eax, dword [ebp - 0xa4]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
test esi, esi
jne 0x4b737d
xor eax, eax
jmp 0x4b7391
push dword [esi - 8]
push esi
call fcn.0056b163
add esp, 8
test eax, eax
js 0x4b7462
cmp eax, dword [esi - 8]
jg 0x4b7462
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
lea eax, [ebp - 0x90]
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], eax
call fcn.0044fea0
mov edx, dword [ebp - 0x94]
mov ecx, edx
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea eax, [ecx + 1]
mov byte [ebp - 4], 3
mov byte [edi], 0
mov dword [ebp - 0x9c], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b73f0
sub ecx, dword [ebp - 0x9c]
push ecx
push edx
mov ecx, edi
call fcn.00438630
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
cmp eax, ecx
je 0x4b741f
push eax
call fcn.0056a8c4
add esp, 4
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4b7437
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x4b7444
push ecx
call ebx
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.0055c3a9
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00429b60
push 0x80004005
call fcn.00429b60
int3
Function at 0x4b7480
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ed05
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 1
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4b7600
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
test eax, eax
je 0x4b74e1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x20019
push 0
push 0x5cb5e8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4b75b4
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push str.usertype
push eax
call edi
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x4b753c
cmp eax, 2
jne 0x4b75b4
lea ecx, [ebp - 0x14]
call fcn.00429c20
mov edx, dword [ebp - 0x18]
shr edx, 1
add edx, 1
js 0x4b760a
mov esi, dword [ebp - 0x14]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or ecx, eax
jge 0x4b7572
push edx
lea ecx, [ebp - 0x14]
call fcn.00429eb0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
push str.usertype
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4b75b4
mov eax, dword [ebp - 0x18]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.0056b163
add esp, 8
test eax, eax
js 0x4b760a
cmp eax, dword [esi - 8]
jg 0x4b760a
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], 0
je 0x4b75c5
push esi
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
mov edi, eax
jmp 0x4b75c7
xor edi, edi
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4b75df
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4b75ed
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.00429b60
push 0x80070057
call fcn.00429b60
int3
Function at 0x4b7620
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a86a2
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x639354]
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 - 0x238], edi
mov dword [ebp - 0x224], 0
mov dword [ebp - 4], 1
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4b77b7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
xor esi, esi
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 4], 2
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], esi
push eax
push 0x2001f
push esi
push dword [0x613624]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4b76df
mov esi, dword [ebp - 0x21c]
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 2
test eax, eax
jne 0x4b778f
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00560a80
add esp, 0xc
mov dword [ebp - 0x220], 0x208
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x228]
push eax
push 0
push dword [0x613628]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4b778f
mov eax, dword [ebp - 0x228]
cmp eax, 1
je 0x4b7742
cmp eax, 2
jne 0x4b778f
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x4b775f
test al, 1
jne 0x4b778f
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x4b7768
jmp 0x4b778f
xor eax, eax
mov word [ebp - 0x218], ax
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b7771
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0042a060
test esi, esi
je 0x4b779a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.0055c3a9
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b60
int3
Function at 0x4bc220
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8fbd
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4bc2c4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push dword [edi]
push str.unregister_dll_path:_s_n
push eax
call fcn.0042c720
mov esi, dword [ebp - 0x10]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 1
push dword [ebp + 0xc]
push edi
call fcn.004b2980
add esp, 0xc
mov edi, eax
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4bc2b1
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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.00429b60
int3
Function at 0x4be6e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a93cb
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x639354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x428], 0
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 0
push eax
call fcn.0047b870
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x428]
js 0x4be8c4
test eax, eax
je 0x4be8c4
cmp eax, 0xffffffff
je 0x4be8c4
mov dword [ebp - 0x424], 0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x424]
push ecx
push 0x20008
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
mov eax, dword [ebp - 0x424]
je 0x4be8a7
test eax, eax
je 0x4be8a7
cmp eax, 0xffffffff
je 0x4be8a7
push eax
push dword [ebp - 0x428]
call fcn.0047e220
add esp, 8
test eax, eax
je 0x4be81a
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00560a80
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4be7e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0042a060
lea eax, [esi + 4]
push eax
push 0xf003f
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
mov eax, dword [ebp - 0x424]
xor esi, esi
jmp 0x4be8ac
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x4be8a1
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00560a80
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4be860
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0042a060
lea eax, [esi + 4]
push eax
push 0xf003f
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
jne 0x4be8a1
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, dword [ebp - 0x424]
xor esi, esi
jmp 0x4be8ac
mov eax, dword [ebp - 0x424]
mov esi, 0x80004005
test eax, eax
je 0x4be8bc
cmp eax, 0xffffffff
je 0x4be8bc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x428]
jmp 0x4be8c9
mov esi, 0x80004005
test eax, eax
je 0x4be8d9
cmp eax, 0xffffffff
je 0x4be8d9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.0055c3a9
mov esp, ebp
pop ebp
ret
Function at 0x4bfc40
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 0x4bfc56
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 0x4bfcb4
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push edi
push 0x4bede0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x68], eax
cmp dword [edi + 0xa0], 0
jne 0x4bfce6
cmp dword [edi + 0xa4], 0
je 0x4bfce6
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push edi
push 0x4bf010
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 0x4bfcff
mov eax, dword [edi + 0x24]
sub eax, 1
jne 0x4bfd26
push ecx
mov ecx, edi
call fcn.004bfa00
jmp 0x4bfd26
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 0x4bfd31
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4bfd60
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x4bfde5
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 0x4bfdab
push 0x1f4
push eax
call ecx
test eax, eax
je 0x4bfd95
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 0x4bfde5
push 0x1f4
push eax
call ecx
test eax, eax
je 0x4bfdcf
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 0x4bfe60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d95e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 1
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4bff3a
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 0x4bff24
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.0055c532
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]
test esi, esi
jne 0x4bfefe
xor eax, eax
jmp 0x4bff12
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4bff03
sub eax, edx
sar eax, 1
push eax
push esi
mov ecx, edi
call fcn.0042a060
push esi
call fcn.0055c53b
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.00429b60
int3

Function at 0x4bff70
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
je 0x4bff81
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
xor eax, eax
ret
Function at 0x4bffe0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a941e
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x639354]
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], 1
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4c0107
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp dword [ebx + 4], 0
mov byte [ebp - 4], 0
mov dword [ebp - 0x14], 1
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
je 0x4c00b5
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.0055c532
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]
test esi, esi
jne 0x4c0083
xor ecx, ecx
jmp 0x4c009f
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x4c0090
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c0090
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x10]
call fcn.0042a060
push esi
call fcn.0055c53b
mov esi, dword [ebp - 0x10]
add esp, 4
mov eax, dword [esi - 0xc]
test eax, eax
je 0x4c00de
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]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4c00f6
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.00429b60
int3
Function at 0x4c2e40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a97c4
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4c2f9a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 1
mov byte [ebp - 4], 2
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4c2fa4
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], 3
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0055c4f4
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], 4
push 0x1c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0055c4f4
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 + 0x1c], 0
mov dword [edi + 0x20], 0
call fcn.0055c4f4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x1c], eax
lea esi, [edi + 0x24]
mov byte [ebp - 4], 6
push 0x1c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0055c4f4
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], 7
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.0055c4f4
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.00429b60
push 0x80004005
call fcn.00429b60
int3