joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f1d50
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587c20
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5fb61c]
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]
push 0x18
mov esi, ecx
xor ebx, ebx
push str.callClearMsgNotification
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0042e9d0
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push ebx
mov dword [ebp - 4], ebx
mov ebx, 1
push ebx
lea edx, [ebp - 0x2c]
push edx
call eax
cmp dword [ebp - 0x18], 0x10
jb 0x4f1dc8
mov ecx, dword [ebp - 0x2c]
push ecx
call int.0042bfd0
add esp, 4
mov dword [ebp - 0x3c], vtable.wps::qing::KQingServices_callClearMsgNotification_pargs.0
mov edx, dword [esi + 0x30]
push edx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], edi
call fcn.004e1760
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x34]
push eax
call fcn.004dc1b0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
mov byte [ebp - 4], 2
call eax
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], bl
test eax, eax
je 0x4f1e3a
mov edi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4f1e3a
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4f1e3a
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x34]
push eax
call fcn.004dc1b0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
mov byte [ebp - 4], 3
call eax
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], bl
test eax, eax
je 0x4f1e89
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4f1e89
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4f1e89
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
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.005332ca
mov esp, ebp
pop ebp
ret 4
Function at 0x4f3fb0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5883f0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5fb61c]
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]
push 0x18
mov esi, ecx
xor ebx, ebx
push str.batchDestroyRecycleFiles
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0042e9d0
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push ebx
mov dword [ebp - 4], ebx
mov ebx, 1
push ebx
lea edx, [ebp - 0x2c]
push edx
call eax
cmp dword [ebp - 0x18], 0x10
jb 0x4f4028
mov ecx, dword [ebp - 0x2c]
push ecx
call int.0042bfd0
add esp, 4
mov dword [ebp - 0x3c], vtable.wps::qing::KQingServices_batchDestroyRecycleFiles_pargs.0
mov edx, dword [esi + 0x30]
push edx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], edi
call fcn.004e2f20
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x34]
push eax
call fcn.004dc1b0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
mov byte [ebp - 4], 2
call eax
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], bl
test eax, eax
je 0x4f409a
mov edi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4f409a
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4f409a
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x34]
push eax
call fcn.004dc1b0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
mov byte [ebp - 4], 3
call eax
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], bl
test eax, eax
je 0x4f40e9
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4f40e9
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4f40e9
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
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.005332ca
mov esp, ebp
pop ebp
ret 4
Function at 0x4f4110
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588440
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5fb61c]
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]
push 0x18
mov esi, ecx
xor ebx, ebx
push str.batchRecoverRecycleFiles
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0042e9d0
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push ebx
mov dword [ebp - 4], ebx
mov ebx, 1
push ebx
lea edx, [ebp - 0x2c]
push edx
call eax
cmp dword [ebp - 0x18], 0x10
jb 0x4f4188
mov ecx, dword [ebp - 0x2c]
push ecx
call int.0042bfd0
add esp, 4
mov dword [ebp - 0x3c], vtable.wps::qing::KQingServices_batchRecoverRecycleFiles_pargs.0
mov edx, dword [esi + 0x30]
push edx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], edi
call fcn.004e3010
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x34]
push eax
call fcn.004dc1b0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
mov byte [ebp - 4], 2
call eax
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], bl
test eax, eax
je 0x4f41fa
mov edi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4f41fa
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4f41fa
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x34]
push eax
call fcn.004dc1b0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
mov byte [ebp - 4], 3
call eax
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], bl
test eax, eax
je 0x4f4249
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4f4249
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4f4249
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
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.005332ca
mov esp, ebp
pop ebp
ret 4
Function at 0x4f4ed0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588760
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5fb61c]
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]
push 0x18
mov esi, ecx
xor ebx, ebx
push str.getGroupUnreadEventsInfo
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0042e9d0
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push ebx
mov dword [ebp - 4], ebx
mov ebx, 1
push ebx
lea edx, [ebp - 0x2c]
push edx
call eax
cmp dword [ebp - 0x18], 0x10
jb 0x4f4f48
mov ecx, dword [ebp - 0x2c]
push ecx
call int.0042bfd0
add esp, 4
mov dword [ebp - 0x3c], vtable.wps::qing::KQingServices_getGroupUnreadEventsInfo_pargs.0
mov edx, dword [esi + 0x30]
push edx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], edi
call fcn.004e3970
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x34]
push eax
call fcn.004dc1b0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
mov byte [ebp - 4], 2
call eax
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], bl
test eax, eax
je 0x4f4fba
mov edi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4f4fba
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4f4fba
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x34]
push eax
call fcn.004dc1b0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
mov byte [ebp - 4], 3
call eax
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], bl
test eax, eax
je 0x4f5009
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4f5009
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4f5009
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
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.005332ca
mov esp, ebp
pop ebp
ret 4
Function at 0x4fc7c0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a2e0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5fb61c]
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]
push 0x18
mov esi, ecx
xor ebx, ebx
push str.updateTransferInfoStatus
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0042e9d0
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push ebx
mov dword [ebp - 4], ebx
mov ebx, 1
push ebx
lea edx, [ebp - 0x2c]
push edx
call eax
cmp dword [ebp - 0x18], 0x10
jb 0x4fc838
mov ecx, dword [ebp - 0x2c]
push ecx
call int.0042bfd0
add esp, 4
mov dword [ebp - 0x3c], vtable.wps::qing::KQingServices_updateTransferInfoStatus_pargs.0
mov edx, dword [esi + 0x30]
push edx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], edi
call fcn.004e8d50
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x34]
push eax
call fcn.004dc1b0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
mov byte [ebp - 4], 2
call eax
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], bl
test eax, eax
je 0x4fc8aa
mov edi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4fc8aa
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4fc8aa
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x34]
push eax
call fcn.004dc1b0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
mov byte [ebp - 4], 3
call eax
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], bl
test eax, eax
je 0x4fc8f9
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4fc8f9
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4fc8f9
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
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.005332ca
mov esp, ebp
pop ebp
ret 4
Function at 0x4fd580
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a600
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5fb61c]
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]
push 0x18
mov esi, ecx
xor ebx, ebx
push str.checkDesktopSyncWorkWell
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0042e9d0
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push ebx
mov dword [ebp - 4], ebx
mov ebx, 1
push ebx
lea edx, [ebp - 0x2c]
push edx
call eax
cmp dword [ebp - 0x18], 0x10
jb 0x4fd5f8
mov ecx, dword [ebp - 0x2c]
push ecx
call int.0042bfd0
add esp, 4
mov dword [ebp - 0x3c], vtable.wps::qing::KQingServices_checkDesktopSyncWorkWell_pargs.0
mov edx, dword [esi + 0x30]
push edx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], edi
call fcn.004e96b0
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x34]
push eax
call fcn.004dc1b0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
mov byte [ebp - 4], 2
call eax
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], bl
test eax, eax
je 0x4fd66a
mov edi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4fd66a
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4fd66a
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x34]
push eax
call fcn.004dc1b0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
mov byte [ebp - 4], 3
call eax
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], bl
test eax, eax
je 0x4fd6b9
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4fd6b9
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4fd6b9
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
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.005332ca
mov esp, ebp
pop ebp
ret 4
Function at 0x531cc0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x531cd2
mov al, 1
pop edi
pop ebp
ret 4
cmp dword [edi + 0x18], 8
lea eax, [edi + 4]
jb 0x531cdd
mov eax, dword [eax]
push esi
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x531d12
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x531d1a
mov eax, dword [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x531d1a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor al, al
pop edi
pop ebp
ret 4
mov dword [edi], esi
pop esi
mov al, 1
pop edi
pop ebp
ret 4

Function at 0x531db0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c138
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5fb61c]
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 esi, 7
push esi
xor eax, eax
xor edi, edi
push 0x5bb8ac
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], ax
call fcn.00437a20
xor ecx, ecx
push 0x23
mov word [ebp - 0x2c], cx
push str.SoftwareKingsoftOffice6.0Common
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
call fcn.00437a20
mov ecx, dword [ebp - 0x48]
mov ebx, 8
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], 4
cmp dword [ebp - 0x34], ebx
jae 0x531e34
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x531e3f
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x50]
push edx
lea edx, [ebp - 0x4c]
push edx
push edi
push ecx
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, eax
neg esi
sbb esi, esi
not esi
and esi, dword [ebp - 0x4c]
cmp dword [ebp - 0x18], ebx
jb 0x531e71
mov eax, dword [ebp - 0x2c]
push eax
call int.0042bfd0
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], ebx
jb 0x531e92
mov edx, dword [ebp - 0x48]
push edx
call int.0042bfd0
add esp, 4
mov eax, esi
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.005332ca
mov esp, ebp
pop ebp
ret
Function at 0x531eb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5fb61c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
mov dword [ebp - 0x210], 0
push ecx
mov word [ebp - 0x20c], ax
call fcn.005336c0
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x5b23e8
push str.SoftwareKingsoftOffice6.0Common
push 0x80000001
mov dword [ebp - 0x210], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
test eax, eax
je 0x531f46
xor ecx, ecx
mov word [esi], cx
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005332ca
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x210]
shr eax, 1
dec eax
push eax
lea eax, [ebp - 0x20c]
xor edx, edx
push eax
mov ecx, esi
mov word [esi], dx
call fcn.00437a20
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005332ca
mov esp, ebp
pop ebp
ret
Function at 0x5326f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c292
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5fb61c]
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]
xor eax, eax
mov dword [ebp - 0x4c], eax
cmp byte [0x600838], al
je 0x53275b
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0xf
mov byte [edi], al
mov eax, 0x600838
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x532740
sub eax, edx
push eax
push 0x600838
mov ecx, edi
call fcn.0042e9d0
jmp 0x532846
push eax
push eax
push 0x600838
push 0x5325d0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
push 0xbb8
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
neg esi
sbb esi, esi
push ebx
inc esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp esi, eax
je 0x5327ce
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x48], al
mov eax, 0x600838
mov dword [ebp - 0x34], 0xf
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5327a6
sub eax, edx
push eax
push 0x600838
lea ecx, [ebp - 0x48]
call fcn.0042e9d0
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 0
mov ebx, 2
jmp 0x5327ea
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
mov ebx, 4
xor esi, esi
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], esi
push eax
mov ecx, edi
mov dword [ebp - 0x4c], ebx
mov byte [edi], 0
call fcn.0042eb90
or ebx, 1
test bl, 4
je 0x53282f
and ebx, 0xfffffffb
cmp dword [ebp - 0x18], 0x10
jb 0x532821
mov eax, dword [ebp - 0x2c]
push eax
call int.0042bfd0
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
test bl, 2
je 0x532846
cmp dword [ebp - 0x34], 0x10
jb 0x532846
mov ecx, dword [ebp - 0x48]
push ecx
call int.0042bfd0
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005332ca
mov esp, ebp
pop ebp
ret
Function at 0x532e00
Capabilities:
Create thread
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5fb61c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx ecx, word [ebp - 0xe]
push 4
lea edx, [ebp - 0x18]
push edx
push 4
push 0x5bb8ac
push str.SoftwareKingsoftOffice6.0Common
push 0x80000001
mov dword [ebp - 0x18], ecx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [esi], 0
jne 0x532e6d
push 0
push 0
push 0
push 0x532c90
push 0
push 0
call fcn.00533b94
add esp, 0x18
mov dword [esi], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005332ca
mov esp, ebp
pop ebp
ret

