Function at 0x47434c
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xc0
push ebx
push esi
push edi
lea eax, [ebp + 0x6f]
xor ebx, ebx
push eax
push ebx
mov dword [ebp + 0x68], edx
mov edi, ecx
mov byte [ebp + 0x6f], bl
call fcn.0043b2f1
push eax
lea ecx, [ebp + 0x28]
call fcn.0040dcd8
mov esi, dword [ebp + 0x78]
mov eax, str.NULL
mov ecx, esi
cmp esi, ebx
jne 0x474387
mov ecx, eax
cmp dword [ebp + 0x68], ebx
je 0x47438f
mov eax, dword [ebp + 0x68]
push ecx
push eax
push edi
push str.LoadKnownFileType_called_with__s___s___s_n
call fcn.00458e5e
add esp, 0x10
mov edx, str.http
mov ecx, edi
call fcn.0043a992
test al, al
je 0x4744cc
cmp esi, ebx
je 0x4743c7
mov edx, str.torrent
mov ecx, esi
call fcn.0043a992
test al, al
jne 0x4743dd
cmp byte [ebp + 0x6f], bl
je 0x4743f2
mov ecx, dword [ebp + 0x30]
mov edx, 0x49019c
call fcn.0043a931
test al, al
je 0x4743f2
push ebx
push dword [ebp + 0x68]
mov edx, edi
mov ecx, 0x47430d
call fcn.004710e6
jmp 0x4746f7
cmp esi, ebx
je 0x474406
mov edx, str.btsearch
mov ecx, esi
call fcn.0043a9f9
test al, al
jne 0x47441c
cmp byte [ebp + 0x6f], bl
je 0x474431
mov ecx, dword [ebp + 0x30]
mov edx, str..btsearch
call fcn.0043a931
test al, al
je 0x474431
push ebx
push dword [ebp + 0x68]
mov edx, edi
mov ecx, 0x472d0a
call fcn.004710e6
jmp 0x47470a
cmp esi, ebx
je 0x474445
mov edx, str.btinstall
mov ecx, esi
call fcn.0043a9f9
test al, al
jne 0x47445b
cmp byte [ebp + 0x6f], bl
je 0x474482
mov ecx, dword [ebp + 0x30]
mov edx, str..btinstall
call fcn.0043a931
test al, al
je 0x474482
push ebx
mov ecx, edi
call fcn.0043b2f1
mov edx, dword [ebp + 0x68]
mov ecx, eax
call fcn.0047ba1d
mov esi, eax
mov ecx, esi
call fcn.00473c2c
push esi
push ebx
push 0x8016
jmp 0x4746fe
cmp esi, ebx
je 0x474496
mov edx, str.btapp
mov ecx, esi
call fcn.0043a9f9
test al, al
jne 0x4744ac
cmp byte [ebp + 0x6f], bl
je 0x4744c0
mov ecx, dword [ebp + 0x30]
mov edx, str..btapp
call fcn.0043a931
test al, al
je 0x4744c0
push ebx
mov ecx, edi
call fcn.0043b2f1
mov edx, dword [ebp + 0x68]
mov ecx, eax
call fcn.0047b964
jmp 0x47446d
mov ecx, edi
call fcn.0046c112
jmp 0x47470a
mov edx, 0x49f670
mov ecx, edi
call fcn.0043a9f9
mov ecx, edi
test al, al
je 0x4744e9
push ebx
call fcn.00472b43
jmp 0x47470a
mov edx, str.magnet:
call fcn.0043a992
mov ecx, edi
test al, al
je 0x474507
mov edx, dword [ebp + 0x7c]
or edx, 0x200
jmp 0x4746e8
mov edx, 0x49a534
call fcn.0043a9f9
mov ecx, edi
test al, al
je 0x4745a5
push 1
call fcn.00443673
mov ecx, eax
call fcn.0043b2f1
mov edx, dword [ebp + 0x68]
mov ecx, eax
call fcn.0047b964
mov esi, eax
push edi
lea ecx, [esi + 0x48]
call fcn.004019c6
push 0x49013b
lea ecx, [esi + 0x50]
call fcn.00410d4d
lea edx, [ebp + 0x60]
mov ecx, edi
mov dword [ebp + 0x60], ebx
mov byte [ebp + 0x64], 1
call fcn.00402da2
cmp eax, ebx
je 0x47456b
mov edx, dword [eax + 0x50]
lea ecx, [esi + 0x18]
call fcn.0043ac44
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push esi
push ebx
push 0x8016
push dword [0x4c9ba8]
call edi
push esi
push ebx
push 0x801c
push dword [0x4c9ba8]
call edi
cmp byte [ebp + 0x64], bl
je 0x47470a
mov ecx, dword [ebp + 0x60]
call fcn.004444cc
jmp 0x47470a
mov edx, 0x49bf10
call fcn.0043a9f9
test al, al
je 0x474654
mov ecx, dword [0x4c3a38]
push 0x43
lea eax, [ebp + 0x7c]
push eax
call fcn.00419735
push eax
push edi
lea ecx, [ebp - 0x50]
call fcn.00452f3a
cmp byte [ebp + 0x22], bl
je 0x47462f
push 1
mov ecx, edi
call fcn.00443673
mov ecx, eax
call fcn.0043b2f1
mov edx, dword [ebp + 0x68]
mov ecx, eax
call fcn.0047ba1d
mov esi, eax
push edi
lea ecx, [esi + 0x48]
call fcn.004019c6
push 0x49013b
lea ecx, [esi + 0x50]
call fcn.00410d4d
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push esi
push ebx
push 0x8016
push dword [0x4c9ba8]
call edi
push esi
push ebx
push 0x801c
push dword [0x4c9ba8]
call edi
jmp 0x474647
push ebx
push ebx
push edi
push dword [0x4cf914]
call fcn.0043c748
pop ecx
pop ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x50]
call fcn.00452d60
jmp 0x47470a
cmp esi, ebx
je 0x474668
mov edx, str.btskin
mov ecx, esi
call fcn.0043a9f9
test al, al
jne 0x474678
mov edx, str..btskin
mov ecx, edi
call fcn.0043a9f9
test al, al
je 0x4746e3
mov ecx, str.current.btskin
call fcn.0044409a
test dword [ebp + 0x7c], 0x400
mov esi, eax
je 0x47469c
mov edx, str.user_set
mov ecx, 0x4c9b48
call fcn.0043ac44
push 0x49cd54
push edi
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
push esi
test eax, eax
jne 0x4746b6
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x4746cb
push edi
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
je 0x4746cb
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
call fcn.004719e3
call fcn.00478e7f
mov cl, 1
call fcn.004776e1
call fcn.0048087e
jmp 0x47470a
mov edx, dword [ebp + 0x7c]
mov ecx, edi
push ebx
push fcn.00470e18
push ebx
push dword [ebp + 0x68]
call fcn.00473e43
push ebx
push ebx
push 0x8035
push dword [0x4c9ba8]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp + 0x28]
call fcn.004064a4
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8