Function at 0x5773ee
Capabilities:
Copy file
Delete file

Disassembly:
mov eax, 0x679e3a
call fcn.006313fc
sub esp, 0x164
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
sub esp, 0x18
mov byte [ebp - 0x11], bl
mov eax, esp
mov dword [ebp - 0x30], esp
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ebx
mov byte [eax], bl
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x48]
push esi
push eax
mov dword [ebp - 4], ebx
call fcn.0047a0e4
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 1
jb 0x577439
mov eax, dword [eax]
lea ecx, [ebp - 0x11]
mov byte [ebp - 4], 2
push ecx
push ebx
push eax
lea ecx, [ebp - 0x170]
call fcn.00441162
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.0040a0e9
mov edi, dword [ebp + 0x10]
mov eax, str.NULL
mov ecx, edi
test edi, edi
jne 0x57746d
mov ecx, eax
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x577476
mov eax, ebx
push ecx
push eax
push esi
push str.LoadKnownFileType_called_with__s___s___s_n
call fcn.00409edb
add esp, 0x10
push 0x6922c0
push esi
call fcn.0047a370
test al, al
je 0x5776d2
test edi, edi
je 0x5774ac
push 0x69bf08
push edi
call fcn.0047a370
test al, al
jne 0x5774d6
cmp byte [ebp - 0x11], 0
je 0x5774f9
cmp dword [ebp - 0x12c], 0x10
mov eax, dword [ebp - 0x140]
jae 0x5774c7
lea eax, [ebp - 0x140]
push 0x69e894
push eax
call fcn.00479df5
test al, al
je 0x5774f9
push dword [ebp + 0x14]
push 0xa0
push 4
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push ebx
push esi
push 0
push 0x573eab
call fcn.00577295
jmp 0x5778a2
test edi, edi
je 0x57750c
push str.btsearch
push edi
call fcn.0047a3ed
test al, al
jne 0x577536
cmp byte [ebp - 0x11], 0
je 0x57754f
cmp dword [ebp - 0x12c], 0x10
mov eax, dword [ebp - 0x140]
jae 0x577527
lea eax, [ebp - 0x140]
push str..btsearch
push eax
call fcn.00479df5
test al, al
je 0x57754f
push 0
push 0xa0
push 4
push 0
push dword [ebp + 0x20]
push ebx
push esi
push 0
push 0x573e6c
jmp 0x5775a3
test edi, edi
je 0x577562
push str.btkey
push edi
call fcn.0047a3ed
test al, al
jne 0x57758c
cmp byte [ebp - 0x11], 0
je 0x5775ad
cmp dword [ebp - 0x12c], 0x10
mov eax, dword [ebp - 0x140]
jae 0x57757d
lea eax, [ebp - 0x140]
push str..btkey
push eax
call fcn.00479df5
test al, al
je 0x5775ad
push 0
push 0xa0
push 4
push 0
push dword [ebp + 0x20]
push ebx
push esi
push 0
push 0x573d8c
call fcn.00577295
jmp 0x5778b7
test edi, edi
je 0x5775c0
push 0x6d6078
push edi
call fcn.0047a3ed
test al, al
jne 0x5775ee
cmp byte [ebp - 0x11], 0
je 0x577665
cmp dword [ebp - 0x12c], 0x10
mov eax, dword [ebp - 0x140]
jae 0x5775df
lea eax, [ebp - 0x140]
push str..btinstall
push eax
call fcn.00479df5
test al, al
je 0x577665
push 0x38
call fcn.00630af1
pop ecx
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x577614
push edi
push esi
push dword [ebp + 0x1c]
mov ecx, eax
push dword [ebp + 0x18]
call fcn.00573363
mov edi, eax
jmp 0x577616
xor edi, edi
push esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
call fcn.0047a0e4
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 6
jb 0x577630
mov eax, dword [eax]
push 0x574381
push edi
xor edi, edi
push edi
push ebx
push eax
push edi
call fcn.005a8043
push edi
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
mov esi, eax
call fcn.0040a0e9
mov ecx, esi
call fcn.0057426f
push esi
push edi
push 0x801d
jmp 0x5778ab
test edi, edi
je 0x577678
push 0x69a5d8
push edi
call fcn.0047a3ed
test al, al
jne 0x5776a2
cmp byte [ebp - 0x11], 0
je 0x5776b0
cmp dword [ebp - 0x12c], 0x10
mov eax, dword [ebp - 0x140]
jae 0x577693
lea eax, [ebp - 0x140]
push str..btapp
push eax
call fcn.00479df5
test al, al
je 0x5776b0
push 0
push 0
push 0x8023
jmp 0x5778ab
mov eax, dword [ebp + 0x14]
shr eax, 2
and al, 1
movzx eax, al
push eax
sub esp, 0x18
mov eax, esp
push esi
push eax
call fcn.004243aa
call fcn.005ce0e2
jmp 0x5778b7
push 0x68a39c
push esi
call fcn.0047a3ed
test al, al
je 0x5776ee
push 0
push esi
call fcn.00573fd8
jmp 0x5778b7
push 0x68a438
push esi
call fcn.0047a3ed
test al, al
je 0x57773a
push 0
lea eax, [ebp + 0x14]
push eax
push esi
call fcn.00460a7d
push dword [ebp + 0x14]
mov esi, eax
mov byte [ebp - 4], 7
push esi
mov dword [ebp + 0x20], esi
call fcn.00596af0
jmp 0x577726
push 1
push esi
mov dword [ebp - 4], 4
call fcn.0045d916
jmp 0x5778b7
push str.magnet:
push esi
call fcn.0047a370
test al, al
je 0x577768
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push fcn.0049ed1a
push eax
mov eax, dword [ebp + 0x14]
push ebx
or eax, 0x200
push eax
jmp 0x57789c
push 0x68a484
push esi
call fcn.0047a3ed
test al, al
jne 0x5776a2
push 0x68a4dc
push esi
call fcn.0047a3ed
test al, al
je 0x5777a7
push 0x70522c
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
push ebx
push esi
push 0
call fcn.005770f2
jmp 0x5778b7
test edi, edi
je 0x5777ba
push 0x6d6508
push edi
call fcn.0047a3ed
test al, al
jne 0x5777cd
push 0x68a3ec
push esi
call fcn.0047a3ed
test al, al
je 0x577888
push str.current.btskin
lea eax, [ebp - 0x2c]
push eax
call fcn.0046e883
test dword [ebp + 0x14], 0x400
mov byte [ebp - 4], 9
je 0x577800
mov edi, str.user_set
push edi
call fcn.00409db4
pop ecx
push eax
push edi
mov ecx, 0x75fca4
call fcn.00409b2f
push str.default
push esi
call fcn.0063299b
pop ecx
test eax, eax
mov eax, dword [ebp - 0x2c]
pop ecx
jne 0x577826
cmp dword [ebp - 0x18], 8
jae 0x57781d
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x577852
cmp dword [ebp - 0x18], 8
jae 0x57782f
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.0063299b
pop ecx
pop ecx
test eax, eax
je 0x577852
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x577848
lea eax, [ebp - 0x2c]
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
call fcn.005dc1bc
call fcn.005aeb71
push 1
push 1
call fcn.005a77b0
call fcn.005e43dd
push dword [0x7705d4]
call fcn.005794c0
call fcn.0058c8ee
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0042341c
jmp 0x5778b7
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push fcn.0049ed1a
push eax
push ebx
push dword [ebp + 0x14]
push esi
call fcn.004f1166
push 0
push 0
push 0x803c
push dword [0x792820]
call dword [sym.imp.USER32.dll_PostMessageW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.00441293
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x20