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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call sub.MSVCR100.dll_memset
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20a]
push eax
mov dword [ebp - 0x418], 0x104
mov word [ebp - 0x20c], dx
call sub.MSVCR100.dll_memset
mov edx, dword [0x565030]
add esp, 0x18
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call dword [sym.imp.MSVCR100.dll_wcsrchr]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
add esp, 8
add eax, 0xfffffffe
nop
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x43c700
mov edx, dword [str.cfgs]
mov ecx, dword [0x4d2794]
mov dword [eax], edx
mov edx, dword [0x4d2798]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43c730
sub eax, edx
sar eax, 1
mov dword [ebp - 0x41c], eax
cmp eax, 0x104
lea eax, [ebp - 0x41c]
jl 0x43c758
lea eax, [ebp - 0x418]
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.MSVCR100.dll_wcsncpy]
lea eax, [ebp - 0x414]
add esp, 0xc
add eax, 0xfffffffe
jmp 0x43c780
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x43c780
mov ecx, dword [str._setup.cfg]
mov edx, dword [0x4d2850]
mov dword [eax], ecx
mov ecx, dword [0x4d2854]
mov dword [eax + 4], edx
mov edx, dword [0x4d2858]
mov dword [eax + 8], ecx
mov ecx, dword [0x4d285c]
mov dword [eax + 0xc], edx
mov dx, word [0x4d2860]
mov dword [eax + 0x10], ecx
mov word [eax + 0x14], dx
lea eax, [ebp - 0x414]
push eax
push 0
push str.USBVersion
push str.Local
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.004b12f6
mov esp, ebp
pop ebp
ret

