Function at 0x4741e8
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.0043b2d0
push eax
lea ecx, [ebp + 0x28]
call fcn.0040dcf4
mov esi, dword [ebp + 0x78]
mov eax, str.NULL
mov ecx, esi
cmp esi, ebx
jne 0x474223
mov ecx, eax
cmp dword [ebp + 0x68], ebx
je 0x47422b
mov eax, dword [ebp + 0x68]
push ecx
push eax
push edi
push str.LoadKnownFileType_called_with__s___s___s_n
call fcn.0043fb2d
add esp, 0x10
mov edx, str.http
mov ecx, edi
call fcn.0043a971
test al, al
je 0x474368
cmp esi, ebx
je 0x474263
mov edx, str.torrent
mov ecx, esi
call fcn.0043a971
test al, al
jne 0x474279
cmp byte [ebp + 0x6f], bl
je 0x47428e
mov ecx, dword [ebp + 0x30]
mov edx, 0x48f19c
call fcn.0043a910
test al, al
je 0x47428e
push ebx
push dword [ebp + 0x68]
mov edx, edi
mov ecx, 0x4741a9
call fcn.00470f63
jmp 0x474593
cmp esi, ebx
je 0x4742a2
mov edx, str.btsearch
mov ecx, esi
call fcn.0043a9d8
test al, al
jne 0x4742b8
cmp byte [ebp + 0x6f], bl
je 0x4742cd
mov ecx, dword [ebp + 0x30]
mov edx, str..btsearch
call fcn.0043a910
test al, al
je 0x4742cd
push ebx
push dword [ebp + 0x68]
mov edx, edi
mov ecx, 0x472ba6
call fcn.00470f63
jmp 0x4745a6
cmp esi, ebx
je 0x4742e1
mov edx, str.btinstall
mov ecx, esi
call fcn.0043a9d8
test al, al
jne 0x4742f7
cmp byte [ebp + 0x6f], bl
je 0x47431e
mov ecx, dword [ebp + 0x30]
mov edx, str..btinstall
call fcn.0043a910
test al, al
je 0x47431e
push ebx
mov ecx, edi
call fcn.0043b2d0
mov edx, dword [ebp + 0x68]
mov ecx, eax
call fcn.0047b906
mov esi, eax
mov ecx, esi
call fcn.00473ac8
push esi
push ebx
push 0x8016
jmp 0x47459a
cmp esi, ebx
je 0x474332
mov edx, str.btapp
mov ecx, esi
call fcn.0043a9d8
test al, al
jne 0x474348
cmp byte [ebp + 0x6f], bl
je 0x47435c
mov ecx, dword [ebp + 0x30]
mov edx, str..btapp
call fcn.0043a910
test al, al
je 0x47435c
push ebx
mov ecx, edi
call fcn.0043b2d0
mov edx, dword [ebp + 0x68]
mov ecx, eax
call fcn.0047b84d
jmp 0x474309
mov ecx, edi
call fcn.0046bf3d
jmp 0x4745a6
mov edx, 0x49e668
mov ecx, edi
call fcn.0043a9d8
mov ecx, edi
test al, al
je 0x474385
push ebx
call fcn.004729df
jmp 0x4745a6
mov edx, str.magnet:
call fcn.0043a971
mov ecx, edi
test al, al
je 0x4743a3
mov edx, dword [ebp + 0x7c]
or edx, 0x200
jmp 0x474584
mov edx, 0x49950c
call fcn.0043a9d8
mov ecx, edi
test al, al
je 0x474441
push 1
call fcn.004436c8
mov ecx, eax
call fcn.0043b2d0
mov edx, dword [ebp + 0x68]
mov ecx, eax
call fcn.0047b84d
mov esi, eax
push edi
lea ecx, [esi + 0x48]
call fcn.004019c6
push 0x48f13b
lea ecx, [esi + 0x50]
call fcn.00410d67
lea edx, [ebp + 0x60]
mov ecx, edi
mov dword [ebp + 0x60], ebx
mov byte [ebp + 0x64], 1
call fcn.00402da2
cmp eax, ebx
je 0x474407
mov edx, dword [eax + 0x50]
lea ecx, [esi + 0x18]
call fcn.0043ac23
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push esi
push ebx
push 0x8016
push dword [0x4c8b68]
call edi
push esi
push ebx
push 0x801c
push dword [0x4c8b68]
call edi
cmp byte [ebp + 0x64], bl
je 0x4745a6
mov ecx, dword [ebp + 0x60]
call fcn.00444521
jmp 0x4745a6
mov edx, 0x49af08
call fcn.0043a9d8
test al, al
je 0x4744f0
mov ecx, dword [0x4c2a18]
push 0x43
lea eax, [ebp + 0x7c]
push eax
call fcn.00450da4
push eax
push edi
lea ecx, [ebp - 0x50]
call fcn.00452f27
cmp byte [ebp + 0x22], bl
je 0x4744cb
push 1
mov ecx, edi
call fcn.004436c8
mov ecx, eax
call fcn.0043b2d0
mov edx, dword [ebp + 0x68]
mov ecx, eax
call fcn.0047b906
mov esi, eax
push edi
lea ecx, [esi + 0x48]
call fcn.004019c6
push 0x48f13b
lea ecx, [esi + 0x50]
call fcn.00410d67
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push esi
push ebx
push 0x8016
push dword [0x4c8b68]
call edi
push esi
push ebx
push 0x801c
push dword [0x4c8b68]
call edi
jmp 0x4744e3
push ebx
push ebx
push edi
push dword [0x4ce8d8]
call fcn.0043c727
pop ecx
pop ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x50]
call fcn.00452d4d
jmp 0x4745a6
cmp esi, ebx
je 0x474504
mov edx, str.btskin
mov ecx, esi
call fcn.0043a9d8
test al, al
jne 0x474514
mov edx, str..btskin
mov ecx, edi
call fcn.0043a9d8
test al, al
je 0x47457f
mov ecx, str.current.btskin
call fcn.004440ef
test dword [ebp + 0x7c], 0x400
mov esi, eax
je 0x474538
mov edx, str.user_set
mov ecx, 0x4c8b08
call fcn.0043ac23
push 0x49bd4c
push edi
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
push esi
test eax, eax
jne 0x474552
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x474567
push edi
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
je 0x474567
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
call fcn.00471860
call fcn.00478d68
mov cl, 1
call fcn.004775ca
call fcn.0048076a
jmp 0x4745a6
mov edx, dword [ebp + 0x7c]
mov ecx, edi
push ebx
push fcn.00470c95
push ebx
push dword [ebp + 0x68]
call fcn.00473cdf
push ebx
push ebx
push 0x8035
push dword [0x4c8b68]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp + 0x28]
call fcn.00406485
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8