joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48b810
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c002
mov eax, dword fs:[0]
push eax
sub esp, 0x624
mov eax, dword [0x62819c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x628]
push 0x208
push 0
mov dword [ebp - 0x630], edi
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x62c], 0
call fcn.0054b380
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0054b380
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0054b380
add esp, 0x24
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x48ba1d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push dword [ebx + 0x10]
lea eax, [ebp - 0x628]
mov dword [ebp - 4], 0
push 0x104
push eax
mov dword [ebp - 0x62c], 1
call fcn.00559d1c
push str.utilityinstall.ini
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.00559ca7
add esp, 0x18
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x5ac698
push str.lowerversion
push str.update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0x5ac698
push str.higherversion
push str.update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebx + 0xc4]
mov ecx, edi
push dword [eax - 0xc]
push eax
call fcn.00429240
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b956
sub ecx, edx
sar ecx, 1
je 0x48b9a4
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x48b995
push 1
push 0x5b94f8
mov ecx, edi
call fcn.00429240
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b986
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.00429240
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b9b0
sub ecx, edx
sar ecx, 1
je 0x48b9fe
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x48b9ef
push 1
push 0x5b94f8
mov ecx, edi
call fcn.00429240
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b9e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
mov ecx, edi
push eax
call fcn.00429240
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
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 0x48c570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c1d6
mov eax, dword fs:[0]
push eax
sub esp, 0x224
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 - 0x230], edi
cmp dword [ecx + 0xdc], 0
je 0x48c5cb
mov ecx, dword [ecx + 0xc0]
sub ecx, 0x10
push ecx
call fcn.004293f0
add esp, 4
add eax, 0x10
mov dword [edi], eax
jmp 0x48c719
xor esi, esi
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], esi
push esi
push eax
call fcn.0054b380
add esp, 0xc
mov dword [ebp - 0x21c], esi
lea eax, [ebp - 0x21c]
push eax
push 0x2001f
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallKingsoft_Office
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x48c645
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], esi
push eax
push 0x2001f
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallKingsoft_Office
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48c6ae
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x224], 0
push eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x228], esi
push eax
push 0
push str.StartMenuDir
push esi
mov dword [ebp - 0x21c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48c6ae
mov eax, dword [ebp - 0x22c]
cmp eax, 1
je 0x48c69c
cmp eax, 2
jne 0x48c6ae
cmp dword [ebp - 0x21c], 0
jne 0x48c6ae
xor eax, eax
mov word [ebp - 0x218], ax
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x48c738
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x48c6e1
movzx eax, ax
mov ecx, edi
push eax
call fcn.004295b0
jmp 0x48c70e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48c6f0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00429870
test esi, esi
je 0x48c719
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.00545ec7
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004293d0
int3
Function at 0x48ce30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c30b
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
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
mov edi, ecx
cmp byte [edi + 0x58], 0
je 0x48ce70
cmp byte [edi + 0x59], 0
je 0x48cf73
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], 0
push eax
push 0x2001f
push 0
push dword [0x6024b8]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48cfcc
mov esi, dword [ebp - 0x234]
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0054b380
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x238]
add esp, 0xc
mov dword [ebp - 0x238], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x240]
push eax
push 0
push str.disableGlobalInfoCollect
push esi
call ebx
test eax, eax
jne 0x48cf1a
mov eax, dword [ebp - 0x240]
cmp eax, 1
je 0x48ceff
cmp eax, 2
jne 0x48cf1a
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x48cf7a
test al, 1
jne 0x48cf1a
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x48cf83
lea eax, [ebp - 0x244]
mov dword [ebp - 0x23c], 0
push eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x244], 4
push eax
lea eax, [ebp - 0x248]
push eax
push 0
push str.disableGlobalInfoCollect
push esi
call ebx
test eax, eax
jne 0x48cfc1
cmp dword [ebp - 0x248], 4
jne 0x48cfc1
cmp dword [ebp - 0x23c], 1
sete bl
test esi, esi
je 0x48cf6f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x48cfcc
mov al, 1
jmp 0x48d011
xor eax, eax
mov word [ebp - 0x218], ax
mov ecx, 0x5b01ec
lea eax, [ebp - 0x218]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48cfb8
test dx, dx
je 0x48cfb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48cfb8
add eax, 4
add ecx, 4
test dx, dx
jne 0x48cf90
xor eax, eax
test eax, eax
jmp 0x48cf61
sbb eax, eax
or eax, 1
test eax, eax
jmp 0x48cf61
test esi, esi
je 0x48cfcc
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [edi + 0x108], 0
je 0x48d00f
push str.Support_DisableGlobalInfoCollect
lea ecx, [ebp - 0x230]
call fcn.0043e5b0
mov ecx, dword [edi + 0x108]
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 4], 0
call fcn.00496ac0
lea ecx, [ebp - 0x230]
mov bl, al
call fcn.0042a1f0
mov al, bl
jmp 0x48d011
xor al, al
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
Function at 0x48db60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, ecx
push ebx
mov dword [ebp - 0xc], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [eax]
test eax, eax
je 0x48dc2c
lea ecx, [ebp - 4]
push ecx
push ebx
lea ecx, [ebp - 8]
push ecx
push ebx
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x48dba0
cmp eax, 2
jne 0x48dc2c
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.00429490
mov edx, dword [ebp - 4]
shr edx, 1
add edx, 1
js 0x48dc35
mov edi, dword [esi]
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, edx
or ecx, eax
jge 0x48dbd3
push edx
mov ecx, esi
call fcn.004296d0
mov edi, dword [esi]
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48dc2a
mov eax, dword [ebp - 4]
xor ecx, ecx
shr eax, 1
mov word [edi + eax*2], cx
mov eax, dword [esi]
test eax, eax
je 0x48dc13
push dword [eax - 8]
push eax
call fcn.00555593
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x48dc35
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x48dc35
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov ebx, 1
mov word [eax + ecx*2], dx
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.004293d0
int3
Function at 0x48dc40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c3f2
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x62819c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x22c], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x48dd8e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SoftwarekingsoftOffice6.0Commonupdateinfo
push 0x80000001
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x21c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48dd70
cmp dword [ebp - 0x21c], eax
je 0x48dd70
push 0x208
push eax
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x218]
push eax
call fcn.0054b380
add esp, 0xc
mov dword [ebp - 0x224], 0x208
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x228]
push eax
push 0
push str.waitclearversions
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48dd64
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48dd46
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00429870
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.00545ec7
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004293d0
int3
Function at 0x48dda0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c430
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x62819c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x48df16
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0
test edx, edx
je 0x48de21
test edx, 0xffff0000
jne 0x48de06
movzx eax, dx
lea ecx, [ebp - 0x10]
push eax
call fcn.004295b0
jmp 0x48de2d
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x48de10
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48de10
sub ecx, esi
sar ecx, 1
jmp 0x48de23
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.00429870
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
call fcn.00495760
mov edi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004959a0
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x14], 0
push eax
mov eax, dword [ebp + 0x14]
or eax, 0x20019
push eax
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
je 0x48de83
jle 0x48dec9
movzx edi, di
or edi, 0x80070000
jmp 0x48dec9
mov eax, dword [ebp + 0x10]
add eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x48dec7
jle 0x48dec9
movzx edi, di
or edi, 0x80070000
jmp 0x48dec9
xor edi, edi
mov edx, dword [ebp - 0x18]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48dee6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x48df02
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
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004293d0
int3
Function at 0x48df30
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c460
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x62819c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x48e0c8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0
test edx, edx
je 0x48dfb1
test edx, 0xffff0000
jne 0x48df96
movzx eax, dx
lea ecx, [ebp - 0x14]
push eax
call fcn.004295b0
jmp 0x48dfbd
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x48dfa0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48dfa0
sub ecx, esi
sar ecx, 1
jmp 0x48dfb3
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.00429870
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.00495760
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
add esp, 4
xor edi, edi
mov dword [ebp - 0x10], edi
push ecx
mov ecx, dword [ebp + 0x18]
or ecx, 0x20019
push ecx
push edi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x48e00a
jg 0x48dffc
mov edi, eax
jmp 0x48e095
movzx edi, ax
or edi, 0x80070000
jmp 0x48e095
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x1c], 0x104
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], edi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ebx, eax
test ebx, ebx
je 0x48e067
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jg 0x48e05c
mov edi, ebx
jmp 0x48e095
movzx edi, bx
or edi, 0x80070000
jmp 0x48e095
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x48e08c
jg 0x48e083
mov edi, eax
jmp 0x48e08c
movzx edi, ax
or edi, 0x80070000
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48e0b4
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
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004293d0
int3
Function at 0x493a90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x631d90], 0
push esi
push edi
mov esi, ecx
je 0x493ad3
push 0
push 0
push 0x5ae038
push str.StartUninstall
push 1
call fcn.004ca730
add esp, 0x14
cmp byte [0x631d90], 0
je 0x493ad3
push 0xff
push str.StartUninstall
call fcn.004ca7b0
add esp, 8
mov eax, dword [esi + 0x10]
xor edi, edi
mov ecx, dword [ebp + 8]
mov dword [esi + 4], ecx
cmp dword [eax - 0xc], edi
je 0x493b2b
mov dword [esi + 8], edi
test ecx, ecx
je 0x493af6
or dword [0x631740], 4
cmp dword [esi + 4], edi
jne 0x493b0a
push str.7E3EDCB6_AA19_4598_A948_C59B6B02BF64
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x48], eax
push 0
push 0
push esi
push 0x4948e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0xc], eax
mov ecx, 1
cmovne edi, ecx
cmp byte [0x631d90], 0
je 0x493b67
push 0
push 0
push 0x5ae038
push str.StartUninstall
push 1
call fcn.004ca770
add esp, 0x14
cmp byte [0x631d90], 0
je 0x493b67
push 0xff
push str.StartUninstall
call fcn.004ca7d0
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x494d20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ce3b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
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
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor edi, edi
push edi
push eax
call fcn.0054b380
add esp, 0xc
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x494e73
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x21c], esi
lea eax, [ebp - 0x218]
mov dword [ebp - 4], edi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x494e2d
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x494dc0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x494dc0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00429870
push 4
push str.wps_
mov ecx, ebx
call fcn.00429240
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x21c]
push str._x_
push eax
call fcn.0042bf70
mov esi, dword [ebp - 0x21c]
add esp, 0xc
mov ecx, ebx
push dword [esi - 0xc]
push esi
call fcn.00429240
push dword [ebx]
call fcn.00474b10
add esp, 4
test eax, eax
je 0x494e2d
mov edi, 1
jmp 0x494e34
mov ecx, ebx
call fcn.00429490
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x494e53
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
pop ebx
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 0x4993a0
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d581
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
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 - 0x420]
push 0
push eax
call fcn.0054b380
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push str.IS_PDF_OVERSEAS_VERSION
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x49941f
push 1
lea eax, [ebp - 0x420]
push eax
push 0x5b01ec
call fcn.005559a2
add esp, 0xc
test eax, eax
sete al
jmp 0x49959d
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0054b380
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0054bdba
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0054bdba
add esp, 0x10
xor ecx, ecx
mov word [eax + 2], cx
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4995b9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x4994b0
movzx eax, ax
lea ecx, [ebp - 0x424]
push eax
call fcn.004295b0
jmp 0x4994e2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4994c0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.00429870
push 0xb
push str.install.ini
lea ecx, [ebp - 0x424]
mov dword [ebp - 4], 1
call fcn.00429240
mov esi, dword [ebp - 0x424]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or edi, 0xffffffff
test eax, eax
je 0x49957d
push 0x5b3dbc
push str.WPSPDFStandalone
push str.installinfo
lea eax, [ebp - 0x428]
push esi
push eax
call fcn.0045dd10
push 0x5b07b4
push dword [ebp - 0x428]
call fcn.00555852
mov edx, dword [ebp - 0x428]
add esp, 0x1c
add edx, 0xfffffff0
mov byte [ebp - 4], 1
test eax, eax
jne 0x499569
or edi, edi
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x499565
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, 1
jmp 0x49957f
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x49957d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor bl, bl
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x49959b
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
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 0x49a130
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d666
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x62819c]
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 + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x49a1dc
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x49a1dc
call fcn.00464500
mov esi, eax
jmp 0x49a2cc
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x49a1ff
call fcn.00464500
jmp 0x49a2bf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x49a21d
call fcn.00464500
jmp 0x49a2bf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x49a23e
mov esi, 0x8007000e
jmp 0x49a2c1
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.004981a0
jmp 0x49a268
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x49a27f
mov esi, 0x8007000e
jmp 0x49a2c1
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x49a29f
call fcn.00464500
jmp 0x49a2bf
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00499f90
mov esi, eax
test edi, edi
je 0x49a2cc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x49a2f0
lea ecx, [ebp - 0x418]
call fcn.00499250
jmp 0x49a2f0
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 - 0x14]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret 0x10