Function at 0x472c04
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.0043a258
push eax
lea ecx, [ebp + 0x28]
call fcn.0040dae1
mov esi, dword [ebp + 0x78]
mov eax, str.NULL
mov ecx, esi
cmp esi, ebx
jne 0x472c3f
mov ecx, eax
cmp dword [ebp + 0x68], ebx
je 0x472c47
mov eax, dword [ebp + 0x68]
push ecx
push eax
push edi
push str.LoadKnownFileType_called_with__s___s___s_n
call fcn.00447082
add esp, 0x10
mov edx, str.http
mov ecx, edi
call fcn.004398fc
test al, al
je 0x472d84
cmp esi, ebx
je 0x472c7f
mov edx, str.torrent
mov ecx, esi
call fcn.004398fc
test al, al
jne 0x472c95
cmp byte [ebp + 0x6f], bl
je 0x472caa
mov ecx, dword [ebp + 0x30]
mov edx, 0x48e1a4
call fcn.0043989b
test al, al
je 0x472caa
push ebx
push dword [ebp + 0x68]
mov edx, edi
mov ecx, 0x472bc5
call fcn.0046fbdb
jmp 0x472faf
cmp esi, ebx
je 0x472cbe
mov edx, str.btsearch
mov ecx, esi
call fcn.00439963
test al, al
jne 0x472cd4
cmp byte [ebp + 0x6f], bl
je 0x472ce9
mov ecx, dword [ebp + 0x30]
mov edx, str..btsearch
call fcn.0043989b
test al, al
je 0x472ce9
push ebx
push dword [ebp + 0x68]
mov edx, edi
mov ecx, 0x471792
call fcn.0046fbdb
jmp 0x472fc2
cmp esi, ebx
je 0x472cfd
mov edx, str.btinstall
mov ecx, esi
call fcn.00439963
test al, al
jne 0x472d13
cmp byte [ebp + 0x6f], bl
je 0x472d3a
mov ecx, dword [ebp + 0x30]
mov edx, str..btinstall
call fcn.0043989b
test al, al
je 0x472d3a
push ebx
mov ecx, edi
call fcn.0043a258
mov edx, dword [ebp + 0x68]
mov ecx, eax
call fcn.0047a403
mov esi, eax
mov ecx, esi
call fcn.004724e4
push esi
push ebx
push 0x8016
jmp 0x472fb6
cmp esi, ebx
je 0x472d4e
mov edx, str.btapp
mov ecx, esi
call fcn.00439963
test al, al
jne 0x472d64
cmp byte [ebp + 0x6f], bl
je 0x472d78
mov ecx, dword [ebp + 0x30]
mov edx, str..btapp
call fcn.0043989b
test al, al
je 0x472d78
push ebx
mov ecx, edi
call fcn.0043a258
mov edx, dword [ebp + 0x68]
mov ecx, eax
call fcn.0047a34a
jmp 0x472d25
mov ecx, edi
call fcn.0046ab6f
jmp 0x472fc2
mov edx, 0x49d570
mov ecx, edi
call fcn.00439963
mov ecx, edi
test al, al
je 0x472da1
push ebx
call fcn.004715cb
jmp 0x472fc2
mov edx, str.magnet:
call fcn.004398fc
mov ecx, edi
test al, al
je 0x472dbf
mov edx, dword [ebp + 0x7c]
or edx, 0x200
jmp 0x472fa0
mov edx, 0x49842c
call fcn.00439963
mov ecx, edi
test al, al
je 0x472e5d
push 1
call fcn.00442552
mov ecx, eax
call fcn.0043a258
mov edx, dword [ebp + 0x68]
mov ecx, eax
call fcn.0047a34a
mov esi, eax
push edi
lea ecx, [esi + 0x48]
call fcn.00401b6f
push 0x48e143
lea ecx, [esi + 0x50]
call fcn.00410a4c
lea edx, [ebp + 0x60]
mov ecx, edi
mov dword [ebp + 0x60], ebx
mov byte [ebp + 0x64], 1
call fcn.00402f8b
cmp eax, ebx
je 0x472e23
mov edx, dword [eax + 0x50]
lea ecx, [esi + 0x18]
call fcn.00439bae
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push esi
push ebx
push 0x8016
push dword [0x4c6a34]
call edi
push esi
push ebx
push 0x801c
push dword [0x4c6a34]
call edi
cmp byte [ebp + 0x64], bl
je 0x472fc2
mov ecx, dword [ebp + 0x60]
call fcn.004433ab
jmp 0x472fc2
mov edx, 0x499e44
call fcn.00439963
test al, al
je 0x472f0c
mov ecx, dword [0x4c0910]
push 0x43
lea eax, [ebp + 0x7c]
push eax
call fcn.0044fb0f
push eax
push edi
lea ecx, [ebp - 0x50]
call fcn.00451c89
cmp byte [ebp + 0x22], bl
je 0x472ee7
push 1
mov ecx, edi
call fcn.00442552
mov ecx, eax
call fcn.0043a258
mov edx, dword [ebp + 0x68]
mov ecx, eax
call fcn.0047a403
mov esi, eax
push edi
lea ecx, [esi + 0x48]
call fcn.00401b6f
push 0x48e143
lea ecx, [esi + 0x50]
call fcn.00410a4c
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push esi
push ebx
push 0x8016
push dword [0x4c6a34]
call edi
push esi
push ebx
push 0x801c
push dword [0x4c6a34]
call edi
jmp 0x472eff
push ebx
push ebx
push edi
push dword [0x4cc2c4]
call fcn.0043b6af
pop ecx
pop ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x50]
call fcn.00451aaf
jmp 0x472fc2
cmp esi, ebx
je 0x472f20
mov edx, str.btskin
mov ecx, esi
call fcn.00439963
test al, al
jne 0x472f30
mov edx, str..btskin
mov ecx, edi
call fcn.00439963
test al, al
je 0x472f9b
mov ecx, str.current.btskin
call fcn.00442f79
test dword [ebp + 0x7c], 0x400
mov esi, eax
je 0x472f54
mov edx, str.user_set
mov ecx, 0x4c69e0
call fcn.00439bae
push 0x49ac6c
push edi
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
push esi
test eax, eax
jne 0x472f6e
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x472f83
push edi
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
je 0x472f83
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
call fcn.0047048c
call fcn.0047795f
mov cl, 1
call fcn.004761c8
call fcn.0047ed6f
jmp 0x472fc2
mov edx, dword [ebp + 0x7c]
mov ecx, edi
push ebx
push fcn.0046f90d
push ebx
push dword [ebp + 0x68]
call fcn.004726fb
push ebx
push ebx
push 0x8035
push dword [0x4c6a34]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp + 0x28]
call fcn.00406438
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8