Function at 0x4743ef
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.0043b312
push eax
lea ecx, [ebp + 0x28]
call fcn.0040dd33
mov esi, dword [ebp + 0x78]
mov eax, str.NULL
mov ecx, esi
cmp esi, ebx
jne 0x47442a
mov ecx, eax
cmp dword [ebp + 0x68], ebx
je 0x474432
mov eax, dword [ebp + 0x68]
push ecx
push eax
push edi
push str.LoadKnownFileType_called_with__s___s___s_n
call fcn.0043faf7
add esp, 0x10
mov edx, str.http
mov ecx, edi
call fcn.0043a9b3
test al, al
je 0x47456f
cmp esi, ebx
je 0x47446a
mov edx, str.torrent
mov ecx, esi
call fcn.0043a9b3
test al, al
jne 0x474480
cmp byte [ebp + 0x6f], bl
je 0x474495
mov ecx, dword [ebp + 0x30]
mov edx, 0x49019c
call fcn.0043a952
test al, al
je 0x474495
push ebx
push dword [ebp + 0x68]
mov edx, edi
mov ecx, 0x4743b0
call fcn.00471188
jmp 0x47479a
cmp esi, ebx
je 0x4744a9
mov edx, str.btsearch
mov ecx, esi
call fcn.0043aa1a
test al, al
jne 0x4744bf
cmp byte [ebp + 0x6f], bl
je 0x4744d4
mov ecx, dword [ebp + 0x30]
mov edx, str..btsearch
call fcn.0043a952
test al, al
je 0x4744d4
push ebx
push dword [ebp + 0x68]
mov edx, edi
mov ecx, 0x472dac
call fcn.00471188
jmp 0x4747ad
cmp esi, ebx
je 0x4744e8
mov edx, str.btinstall
mov ecx, esi
call fcn.0043aa1a
test al, al
jne 0x4744fe
cmp byte [ebp + 0x6f], bl
je 0x474525
mov ecx, dword [ebp + 0x30]
mov edx, str..btinstall
call fcn.0043a952
test al, al
je 0x474525
push ebx
mov ecx, edi
call fcn.0043b312
mov edx, dword [ebp + 0x68]
mov ecx, eax
call fcn.0047bb3f
mov esi, eax
mov ecx, esi
call fcn.00473ccf
push esi
push ebx
push 0x8016
jmp 0x4747a1
cmp esi, ebx
je 0x474539
mov edx, str.btapp
mov ecx, esi
call fcn.0043aa1a
test al, al
jne 0x47454f
cmp byte [ebp + 0x6f], bl
je 0x474563
mov ecx, dword [ebp + 0x30]
mov edx, str..btapp
call fcn.0043a952
test al, al
je 0x474563
push ebx
mov ecx, edi
call fcn.0043b312
mov edx, dword [ebp + 0x68]
mov ecx, eax
call fcn.0047ba86
jmp 0x474510
mov ecx, edi
call fcn.0046c181
jmp 0x4747ad
mov edx, 0x49f668
mov ecx, edi
call fcn.0043aa1a
mov ecx, edi
test al, al
je 0x47458c
push ebx
call fcn.00472be5
jmp 0x4747ad
mov edx, str.magnet:
call fcn.0043a9b3
mov ecx, edi
test al, al
je 0x4745aa
mov edx, dword [ebp + 0x7c]
or edx, 0x200
jmp 0x47478b
mov edx, 0x49a50c
call fcn.0043aa1a
mov ecx, edi
test al, al
je 0x474648
push 1
call fcn.004436a5
mov ecx, eax
call fcn.0043b312
mov edx, dword [ebp + 0x68]
mov ecx, eax
call fcn.0047ba86
mov esi, eax
push edi
lea ecx, [esi + 0x48]
call fcn.004019ea
push 0x49013b
lea ecx, [esi + 0x50]
call fcn.00410da6
lea edx, [ebp + 0x60]
mov ecx, edi
mov dword [ebp + 0x60], ebx
mov byte [ebp + 0x64], 1
call fcn.00402dfc
cmp eax, ebx
je 0x47460e
mov edx, dword [eax + 0x50]
lea ecx, [esi + 0x18]
call fcn.0043ac65
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push esi
push ebx
push 0x8016
push dword [0x4c9b88]
call edi
push esi
push ebx
push 0x801c
push dword [0x4c9b88]
call edi
cmp byte [ebp + 0x64], bl
je 0x4747ad
mov ecx, dword [ebp + 0x60]
call fcn.004444fe
jmp 0x4747ad
mov edx, 0x49bf08
call fcn.0043aa1a
test al, al
je 0x4746f7
mov ecx, dword [0x4c3a18]
push 0x43
lea eax, [ebp + 0x7c]
push eax
call fcn.00419789
push eax
push edi
lea ecx, [ebp - 0x50]
call fcn.00452f1a
cmp byte [ebp + 0x22], bl
je 0x4746d2
push 1
mov ecx, edi
call fcn.004436a5
mov ecx, eax
call fcn.0043b312
mov edx, dword [ebp + 0x68]
mov ecx, eax
call fcn.0047bb3f
mov esi, eax
push edi
lea ecx, [esi + 0x48]
call fcn.004019ea
push 0x49013b
lea ecx, [esi + 0x50]
call fcn.00410da6
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push esi
push ebx
push 0x8016
push dword [0x4c9b88]
call edi
push esi
push ebx
push 0x801c
push dword [0x4c9b88]
call edi
jmp 0x4746ea
push ebx
push ebx
push edi
push dword [0x4cf8f8]
call fcn.0043c769
pop ecx
pop ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x50]
call fcn.00452d40
jmp 0x4747ad
cmp esi, ebx
je 0x47470b
mov edx, str.btskin
mov ecx, esi
call fcn.0043aa1a
test al, al
jne 0x47471b
mov edx, str..btskin
mov ecx, edi
call fcn.0043aa1a
test al, al
je 0x474786
mov ecx, str.current.btskin
call fcn.004440cc
test dword [ebp + 0x7c], 0x400
mov esi, eax
je 0x47473f
mov edx, str.user_set
mov ecx, 0x4c9b28
call fcn.0043ac65
push 0x49cd4c
push edi
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
push esi
test eax, eax
jne 0x474759
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x47476e
push edi
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
je 0x47476e
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
call fcn.00471a85
call fcn.00478fa1
mov cl, 1
call fcn.004777cf
call fcn.004809a0
jmp 0x4747ad
mov edx, dword [ebp + 0x7c]
mov ecx, edi
push ebx
push fcn.00470eba
push ebx
push dword [ebp + 0x68]
call fcn.00473ee6
push ebx
push ebx
push 0x8035
push dword [0x4c9b88]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp + 0x28]
call fcn.004064fe
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8