Function at 0x42ecad
Capabilities:
Copy file

Disassembly:
mov eax, 0x6935a8
call fcn.006375a8
sub esp, 0x488
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
cmp word [esi], bx
je 0x42ed31
push 0x6b764c
lea ecx, [ebp - 0x24]
call fcn.00427f43
push 1
lea eax, [ebp - 0x24]
mov dword [ebp - 4], ebx
push eax
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00427f43
lea eax, [ebp - 0x54]
push eax
call fcn.0045e7e8
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x42ecfe
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 0x42ed04
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.004267c2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
push ebx
push 1
call fcn.004267c2
jmp 0x42ed44
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 0x42ee69
mov ecx, ebx
movzx eax, word [ebp + ecx - 0x28c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x496], ax
test ax, ax
jne 0x42ed55
lea eax, [ebp - 0x494]
push eax
call fcn.0045e8e7
xor ecx, ecx
mov edi, 0x6b7f2c
push edi
mov word [eax], cx
lea ecx, [ebp - 0x54]
call fcn.00427f43
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.00427f43
lea eax, [ebp - 0x24]
push eax
call fcn.0045e7e8
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.004267c2
push edi
lea eax, [ebp - 0x3c]
push eax
call fcn.00470ce5
mov eax, dword [ebp - 0x3c]
push 8
pop edi
mov byte [ebp - 4], 4
cmp dword [ebp - 0x28], edi
jae 0x42eddc
lea eax, [ebp - 0x3c]
push eax
call fcn.0045f4bc
test al, al
jne 0x42ee30
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x10], edi
jae 0x42edf1
lea eax, [ebp - 0x24]
push eax
call fcn.0045f4bc
test al, al
jne 0x42ee30
lea eax, [ebp - 0x494]
push eax
lea ecx, [ebp - 0x54]
call fcn.00427f43
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 5
push eax
mov ecx, 0x79f188
call fcn.00471d21
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.004267c2
call fcn.004729a5
mov ecx, dword [ebp - 0x24]
cmp dword [ebp - 0x10], edi
jae 0x42ee3b
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x28], edi
jae 0x42ee46
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.004267c2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
push ebx
push 1
call fcn.004267c2
cmp byte [0x7a398a], 0
jne 0x42ef4d
push esi
lea eax, [ebp - 0x28c]
push eax
call fcn.0042f9b0
push esi
lea eax, [ebp - 0x28c]
push eax
call fcn.0042f83e
test esi, 0x400
je 0x42eeef
push str._MINIMIZED
lea ecx, [ebp - 0x84]
call fcn.00427f43
lea eax, [ebp - 0x28c]
mov dword [ebp - 4], 6
push eax
lea ecx, [ebp - 0x6c]
call fcn.00427f43
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0043652d
push ebx
push 1
lea ecx, [ebp - 0x6c]
call fcn.004267c2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
push ebx
push 1
call fcn.004267c2
test esi, 0x2000
je 0x42ef1c
push ebx
lea eax, [ebp - 0x28c]
push eax
call fcn.00478b4f
test eax, eax
jns 0x42ef1c
lea eax, [ebp - 0x28c]
push eax
push str.INSTALLDEBUG:_Unable_to_create_firewall_rules_for_path___s__n
call fcn.0040c884
add esp, 8
test esi, 0x200
je 0x42ef29
call fcn.0042f9f0
mov ecx, dword [ebp + 8]
push str.SoftwareBitTorrentuTorrent
push reloc.WS2_32.dll_accept
call fcn.00482df2
mov ecx, dword [ebp + 8]
push 0xb0eb
push str.Revision
call fcn.0048366c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc