Function at 0x411e78
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff5c
push ebx
mov eax, 0x4e8b64
call fcn.004ccad8
mov dword [ebp - 0x74], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.004d9c5c
inc dword [ebp - 0x74]
mov word [ebp - 0x80], 0xc
mov word [ebp - 0x80], 0x18
lea edx, [ebp - 0x20]
push edx
call fcn.00407b7c
pop ecx
add dword [ebp - 0x74], 2
mov word [ebp - 0x80], 0xc
mov word [ebp - 0x80], 0x24
lea eax, [ebp - 0x48]
call fcn.00401cac
mov edx, eax
inc dword [ebp - 0x74]
mov ecx, dword [0x4f4180]
mov eax, dword [ecx]
call fcn.00467f0c
lea edx, [ebp - 0x48]
push dword [edx]
lea eax, [ebp - 0x4c]
call fcn.00401cac
mov edx, eax
inc dword [ebp - 0x74]
pop eax
call fcn.004a746c
lea eax, [ebp - 0x4c]
call fcn.00406774
push eax
call sub.KERNEL32.DLL_SetCurrentDirectoryA
dec dword [ebp - 0x74]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004d9dc0
dec dword [ebp - 0x74]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004d9dc0
mov word [ebp - 0x80], 0x30
lea eax, [ebp - 0x50]
call fcn.00401cac
mov ecx, eax
inc dword [ebp - 0x74]
lea edx, [ebp + 0xc]
mov eax, str.rsync.exe
call fcn.004da1b0
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x24]
call fcn.00401cac
push eax
inc dword [ebp - 0x74]
mov edx, 0x4e868c
lea eax, [ebp - 0x54]
call fcn.004d9c24
inc dword [ebp - 0x74]
lea edx, [ebp - 0x54]
pop ecx
pop eax
call fcn.004d9e18
dec dword [ebp - 0x74]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004d9dc0
dec dword [ebp - 0x74]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004d9dc0
mov word [ebp - 0x80], 0xc
mov word [ebp - 0x80], 0x3c
lea ecx, [ebp - 0x44]
push ecx
call fcn.00401cdc
pop ecx
inc dword [ebp - 0x74]
mov word [ebp - 0x80], 0xc
xor eax, eax
mov dword [ebp - 0x94], eax
push 0
lea edx, [ebp - 0x44]
push edx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
push ecx
call fcn.0040dafc
add esp, 0x10
test al, al
je 0x41221e
mov dl, 1
mov eax, dword [0x494070]
call fcn.00406974
mov dword [ebp - 0x98], eax
mov word [ebp - 0x80], 0x48
lea eax, [ebp - 0x58]
call fcn.00401cac
inc dword [ebp - 0x74]
mov word [ebp - 0x80], 0x54
xor edx, edx
mov dword [ebp - 0x9c], edx
mov word [ebp - 0x80], 0x54
jmp 0x41205b
mov word [ebp - 0x80], 0x60
push dword [ebp - 0x9c]
lea ecx, [ebp - 0x44]
push ecx
call fcn.00402054
add esp, 8
push eax
call fcn.00404160
pop ecx
mov edx, eax
lea eax, [ebp - 0x5c]
call fcn.004d9c24
inc dword [ebp - 0x74]
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x58]
call fcn.004d9e04
dec dword [ebp - 0x74]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004d9dc0
inc dword [ebp - 0x9c]
lea ecx, [ebp - 0x44]
push ecx
call fcn.00404138
pop ecx
cmp eax, dword [ebp - 0x9c]
ja 0x41200e
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
xor eax, eax
mov dword [ebp - 0xa0], eax
mov word [ebp - 0x80], 0x54
jmp 0x4121c1
mov word [ebp - 0x80], 0x78
lea eax, [ebp - 0x60]
call fcn.00401cac
mov ecx, eax
inc dword [ebp - 0x74]
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov word [ebp - 0x80], 0x6c
cmp dword [ebp - 0xa0], 0
jne 0x412152
push dword [ebp - 0x60]
push dword [ebp + 8]
call fcn.00411dc0
add esp, 8
test al, al
je 0x412152
or eax, 0xffffffff
push eax
dec dword [ebp - 0x74]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.004d9dc0
dec dword [ebp - 0x74]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004d9dc0
dec dword [ebp - 0x74]
push 2
lea ecx, [ebp - 0x44]
push ecx
call fcn.00401e18
add esp, 8
dec dword [ebp - 0x74]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004d9dc0
dec dword [ebp - 0x74]
dec dword [ebp - 0x74]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004d9dc0
dec dword [ebp - 0x74]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004d9dc0
pop eax
mov edx, dword [ebp - 0x90]
mov dword fs:[0], edx
jmp 0x412277
push 0x4e868f
lea eax, [ebp - 0x60]
call fcn.00406774
push eax
call fcn.004cc9d8
add esp, 8
mov dword [ebp - 0xa4], eax
mov word [ebp - 0x80], 0x84
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0xa4]
call fcn.004d9c24
inc dword [ebp - 0x74]
mov edx, dword [eax]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x74]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.004d9dc0
inc dword [ebp - 0x94]
dec dword [ebp - 0x74]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.004d9dc0
mov word [ebp - 0x80], 0x54
inc dword [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0xa0]
jg 0x41208e
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x6c], 0
je 0x412208
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax]
mov dword [ebp - 0x68], edx
mov word [ebp - 0x80], 0x9c
mov edx, 3
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x80], 0x90
dec dword [ebp - 0x74]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004d9dc0
mov word [ebp - 0x80], 0xc
mov eax, dword [ebp - 0x94]
push eax
dec dword [ebp - 0x74]
push 2
lea edx, [ebp - 0x44]
push edx
call fcn.00401e18
add esp, 8
dec dword [ebp - 0x74]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004d9dc0
dec dword [ebp - 0x74]
dec dword [ebp - 0x74]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004d9dc0
dec dword [ebp - 0x74]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004d9dc0
pop eax
mov edx, dword [ebp - 0x90]
mov dword fs:[0], edx
pop ebx
mov esp, ebp
pop ebp
ret