Function at 0x43a810
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 0x56508c
mov eax, dword fs:[0]
push eax
mov eax, 0x1b48
call fcn.0045fbe0
mov eax, dword [0x5c3484]
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.004c14d0
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 0x5806d0
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.0041a9c0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp dword [esi], 0
jne 0x43a8ff
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x43a8ff
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 0x43a8ff
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], 0x439e60
mov dword [ebp - 0x1b4c], esi
lea eax, [ebp - 0x1b54]
mov dword [ebp - 4], 0
push eax
call fcn.0043b5e0
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
push 1
call fcn.00439d40
push str.start_call_program
call fcn.00434480
lea eax, [esi + 8]
add esp, 4
mov dword [ebp - 0x1b48], eax
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0042e1a0
mov ecx, eax
call fcn.0042e180
mov ecx, eax
call fcn.004357f0
mov eax, dword [esi + 8]
push dword [eax - 0xc]
push eax
call fcn.0042e1a0
mov ecx, eax
call fcn.0042e180
mov ecx, eax
call fcn.00436000
push dword [esi + 8]
call fcn.0042ef10
add esp, 4
mov ecx, esi
push 4
call fcn.00439d40
push str.start_close_all_processes
call fcn.00434480
add esp, 4
lea eax, [esi + 8]
push eax
call fcn.0042e1a0
mov ecx, eax
call fcn.0042e180
push eax
call fcn.00440040
add esp, 8
mov ecx, esi
push 5
call fcn.00439d40
cmp dword [0x5c3128], 0
je 0x43aa99
push 0x57b10c
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 0x43aa8f
push str.RtlGetNtVersionNumbers
push eax
call edi
test eax, eax
je 0x43aa55
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 0x43aa8f
mov eax, dword [ebp - 0x1b40]
cmp eax, 6
jne 0x43aa80
cmp dword [ebp - 0x1b30], 4
je 0x43aa85
jmp 0x43aa8f
cmp eax, 0xa
jb 0x43aa8f
mov dword [0x5c9b28], 1
mov dword [0x5c3128], 0
cmp dword [0x5c9b28], 0
jne 0x43aaa7
call fcn.00431bd0
push str.PCjiamiSvc
call fcn.0048db90
push str.PCjiamiSvc
call fcn.0048d540
push str.remove_desktop_shortcuts
call fcn.00434480
add esp, 0xc
mov ecx, esi
call fcn.0043a3f0
push 6
mov ecx, esi
call fcn.00439d40
push str.remove_start_menu_shortcuts
call fcn.00434480
push 0x800
lea eax, [ebp - 0x1b28]
push 0
push eax
call fcn.004c14d0
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.004c14d0
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.0043d5c0
push str.remove_appdata
call fcn.00434480
push 0x800
lea eax, [ebp - 0x1b28]
push 0
push eax
call fcn.004c14d0
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 0x43abaa
lea eax, [ebp - 0x1b28]
push eax
call fcn.0043d5c0
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 0x43abec
lea eax, [ebp - 0x1b28]
push eax
call fcn.0043d5c0
add esp, 4
push 7
mov ecx, esi
call fcn.00439d40
push dword [esi + 8]
lea edi, [esi + 8]
call fcn.00441750
push str.remove_file_by_registry
call fcn.00434480
add esi, 0xc
push esi
push str.SOFTWAREPCjiami_file_list
push dword [edi]
call fcn.0042f930
push esi
push str.SOFTWAREPCjiami_file_pe
push dword [edi]
call fcn.0042f930
push str.remove_registry
call fcn.00434480
mov edi, dword [ebp - 0x1b34]
add esp, 0x24
mov ecx, edi
call fcn.0043a4e0
push 8
mov ecx, edi
call fcn.00439d40
push str.remove_autorun
call fcn.00434480
add esp, 4
lea ecx, [ebp - 0x1b29]
call fcn.00440c10
push dword [edi + 8]
lea ecx, [ebp - 0x1b29]
mov dword [ebp - 4], 1
call fcn.00440e00
push str.Delete_AutoRun
call fcn.00434480
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b29]
call fcn.00440c20
push 9
mov ecx, edi
call fcn.00439d40
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallPCjiami
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push str.Delete_uninstall_registry
call fcn.00434480
push dword [edi + 8]
push str.start_delete_all_files_in__s
call fcn.00434480
add esp, 0xc
mov ecx, edi
push dword [edi + 8]
call fcn.00439f20
push dword [edi + 8]
push str.end_delete_all_files_in__s
call fcn.00434480
push str..tmp
push dword [edi + 8]
call fcn.0043d260
add esp, 0x10
mov ecx, edi
push 0x62
call fcn.00439d40
push str.start_create_runonce_bat
call fcn.00434480
push dword [edi + 8]
push esi
call fcn.004313f0
add esp, 0xc
push dword [edi + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43af3b
call fcn.0041acd0
mov ecx, eax
test ecx, ecx
je 0x43af93
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.004c14d0
push 0x800
lea eax, [ebp - 0xb18]
push 0
push eax
call fcn.004c14d0
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.004c14d0
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.004c14d0
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.004395e0
lea eax, [ebp - 0x1528]
add esp, 0x40
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43ae46
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x1528]
push eax
lea eax, [ebp - 0x110]
push 0x80
push eax
call fcn.004ea0d3
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.004ef27d
add esp, 0xc
lea eax, [ebp - 0xb18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43aec2
inc edi
cmp edi, 0xa
jl 0x43ada0
jmp 0x43aef8
lea ecx, [ebp - 0xb18]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43aed0
sub ecx, edx
lea eax, [ebp - 0xb18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1b30]
call fcn.0040ec60
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.00434480
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 0x43af35
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.00439d40
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], 0x439e30
mov dword [ebp - 0x131c], edi
lea eax, [ebp - 0x1324]
mov dword [ebp - 4], 3
push eax
call fcn.0043b5e0
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.0045fbca
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00408070
int3