Function at 0x43bbf0
Capabilities:
Check if file exists
Delete registry key
Get common file path
Link many functions at runtime
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a7dc
mov eax, dword fs:[0]
push eax
mov eax, 0x1b48
call fcn.00469990
mov eax, dword [0x5cb464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x1b34], eax
lea eax, [ebp - 0x318]
push 0
push eax
call fcn.004cc090
add esp, 0xc
lea eax, [ebp - 0x318]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x5866b0
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.0041bec0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp dword [esi], 0
jne 0x43bcdf
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x43bcdf
push str.HttpInit
push eax
call edi
push str.HttpUninit
push dword [esi]
mov dword [esi + 4], eax
call edi
push str.zlib_uncompress
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.zlib_compress
push dword [esi]
mov dword [esi + 0x10], eax
call edi
push str.zlib_compressBound
push dword [esi]
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x43bcdf
call eax
mov dword [esi + 0xc], eax
mov esi, dword [ebp - 0x1b34]
mov dword [ebp - method.mf_bind_t_class_CUninstaller__class_CUninstaller___void_.virtual_0], vtable.mf_bind_t_class_CUninstaller__class_CUninstaller___void_.0
mov dword [ebp - 0x1b50], 0x43b200
mov dword [ebp - 0x1b4c], esi
lea eax, [ebp - 0x1b54]
mov dword [ebp - 4], 0
push eax
call fcn.0043c9c0
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
push 1
call fcn.0043b0e0
push 0x586770
call fcn.00435810
lea eax, [esi + 8]
add esp, 4
mov dword [ebp - 0x1b48], eax
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0042fa50
mov ecx, eax
call fcn.0042fa30
mov ecx, eax
call fcn.00436b80
mov eax, dword [esi + 8]
push dword [eax - 0xc]
push eax
call fcn.0042fa50
mov ecx, eax
call fcn.0042fa30
mov ecx, eax
call fcn.00437390
push dword [esi + 8]
call fcn.00430530
add esp, 4
mov ecx, esi
push 4
call fcn.0043b0e0
push str.start_close_all_processes
call fcn.00435810
add esp, 4
lea eax, [esi + 8]
push eax
call fcn.0042fa50
mov ecx, eax
call fcn.0042fa30
push eax
call fcn.00441420
add esp, 8
mov ecx, esi
push 5
call fcn.0043b0e0
cmp dword [0x5ca0b8], 0
je 0x43be79
push 0x58110c
mov dword [ebp - 0x1b40], 0
mov dword [ebp - 0x1b30], 0
mov dword [ebp - 0x1b38], 0
mov dword [ebp - 0x1b3c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x1b44], eax
test eax, eax
je 0x43be6f
push str.RtlGetNtVersionNumbers
push eax
call edi
test eax, eax
je 0x43be35
lea ecx, [ebp - 0x1b38]
push ecx
lea ecx, [ebp - 0x1b30]
push ecx
lea ecx, [ebp - 0x1b40]
push ecx
call eax
movzx eax, word [ebp - 0x1b38]
mov dword [ebp - 0x1b38], eax
mov dword [ebp - 0x1b3c], 1
push dword [ebp - 0x1b44]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x1b3c], 0
je 0x43be6f
mov eax, dword [ebp - 0x1b40]
cmp eax, 6
jne 0x43be60
cmp dword [ebp - 0x1b30], 4
je 0x43be65
jmp 0x43be6f
cmp eax, 0xa
jb 0x43be6f
mov dword [0x5d0a30], 1
mov dword [0x5ca0b8], 0
cmp dword [0x5d0a30], 0
jne 0x43be87
call fcn.00433200
push str.PCjiamiSvc
call fcn.00496df0
push str.PCjiamiSvc
call fcn.004967a0
push str.remove_desktop_shortcuts
call fcn.00435810
add esp, 0xc
mov ecx, esi
call fcn.0043b790
push 6
mov ecx, esi
call fcn.0043b0e0
push str.remove_start_menu_shortcuts
call fcn.00435810
push 0x800
lea eax, [ebp - 0x1b28]
push 0
push eax
call fcn.004cc090
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x1b28]
add esp, 0x10
push 1
push 0x17
push eax
push 0
call edi
push 0x800
lea eax, [ebp - 0x1318]
push 0
push eax
call fcn.004cc090
add esp, 0xc
lea eax, [ebp - 0x1b28]
push str.PCjiami
push eax
lea eax, [ebp - 0x1318]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x1318]
push eax
call fcn.0043e9a0
push str.remove_appdata
call fcn.00435810
push 0x800
lea eax, [ebp - 0x1b28]
push 0
push eax
call fcn.004cc090
add esp, 0x14
lea eax, [ebp - 0x1b28]
push 1
push 0x1a
push eax
push 0
call edi
push str.PCjiami
lea eax, [ebp - 0x1b28]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x1b28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43bf8a
lea eax, [ebp - 0x1b28]
push eax
call fcn.0043e9a0
add esp, 4
push 1
push 0x1c
lea eax, [ebp - 0x1b28]
push eax
push 0
call edi
push str.PCjiami
lea eax, [ebp - 0x1b28]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x1b28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43bfcc
lea eax, [ebp - 0x1b28]
push eax
call fcn.0043e9a0
add esp, 4
push 7
mov ecx, esi
call fcn.0043b0e0
push dword [esi + 8]
lea edi, [esi + 8]
call fcn.00442b40
push str.remove_file_by_registry
call fcn.00435810
add esi, 0xc
push esi
push str.SOFTWAREPCjiami_file_list
push dword [edi]
call fcn.00430f60
push esi
push str.SOFTWAREPCjiami_file_pe
push dword [edi]
call fcn.00430f60
push str.remove_registry
call fcn.00435810
mov edi, dword [ebp - 0x1b34]
add esp, 0x24
mov ecx, edi
call fcn.0043b880
push 8
mov ecx, edi
call fcn.0043b0e0
push str.remove_autorun
call fcn.00435810
add esp, 4
lea ecx, [ebp - 0x1b29]
call fcn.00441ff0
push dword [edi + 8]
lea ecx, [ebp - 0x1b29]
mov dword [ebp - 4], 1
call fcn.004421e0
push str.Delete_AutoRun
call fcn.00435810
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b29]
call fcn.00442000
push 9
mov ecx, edi
call fcn.0043b0e0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallPCjiami
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push str.Delete_uninstall_registry
call fcn.00435810
push dword [edi + 8]
push str.start_delete_all_files_in__s
call fcn.00435810
add esp, 0xc
mov ecx, edi
push dword [edi + 8]
call fcn.0043b2c0
push dword [edi + 8]
push str.end_delete_all_files_in__s
call fcn.00435810
push str..tmp
push dword [edi + 8]
call fcn.0043e640
add esp, 0x10
mov ecx, edi
push 0x62
call fcn.0043b0e0
push str.start_create_runonce_bat
call fcn.00435810
push dword [edi + 8]
push esi
call fcn.00432a20
add esp, 0xc
push dword [edi + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43c31b
call fcn.0041c100
mov ecx, eax
test ecx, ecx
je 0x43c373
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x1b30], esi
push 0x800
lea eax, [ebp - 0x1318]
mov dword [ebp - 4], 2
push 0
push eax
call fcn.004cc090
push 0x800
lea eax, [ebp - 0xb18]
push 0
push eax
call fcn.004cc090
add esp, 0x18
lea eax, [ebp - 0x1318]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xfe
lea eax, [ebp - 0x10e]
push 0
push eax
call fcn.004cc090
add esp, 0xc
xor edi, edi
nop dword [eax]
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x110], ax
lea eax, [ebp - 0x1328]
push eax
movups xmmword [ebp - 0x1328], xmm0
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x200
lea eax, [ebp - 0x1528]
push 0
push eax
call fcn.004cc090
movzx eax, byte [ebp - 0x1319]
push eax
movzx eax, byte [ebp - 0x131a]
push eax
movzx eax, byte [ebp - 0x131b]
push eax
movzx eax, byte [ebp - 0x131c]
push eax
movzx eax, byte [ebp - 0x131d]
push eax
movzx eax, byte [ebp - 0x131e]
push eax
movzx eax, byte [ebp - 0x131f]
push eax
movzx eax, byte [ebp - 0x1320]
push eax
movzx eax, word [ebp - 0x1322]
push eax
movzx eax, word [ebp - 0x1324]
push eax
push dword [ebp - 0x1328]
lea eax, [ebp - 0x1528]
push str._08X__04X__04x__02X_02X__02X_02X_02X_02X_02X_02X
push eax
call fcn.0043a970
lea eax, [ebp - 0x1528]
add esp, 0x40
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43c226
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x1528]
push eax
lea eax, [ebp - 0x110]
push 0x80
push eax
call fcn.004f4c83
add esp, 0x10
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x1318]
push eax
lea eax, [ebp - 0xb18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str..tmp
lea eax, [ebp - 0xb18]
push 0x400
push eax
call fcn.004f9e2d
add esp, 0xc
lea eax, [ebp - 0xb18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43c2a2
inc edi
cmp edi, 0xa
jl 0x43c180
jmp 0x43c2d8
lea ecx, [ebp - 0xb18]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c2b0
sub ecx, edx
lea eax, [ebp - 0xb18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1b30]
call fcn.0040fb90
mov esi, dword [ebp - 0x1b30]
mov eax, dword [ebp - 0x1b48]
push 6
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push str.remove_directory
call fcn.00435810
add esp, 4
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43c315
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x1b34]
push 0x64
mov ecx, edi
call fcn.0043b0e0
mov dword [ebp - method.mf_bind_t_class_CUninstaller__class_CUninstaller___void_.virtual_0], vtable.mf_bind_t_class_CUninstaller__class_CUninstaller___void_.0
mov dword [ebp - 0x1320], 0x43b1d0
mov dword [ebp - 0x131c], edi
lea eax, [ebp - 0x1324]
mov dword [ebp - 4], 3
push eax
call fcn.0043c9c0
add esp, 4
xor eax, eax
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.0046997a
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00408fa0
int3