Function at 0x53529c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x5352c3
call fcn.0053a8b9
mov dword [eax], esi
call fcn.0053a8a6
push 0x16
pop esi
mov dword [eax], esi
call fcn.0053ad00
mov eax, esi
jmp 0x535318
test dword [ebp + 0xc], 0xfffffff9
jne 0x5352a9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5352f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0053a8cc
pop ecx
call fcn.0053a8a6
mov eax, dword [eax]
jmp 0x535318
test al, 0x10
jne 0x535316
test al, 1
je 0x535316
test byte [ebp + 0xc], 2
je 0x535316
call fcn.0053a8b9
mov dword [eax], 5
call fcn.0053a8a6
mov dword [eax], 0xd
jmp 0x5352e7
xor eax, eax
pop esi
pop ebp
ret
Function at 0x54b9a1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5fb61c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0053a22c
and dword [ebp - 0x14], 0
cmp dword [0x601a7c], 0
mov dword [ebp - 0x18], eax
jne 0x54ba54
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x54bafc
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5bddb8
push ebx
call edi
test eax, eax
je 0x54bafc
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5bdda8
push ebx
mov dword [0x601a7c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x601a80], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x601a84], eax
call edi
push eax
call esi
mov dword [0x601a8c], eax
test eax, eax
je 0x54ba54
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x601a88], eax
mov eax, dword [0x601a88]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x54baad
cmp dword [0x601a8c], ecx
je 0x54baad
push eax
call esi
push dword [0x601a8c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x54baad
test ebx, ebx
je 0x54baad
call edi
test eax, eax
je 0x54baa4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x54baa4
test byte [ebp - 8], 1
jne 0x54baad
or dword [ebp + 0x10], 0x200000
jmp 0x54bae0
mov eax, dword [0x601a80]
cmp eax, dword [ebp - 0x18]
je 0x54bae0
push eax
call esi
test eax, eax
je 0x54bae0
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x54bae0
mov eax, dword [0x601a84]
cmp eax, dword [ebp - 0x18]
je 0x54bae0
push eax
call esi
test eax, eax
je 0x54bae0
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x601a7c]
call esi
test eax, eax
je 0x54bafc
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x54bafe
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005332ca
leave
ret