joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47c6b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5fb61c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
cmp dword [eax + 0xd8], 0
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x210], 0
je 0x47c6f0
mov eax, dword [eax + 0xb4]
sub eax, 0x10
push eax
call fcn.00421e00
add esp, 4
jmp 0x47c76d
push edi
lea edi, [eax + 0xb4]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x47c75e
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov word [ebp - 0x20c], cx
call fcn.005336c0
add esp, 0xc
push 0
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47c740
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, edi
call fcn.00422120
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00421e00
add esp, 4
pop edi
mov ecx, dword [ebp - 4]
add eax, 0x10
mov dword [esi], eax
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005332ca
mov esp, ebp
pop ebp
ret 4

Function at 0x47c790
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5fb61c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
cmp dword [eax + 0xd8], 0
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x210], 0
je 0x47c7d0
mov eax, dword [eax + 0xb8]
sub eax, 0x10
push eax
call fcn.00421e00
add esp, 4
jmp 0x47c84d
push edi
lea edi, [eax + 0xb8]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x47c83e
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov word [ebp - 0x20c], cx
call fcn.005336c0
add esp, 0xc
push 0
push 0x1c
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47c820
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, edi
call fcn.00422120
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00421e00
add esp, 4
pop edi
mov ecx, dword [ebp - 4]
add eax, 0x10
mov dword [esi], eax
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005332ca
mov esp, ebp
pop ebp
ret 4
Function at 0x47cbb0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e6a8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x5fb61c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00422540
lea ecx, [ebp - 0x14]
xor edi, edi
push ecx
mov dword [ebp - 4], edi
call fcn.0047ba90
mov ecx, dword [ebp + 0x18]
add esp, 4
lea edx, [ebp - 0x10]
push edx
mov edx, dword [ebp - 0x14]
or ecx, 0x20019
push ecx
push edi
push edx
push eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x47cc5c
jle 0x47cc21
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47cc49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
push edi
lea eax, [ebp - 0x1c]
push eax
push edi
push ecx
mov dword [ebp - 0x1c], 0x104
mov dword [ebp - 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, eax
cmp esi, edi
je 0x47ccbf
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
jle 0x47cc23
and esi, 0xffff
or esi, 0x80070000
jmp 0x47cc23
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x10]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, edi
je 0x47cce7
jle 0x47cce5
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47cd17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call 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
Function at 0x47ce30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e1e8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x5fb61c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00422540
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], 0
call fcn.0047ba90
lea edx, [ebp - 0x10]
mov esi, eax
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.0047bcc0
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
or edx, 0x20019
push edx
push 0
push eax
push esi
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x47cf0f
jle 0x47ceb6
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ced7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47cefd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
lea edx, [ecx + ecx]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
lea edx, [ebp - 0x20]
push edx
push 0
push eax
push ecx
mov dword [ebp - 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x18]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x47cfb4
jle 0x47cf59
and esi, 0xffff
or esi, 0x80070000
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47cf78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47cefd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47cfd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47cff9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x47dbd0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e851
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5fb61c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5fcb00]
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, 0x5fcb00
call edx
add eax, 0x10
mov dword [ebp - 0x21c], eax
cmp dword [esi + 0xdc], 0
mov dword [ebp - 4], 0
je 0x47dc73
lea eax, [ebp - 0x224]
push eax
mov ecx, esi
call fcn.0047c790
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.004222b0
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47dc6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x21c]
push ecx
jmp 0x47dcd9
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call fcn.005336c0
add esp, 0xc
push 0
push 0x26
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47dcb0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x21c]
call fcn.00422120
lea eax, [ebp - 0x21c]
push eax
call fcn.0046eb60
add esp, 4
push 0x14
push str.KingsoftWPS_Office_
lea ecx, [ebp - 0x21c]
call fcn.00422060
mov eax, dword [esi + 0x10]
sub eax, 0x10
push eax
call fcn.00421e00
add eax, 0x10
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x220]
push ecx
mov byte [ebp - 4], 2
call fcn.0046e310
lea edx, [ebp - 0x220]
push edx
call fcn.0046f5f0
mov ecx, dword [ebp - 0x21c]
xor eax, eax
add esp, 0xc
test ecx, ecx
setne al
test eax, eax
jne 0x47dd42
push 0x80004005
call fcn.00421960
mov eax, dword [ebp - 0x220]
push ecx
push eax
call fcn.005347c1
add esp, 8
test eax, eax
jne 0x47dd81
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0046e310
lea edx, [ebp - 0x21c]
push edx
call fcn.0046e260
mov eax, dword [ebp - 0x21c]
push 0
push 1
push eax
call fcn.00470930
add esp, 0x14
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47dda7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ddd0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call 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.005332ca
mov esp, ebp
pop ebp
ret
Function at 0x485ce0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov ecx, dword [esi + 0x10]
push edi
xor edi, edi
mov dword [esi + 4], eax
cmp dword [ecx - 0xc], edi
je 0x485d38
mov dword [esi + 8], edi
cmp eax, edi
je 0x485d05
or dword [0x5ff1ac], 4
cmp dword [esi + 4], edi
jne 0x485d1c
push str.7E3EDCB6_AA19_4598_A948_C59B6B02BF64
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x48], eax
push edi
push edi
push esi
push 0x485cc0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
cmp eax, edi
mov eax, 1
jne 0x485d3a
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x485d40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x10]
push 0
push 0
mov dword [esi + 0x50], ecx
mov dword [esi + 0x28], edx
mov dword [esi + 0x54], eax
call fcn.004a6890
mov ecx, eax
call fcn.004a7320
mov ecx, dword [esi + 0x10]
mov dword [esi + 4], 0
cmp dword [ecx - 0xc], 0
je 0x485db0
push str.7E3EDCB6_AA19_4598_A948_C59B6B02BF64
push 0
push 1
push 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push esi
push 0x485cc0
push 0
push 0
mov dword [esi + 0x48], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
pop esi
pop ebp
ret 0x10
Function at 0x488510
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f976
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x5fb61c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x430], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x418], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x48858d
call fcn.0045e930
mov edi, eax
jmp 0x488672
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4885a6
call fcn.0045e930
jmp 0x488669
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x4885c4
call fcn.0045e930
jmp 0x488669
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x41c], edi
cmp eax, edi
jae 0x4885e5
mov edi, 0x8007000e
jmp 0x48866b
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.004873a0
mov dword [ebp - 4], 1
jmp 0x48861d
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x48862e
mov edi, 0x8007000e
jmp 0x48866b
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x488647
call fcn.0045e930
jmp 0x488669
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x418]
push eax
push ecx
lea ecx, [ebp - 0x42c]
call fcn.00488270
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x488690
lea ecx, [ebp - 0x418]
call fcn.00486bd0
jmp 0x488690
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 - 0x14]
xor ecx, ebp
call fcn.005332ca
mov esp, ebp
pop ebp
ret 0x10
Function at 0x48b740
Capabilities:
Create process on windows