Function at 0x43c860
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x43c883
mov esi, str.wpsmain.dll
jmp 0x43c8a5
cmp edi, 2
jne 0x43c88f
mov esi, str.etmain.dll
jmp 0x43c8a5
cmp edi, 1
jne 0x43c89b
mov esi, str.wppmain.dll
jmp 0x43c8a5
cmp edi, 3
jne 0x43c919
mov esi, str.pdfmain.dll
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call sub.MSVCR100.dll_memset
lea edx, [ebp - 0x20c]
push edx
push esi
call fcn.0043bfd0
mov esi, eax
add esp, 0x14
test esi, esi
js 0x43c90a
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea esi, [eax + 1]
neg esi
sbb esi, esi
and esi, 0x7fffbffb
add esi, 0x80004005
jns 0x43c90a
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret
push edi
call fcn.00488cb0
add esp, 4
test eax, eax
mov eax, esi
jne 0x43c91e
mov eax, 0x80004005
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004b12f6
mov esp, ebp
pop ebp
ret
Function at 0x43ccd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b850e
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5603e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 1
test byte [0x561074], al
jne 0x43cd1e
or dword [0x561074], eax
mov dword [ebp - 4], 0
call fcn.0043c670
mov dword [0x561070], eax
mov dword [ebp - 4], 0xffffffff
cmp dword [0x561070], 0
jne 0x43cd68
lea ecx, [ebp - 0xd]
call fcn.004331f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
neg eax
sbb eax, eax
push 0
and eax, 9
add eax, 0x1a
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp byte [ebp - 0xd], 0
je 0x43cd7f
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 0
mov ecx, dword [ebp + 0xc]
setne dl
movzx eax, dl
push eax
push ecx
call fcn.0043bf70
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x440970
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8860
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x5603e8]
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, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x29c], ecx
cmp dword [ecx + 0x10], ebx
je 0x440a28
xor eax, eax
mov word [ebp - 0x48], ax
mov eax, esi
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4409c3
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.00405660
push 6
push str..lnk
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], ebx
call fcn.00409380
mov eax, dword [ebp - 0x48]
mov edi, 8
cmp dword [ebp - 0x34], edi
jae 0x4409fe
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x298]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2a0], eax
cmp eax, 0xffffffff
jne 0x440a32
cmp dword [ebp - 0x34], edi
jb 0x440a28
mov edx, dword [ebp - 0x48]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 0x80004005
jmp 0x440b36
mov edi, dword [ebp + 0xc]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, esi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x440a50
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00405660
push 1
push 0x4c7780
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00409380
lea eax, [ebp - 0x26c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x440a85
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00409380
test byte [ebp - 0x298], 0x10
je 0x440acc
cmp edi, ebx
je 0x440ae4
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x440abd
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x29c]
push edi
push eax
call fcn.00440970
jmp 0x440ae4
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x440ad8
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x29c]
push eax
call fcn.00440640
cmp dword [ebp - 0x18], 8
mov byte [ebp - 4], bl
jb 0x440af9
mov edx, dword [ebp - 0x2c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0x2a0]
lea eax, [ebp - 0x298]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x440a35
mov edx, dword [ebp - 0x2a0]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x34], 8
jb 0x440b34
mov eax, dword [ebp - 0x48]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
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.004b12f6
mov esp, ebp
pop ebp
ret 8
Function at 0x440b60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b889b
mov eax, dword fs:[0]
push eax
sub esp, 0x640
mov eax, dword [0x5603e8]
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
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x626]
push ecx
mov word [ebp - 0x628], ax
call sub.MSVCR100.dll_memset
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call sub.MSVCR100.dll_memset
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x41e]
push edx
mov word [ebp - 0x420], cx
call sub.MSVCR100.dll_memset
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0x24
push 0
push 0x19
lea eax, [ebp - 0x218]
push eax
push 0
call esi
push 0
push 2
lea ecx, [ebp - 0x420]
push ecx
push 0
call esi
push 0
push 0x10
lea edx, [ebp - 0x628]
push edx
push 0
call esi
lea ecx, [ebp - 0x644]
call fcn.004408a0
cmp word [ebp - 0x218], 0
mov dword [ebp - 4], 0
je 0x440c45
push 0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x644]
call fcn.00440970
cmp word [ebp - 0x628], 0
je 0x440c63
push 0
lea ecx, [ebp - 0x628]
push ecx
lea ecx, [ebp - 0x644]
call fcn.00440970
cmp word [ebp - 0x420], 0
je 0x440c81
push 1
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x644]
call fcn.00440970
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x64c]
push eax
push 0x11
push 0
call ebx
mov esi, dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
test eax, eax
js 0x440cc2
mov ecx, dword [ebp - 0x64c]
push 0
push ecx
push 0x10000
push 0x1000
call esi
mov edx, dword [ebp - 0x64c]
push edx
call edi
lea ecx, [ebp - 0x645]
call fcn.004331f0
lea eax, [ebp - 0x64c]
push eax
push 0x10
push 0
call ebx
test eax, eax
js 0x440cfc
mov ecx, dword [ebp - 0x64c]
push 0
push ecx
push 0x10000
push 0x1000
call esi
mov edx, dword [ebp - 0x64c]
push edx
call edi
lea ecx, [ebp - 0x645]
call fcn.00433280
cmp byte [ebp + 8], 0
jne 0x440d17
call dword [sym.imp.ksolite.dll_bool___cdecl_krt::product::isEnterprise_void_]
test al, al
jne 0x440d27
push 0
push 0
push 0x10000
push 0x8000000
call esi
cmp dword [ebp - 0x630], 8
jb 0x440d3f
mov eax, dword [ebp - 0x644]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
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.004b12f6
mov esp, ebp
pop ebp
ret
Function at 0x44b150
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0xc]
xor edi, edi
push edx
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call fcn.00414370
add esp, 0x10
call fcn.00414350
mov esi, eax
call fcn.00454f70
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
neg esi
sbb esi, esi
and esi, 0x20
neg eax
sbb eax, eax
and eax, 8
or esi, eax
mov eax, dword [ebp - 0xc]
neg ecx
sbb ecx, ecx
and ecx, 0x10
or esi, ecx
neg edx
sbb edx, edx
and edx, 4
or esi, edx
neg eax
sbb eax, eax
and eax, 2
xor ecx, ecx
or esi, eax
cmp dword [ebp - 0x10], edi
setne cl
or esi, ecx
je 0x44b228
push 0x2001f
push 0x4d3a38
push 0x80000001
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call fcn.00412570
test eax, eax
jne 0x44b21a
push 4
lea edx, [ebp - 0x14]
push edx
push 4
push edi
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x20]
push str.FileAssoTemp
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, edi
je 0x44b228
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x44b228
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44b690
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], ecx
call fcn.0044b230
mov dword [ebp - 4], eax
test eax, eax
je 0x44b7b6
push ebx
push esi
push edi
mov esi, eax
and esi, 1
mov edi, eax
mov ebx, eax
and edi, 2
and ebx, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], ebx
test esi, esi
je 0x44b6d3
mov dword [ebp - 8], 1
test edi, edi
jne 0x44b6da
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push 1
call fcn.004648a0
add esp, 0x18
test esi, esi
je 0x44b706
test edi, edi
je 0x44b706
test ebx, ebx
je 0x44b706
mov al, 1
jmp 0x44b708
xor al, al
cmp dword [ebp + 8], 0
mov ebx, 8
je 0x44b719
movzx ecx, al
push ecx
jmp 0x44b72c
test al, al
je 0x44b729
test byte [ebp - 4], bl
je 0x44b729
mov eax, 1
jmp 0x44b72b
xor eax, eax
push eax
call fcn.004143e0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 4
test byte [ebp - 4], 0x10
jne 0x44b760
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
cmp dword [eax + 0x14], ebx
jb 0x44b74d
mov eax, dword [eax]
push eax
push 0
push str.assopdf
push str.installinfo
call esi
test eax, eax
je 0x44b765
mov eax, 1
push 0
push eax
call fcn.00414020
add esp, 8
test byte [ebp - 4], 0x20
jne 0x44b796
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
cmp dword [eax + 0x14], ebx
jb 0x44b783
mov eax, dword [eax]
push eax
push 0
push str.assopic
push str.installinfo
call esi
test eax, eax
je 0x44b79b
mov eax, 1
push 0
push 1
push 0
push 0
push eax
call fcn.004140a0
push 1
call fcn.00440b60
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44b8b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd3d8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5603e8]
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
call fcn.0044b2c0
test eax, eax
je 0x44b916
call fcn.0044a030
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00451ba0
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], 0
test ecx, ecx
jne 0x44b920
cmp dword [ebp - 0x18], 8
jb 0x44b916
mov ecx, dword [ebp - 0x2c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 1
jmp 0x44ba3c
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov ebx, 8
mov edi, esi
cmp edx, ebx
jae 0x44b983
lea edi, [ebp - 0x2c]
mov eax, edi
lea eax, [eax + ecx*2]
mov ecx, esi
cmp edx, ebx
jae 0x44b942
lea ecx, [ebp - 0x2c]
cmp ecx, eax
je 0x44b962
mov edx, dword [sym.imp.MSVCR100.dll_towlower]
push edx
push edi
push eax
push ecx
lea eax, [ebp - 0x34]
push eax
call fcn.0044b640
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
add esp, 0x14
mov eax, esi
cmp edx, ebx
jae 0x44b96b
lea eax, [ebp - 0x2c]
push 0x4d4fb0
push eax
call dword [sym.imp.MSVCR100.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x44b987
cmp dword [ebp - 0x18], ebx
jmp 0x44b908
mov eax, esi
jmp 0x44b936
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x44b992
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44b9a2
test al, 0x10
je 0x44b9cf
push str.file_ksomisc.exe_not_exist__
push str.KChangeVersionImpl::HandleOldVersionUnreg
push 0x145
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomisckchangeversion.cpp
push 0
call fcn.00487a00
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.004a9f30
mov eax, 1
jmp 0x44ba3c
call fcn.0044b150
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x18], ebx
jae 0x44b9e6
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x30]
push edx
push str._uncompatiblemso
push eax
call fcn.0044ff30
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], ebx
jae 0x44ba03
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x30]
push ecx
push str._unassomso
push eax
call fcn.0044ff30
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], ebx
jae 0x44ba20
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x30]
push edx
push str._unregister
push eax
call fcn.0044ff30
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.004a9f30
xor eax, eax
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.004b12f6
mov esp, ebp
pop ebp
ret
Function at 0x44c010
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x4d506c]
mov eax, dword [str.0.0.0.0]
mov edx, dword [0x4d5070]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x70
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x84], eax
mov eax, dword [0x4d5074]
lea ecx, [ebp - 0x74]
push 0
push ecx
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], eax
call sub.MSVCR100.dll_memset
add esp, 0xc
test esi, esi
je 0x44c125
push ebx
mov ebx, 8
cmp dword [esi + 0x14], ebx
jb 0x44c087
mov eax, dword [esi]
jmp 0x44c089
mov eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.MajorVersion
push str.Version
call edi
mov dword [ebp - 0x88], eax
cmp dword [esi + 0x14], ebx
jb 0x44c0ad
mov eax, dword [esi]
jmp 0x44c0af
mov eax, esi
push eax
push 0
push str.FirstVersion
push str.Version
call edi
mov dword [ebp - 0x90], eax
cmp dword [esi + 0x14], ebx
jb 0x44c0cd
mov eax, dword [esi]
jmp 0x44c0cf
mov eax, esi
push eax
push 0
push str.SecondVersion
push str.Version
call edi
cmp dword [esi + 0x14], 8
mov ebx, eax
jb 0x44c0e8
mov esi, dword [esi]
push esi
push 0
push str.Version
push str.Version
call edi
mov edx, dword [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x88]
push ebx
push edx
push eax
push 0x4d4ffc
lea ecx, [ebp - 0x84]
push 0x3f
push ecx
call dword [sym.imp.MSVCR100.dll__snwprintf]
mov edi, dword [ebp - 0x8c]
add esp, 0x1c
pop ebx
xor edx, edx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
lea eax, [ebp - 0x84]
mov word [edi], dx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44c141
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x84]
push eax
mov ecx, edi
call fcn.00405660
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004b12f6
mov esp, ebp
pop ebp
ret 8

