Function at 0x43cce3
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xd04
mov eax, dword [0x4c2f90]
xor eax, ebp
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x78]
push ebx
mov dword [ebp - 0xc80], eax
mov eax, dword [ebp + 0x7c]
push esi
push edi
mov dword [ebp - 0xc94], eax
xor eax, eax
push 0x206
mov word [ebp - 0x458], ax
xor ebx, ebx
lea eax, [ebp - 0x456]
push ebx
push eax
call fcn.004764d0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x458]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x4b28f8
lea ecx, [ebp - 0xc74]
call fcn.00401903
lea eax, [ebp - 0xc90]
push eax
lea eax, [ebp - 0xc8c]
push eax
lea eax, [ebp - 0xc88]
push eax
lea eax, [ebp - 0xc84]
push eax
lea eax, [ebp - 0x458]
push eax
mov dword [ebp - 0xc84], ebx
mov dword [ebp - 0xc88], ebx
mov dword [ebp - 0xc8c], ebx
mov dword [ebp - 0xc90], ebx
call fcn.00403348
xor eax, eax
push 0x7e
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x46]
push ebx
push eax
call fcn.004764d0
push dword [ebp - 0xc8c]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push dword [ebp - 0xc88]
lea eax, [ebp - 0x48]
push dword [ebp - 0xc84]
push str._d._d._d
push eax
call esi
add esp, 0x34
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xc74]
call fcn.00401a41
lea eax, [ebp - 0xc7c]
push eax
mov dword [ebp - 0xc7c], ebx
call fcn.004029b4
mov ecx, eax
call fcn.00402beb
xor eax, eax
push 0x7fe
mov word [ebp - 0xc58], ax
lea eax, [ebp - 0xc56]
push ebx
push eax
call fcn.004764d0
add esp, 0xc
cmp dword [ebp - 0xc7c], 4
jne 0x43ce3b
push ebx
push 1
lea ecx, [ebp - 0xc74]
call fcn.00401a65
xor al, al
mov ecx, dword [ebp + 0x6c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047654a
add ebp, 0x70
leave
ret 8
cmp dword [ebp - 0xc7c], 1
mov eax, dword [ebp - 0xc70]
jne 0x43ce61
cmp dword [ebp - 0xc5c], 8
jae 0x43ce59
lea eax, [ebp - 0xc70]
push eax
push str.http:__plugin.xl7.xunlei.com_client_XLInstallPackage_155__s.cfg
jmp 0x43ce76
cmp dword [ebp - 0xc5c], 8
jae 0x43ce70
lea eax, [ebp - 0xc70]
push eax
push str.http:__plugin.xl7.xunlei.com_client_XLInstallPackage__s.cfg
lea eax, [ebp - 0xc58]
push eax
call esi
mov eax, dword [ebp - 0xc94]
add esp, 0xc
cmp dword [eax + 0x18], 8
push 0xc
pop ecx
mov esi, str.InstallBindingConfig.cfg
lea edi, [ebp + 0x38]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jb 0x43cea2
mov eax, dword [eax + 4]
jmp 0x43cea5
add eax, 4
mov esi, dword [ebp - 0xc80]
cmp dword [esi + 0x18], 8
lea edi, [esi + 4]
jb 0x43ceb8
mov ecx, dword [edi]
jmp 0x43ceba
mov ecx, edi
push eax
lea eax, [ebp + 0x38]
push eax
push ecx
call fcn.004073bf
mov ecx, eax
call fcn.004073e5
test eax, eax
je 0x43ceef
mov byte [ebp - 0xc75], bl
push ebx
push 1
lea ecx, [ebp - 0xc74]
call fcn.00401a65
mov al, byte [ebp - 0xc75]
jmp 0x43ce27
xor eax, eax
push 0x206
mov word [ebp - 0x250], ax
lea eax, [ebp - 0x24e]
push ebx
push eax
call fcn.004764d0
push 0x208
lea eax, [ebp - 0x250]
push ebx
push eax
call fcn.004764d0
add esp, 0x18
cmp dword [esi + 0x18], 8
jb 0x43cf29
mov eax, dword [edi]
jmp 0x43cf2b
mov eax, edi
lea ecx, [ebp + 0x38]
push ecx
push eax
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push str.ThunderInstall_DownloadBindingConfig_Event
push ebx
push 1
push ebx
call esi
push str.ThunderInstall_DownloadBindingItems_Event
push ebx
push 1
push ebx
call esi
push 0x5c
call fcn.00476574
mov esi, eax
pop ecx
cmp esi, ebx
je 0x43cf83
mov ecx, esi
call fcn.0043c5d8
mov dword [esi], vtable.CBindConfigFileDownloadItem.0
jmp 0x43cf85
xor esi, esi
mov eax, dword [ebp - 0xc80]
cmp dword [eax + 0x18], 8
jb 0x43cf93
mov edi, dword [edi]
sub esp, 0x1c
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.00401903
sub esp, 0x1c
mov ecx, esp
push edi
call fcn.00401903
sub esp, 0x1c
lea eax, [ebp - 0xc58]
mov ecx, esp
push eax
call fcn.00401903
mov ecx, esi
call fcn.0043c750
push esi
call fcn.00413855
mov ecx, eax
call fcn.0041387b
mov byte [ebp - 0xc75], 1
jmp 0x43ced6