Disassembly:
push 4
push 0
push 0
push str.http:__www.wps.cn_product_newfeatures
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x48ba30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
push str.SOFTWAREKingsoftOffice6.0Common
push 0x80000001
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [ebp - 4]
mov esi, 4
mov dword [ebp - 8], esi
test eax, eax
je 0x48ba92
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.2019icdisable
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48ba84
cmp dword [ebp - 0xc], esi
je 0x48ba99
mov eax, dword [ebp - 4]
test eax, eax
je 0x48ba92
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
xor edx, edx
cmp dword [ebp - 0x10], 1
sete dl
mov esi, edx
test eax, eax
je 0x48bab2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x48cfd0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5fb61c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [str.SoftwarekingsoftOffice6.0Commonupdateinfo]
push ebx
push esi
push edi
push 0x2001f
xor edi, edi
push eax
push 0x80000001
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
call fcn.00438000
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x218]
test eax, eax
jne 0x48d048
mov ecx, dword [str.waitclearversions]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp esi, edi
je 0x48d042
push esi
call ebx
xor esi, esi
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], edi
mov edx, dword [ebp + 8]
cmp dword [edx - 0xc], edi
je 0x48d13c
push 0x206
lea ecx, [ebp - 0x20a]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x20c], ax
call fcn.005336c0
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x20c]
add esp, 0xc
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, di
jne 0x48d080
mov edx, dword [str.SoftwarekingsoftOffice6.0Commonupdateinfo]
push 0x2001f
push edx
push 0x80000001
lea ecx, [ebp - 0x218]
call fcn.00438000
test eax, eax
jne 0x48d0e1
mov esi, dword [str.waitclearversions]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 1
push edi
push esi
mov esi, dword [ebp - 0x218]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x48d13c
mov eax, dword [str.SoftwarekingsoftOffice6.0Commonupdateinfo]
push edi
push edi
push 0x2001f
push edi
push edi
push eax
push 0x80000001
lea ecx, [ebp - 0x218]
call fcn.0046ac80
test eax, eax
jne 0x48d136
mov esi, dword [str.waitclearversions]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x20c]
push eax
push 1
push edi
push esi
mov esi, dword [ebp - 0x218]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x48d13c
mov esi, dword [ebp - 0x218]
cmp esi, edi
je 0x48d143
push esi
call ebx
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop esi
pop ebx
test edx, edx
jg 0x48d165
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005332ca
mov esp, ebp
pop ebp
ret
Function at 0x48dd00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ff99
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5fb61c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [0x5fcb00]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcb00
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
mov ecx, dword [str.SoftwareMicrosoftWindowsCurrentVersionApp_Pathswps.exe]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [ebp - 0x14]
push eax
push ecx
push 0x80000001
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], ebx
call esi
lea edx, [ebp - 0x18]
push edx
push 0x591ff8
lea ecx, [ebp - 0x14]
call fcn.00439630
mov eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x48dd85
push eax
call edi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
cmp dword [eax - 0xc], ebx
jne 0x48ddc3
mov edx, dword [str.SoftwareMicrosoftWindowsCurrentVersionApp_Pathswps.exe]
lea ecx, [ebp - 0x14]
push ecx
push edx
push 0x80000001
mov dword [ebp - 0x14], ebx
call esi
lea eax, [ebp - 0x18]
push eax
push 0x591ff8
lea ecx, [ebp - 0x14]
call fcn.00439630
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x48ddc0
push eax
call edi
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp - 0x18]
cmp dword [ecx - 0xc], ebx
jne 0x48ddf5
mov edx, dword [0x5fcb00]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcb00
call eax
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x48dded
push eax
call edi
or edi, 0xffffffff
jmp 0x48dea2
push 4
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00421e70
mov eax, dword [eax]
push str..exe
push eax
call fcn.005347c1
add esp, 8
cmp eax, ebx
jne 0x48de28
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 0xd], bl
test eax, eax
jne 0x48de2c
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
or edi, 0xffffffff
mov dword [ebp - 4], 1
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48de54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], bl
je 0x48de6b
mov edx, dword [0x5fcb00]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcb00
call eax
jmp 0x48de8c
lea ecx, [ebp - 0x18]
push ecx
call fcn.0046e260
lea edx, [ebp - 0x18]
push edx
call fcn.0046e260
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
push eax
call fcn.00421e00
add esp, 0xc
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x48dea2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x48dec4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
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 0x490710
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580348
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5fb61c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5fcb00]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcb00
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x10]
push str.unregister_dll_path:_s_n
push ecx
mov dword [ebp - 4], 0
call fcn.004237a0
mov edi, dword [ebp - 0x10]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp + 0xc]
push 1
push edx
mov ecx, esi
call fcn.00490450
mov esi, eax
lea eax, [edi - 0x10]
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4907a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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