Function at 0x44c390
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
xor ecx, ecx
push 0x1fe
push ecx
lea edx, [ebp - 0x202]
push edx
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x20c], 0
mov word [ebp - 0x204], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x44c3e7
mov edi, dword [edi]
mov ecx, dword [ebp - 0x208]
push edi
push 0x100
lea eax, [ebp - 0x204]
push eax
push 0x4c79ac
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
lea eax, [ebp - 0x204]
mov word [esi], dx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44c423
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x204]
push eax
mov ecx, esi
call fcn.00405660
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b12f6
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44cbd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9c78
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5603e8]
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, dword [ebp + 8]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
push 0x2001f
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallKingsoft_Office
push 0x80000001
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.00412570
test eax, eax
jne 0x44cd19
mov ecx, dword [edi + 8]
push str.startmenudir
push str.installinfo
lea eax, [ebp - 0x2c]
push eax
call fcn.0044c390
cmp dword [eax + 0x14], 8
jb 0x44cc50
mov edi, dword [eax]
jmp 0x44cc52
mov edi, eax
mov esi, dword [ebp - 0x3c]
cmp edi, ebx
je 0x44cc75
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push edi
push 1
push ebx
push str.StartMenuDir
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 0x18], 8
jb 0x44cc87
mov edx, dword [ebp - 0x2c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x30]
push str.utilityuninst.exe
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0040ca60
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x44cca6
mov edi, dword [eax]
jmp 0x44cca8
mov edi, eax
cmp edi, ebx
je 0x44ccc8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
push edi
push 1
push ebx
push str.UninstallString
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 0x18], 8
jb 0x44ccda
mov eax, dword [ebp - 0x2c]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, dword [ebp - 0x30]
cmp dword [edi + 0x14], 8
jb 0x44cce5
mov edi, dword [edi]
cmp edi, ebx
je 0x44cd05
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push edi
push 1
push ebx
push str.LocationRoot
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, ebx
je 0x44cd13
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x3c], ebx
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x38], ebx
push 0x2001f
push 0x4d3a38
push 0x80000001
lea ecx, [ebp - 0x3c]
call fcn.00412570
test eax, eax
jne 0x44cd66
cmp dword [esi + 0x14], 8
jb 0x44cd3c
mov esi, dword [esi]
mov edi, dword [ebp - 0x3c]
cmp esi, ebx
je 0x44cd5f
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
push esi
push 1
push ebx
push str.InstallRoot
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp edi, ebx
je 0x44cd74
push edi
jmp 0x44cd6e
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
je 0x44cd74
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.004b12f6
mov esp, ebp
pop ebp
ret 4
Function at 0x44cda0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1118
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.utilitykwpslive.exe
add ecx, 0x38
push ecx
lea eax, [ebp - 0x2c]
push eax
call fcn.0040ca60
add esp, 0xc
mov eax, dword [ebp - 0x2c]
mov esi, 8
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], esi
jae 0x44cdf5
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44ce05
test al, 0x10
je 0x44ce2e
push str.file_kwplive.exe_not_exist__
push str.KChangeVersionImpl::regWpsLive
push 0x1b6
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomisckchangeversion.cpp
push 5
call fcn.00487a00
add esp, 0x14
cmp dword [ebp - 0x18], esi
jb 0x44ce9f
mov ecx, dword [ebp - 0x2c]
push ecx
jmp 0x44ce97
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x18], esi
jae 0x44ce40
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x30]
push edx
push str._RegServer
push eax
call fcn.0044ff30
add esp, 0xc
test eax, eax
jns 0x44ce8e
mov ecx, dword [ebp - 0x30]
push ecx
push eax
push str.Failed_to_execute_file:_0x_08x__existCode:_d
push str.KChangeVersionImpl::regWpsLive
push 0x1be
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomisckchangeversion.cpp
push 0
call fcn.00487a00
add esp, 0x1c
cmp dword [ebp - 0x18], esi
jb 0x44ce8a
mov edx, dword [ebp - 0x2c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x44cea1
cmp dword [ebp - 0x18], esi
jb 0x44ce9f
mov eax, dword [ebp - 0x2c]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret