Function at 0x42f376
Capabilities:
Copy file

Disassembly:
mov eax, 0x6aabf8
call fcn.00651da4
sub esp, 0x488
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
cmp word [esi], bx
je 0x42f3fa
push 0x6d28f4
lea ecx, [ebp - 0x24]
call fcn.00428153
push 1
lea eax, [ebp - 0x24]
mov dword [ebp - 4], ebx
push eax
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00428153
lea eax, [ebp - 0x54]
push eax
call fcn.0045c726
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x42f3c7
mov ecx, dword [ecx]
lea edx, [ebp - 0x28c]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x42f3cd
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.004284eb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
push ebx
push 1
call fcn.004284eb
jmp 0x42f40d
push 0x104
lea eax, [ebp - 0x28c]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
mov esi, dword [ebp + 0x10]
test esi, 0x800
je 0x42f532
mov ecx, ebx
movzx eax, word [ebp + ecx - 0x28c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x496], ax
test ax, ax
jne 0x42f41e
lea eax, [ebp - 0x494]
push eax
call fcn.0045c825
xor ecx, ecx
mov edi, 0x6d31cc
push edi
mov word [eax], cx
lea ecx, [ebp - 0x54]
call fcn.00428153
xor eax, eax
inc eax
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x54]
push eax
sub esp, 0x18
lea eax, [ebp - 0x494]
mov ecx, esp
push eax
call fcn.00428153
lea eax, [ebp - 0x24]
push eax
call fcn.0045c726
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.004284eb
push edi
lea eax, [ebp - 0x3c]
push eax
call fcn.0047014f
mov eax, dword [ebp - 0x3c]
push 8
pop edi
mov byte [ebp - 4], 4
cmp dword [ebp - 0x28], edi
jae 0x42f4a5
lea eax, [ebp - 0x3c]
push eax
call fcn.0045d475
test al, al
jne 0x42f4f9
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x10], edi
jae 0x42f4ba
lea eax, [ebp - 0x24]
push eax
call fcn.0045d475
test al, al
jne 0x42f4f9
lea eax, [ebp - 0x494]
push eax
lea ecx, [ebp - 0x54]
call fcn.00428153
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 5
push eax
mov ecx, 0x7c1a90
call fcn.00471228
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.004284eb
call fcn.00472048
mov ecx, dword [ebp - 0x24]
cmp dword [ebp - 0x10], edi
jae 0x42f504
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x28], edi
jae 0x42f50f
lea eax, [ebp - 0x3c]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.004284eb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
push ebx
push 1
call fcn.004284eb
cmp byte [0x7c62a6], 0
jne 0x42f616
push esi
lea eax, [ebp - 0x28c]
push eax
call fcn.0043008b
push esi
lea eax, [ebp - 0x28c]
push eax
call fcn.0042ff14
test esi, 0x400
je 0x42f5b8
push str._MINIMIZED
lea ecx, [ebp - 0x84]
call fcn.00428153
lea eax, [ebp - 0x28c]
mov dword [ebp - 4], 6
push eax
lea ecx, [ebp - 0x6c]
call fcn.00428153
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0043561a
push ebx
push 1
lea ecx, [ebp - 0x6c]
call fcn.004284eb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
push ebx
push 1
call fcn.004284eb
test esi, 0x2000
je 0x42f5e5
push ebx
lea eax, [ebp - 0x28c]
push eax
call fcn.00478839
test eax, eax
jns 0x42f5e5
lea eax, [ebp - 0x28c]
push eax
push str.INSTALLDEBUG:_Unable_to_create_firewall_rules_for_path___s__n
call fcn.0040e854
add esp, 8
test esi, 0x200
je 0x42f5f2
call fcn.004300cb
mov ecx, dword [ebp + 8]
push str.SoftwareBitTorrentuTorrent
push reloc.WS2_32.dll_accept
call fcn.00482b57
mov ecx, dword [ebp + 8]
push 0xb3d4
push str.Revision
call fcn.00483348
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc