Function at 0x5574e0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x5574e8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404cf0
xor eax, eax
push ebp
push 0x557ac4
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x557adc
call fcn.00404e28
test eax, eax
jle 0x5575ad
mov eax, dword [0x5789b0]
cmp byte [eax], 0
je 0x55755d
push 0x557aec
push dword [ebp - 4]
push 0x557b04
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404bfc
mov edx, dword [ebp - 0x20]
mov eax, dword [0x578a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x2dc]
call fcn.0043e6dc
jmp 0x55758c
push 0x557b18
push dword [ebp - 4]
push 0x557b30
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404bfc
mov edx, dword [ebp - 0x24]
mov eax, dword [0x578a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x2dc]
call fcn.0043e6dc
mov eax, dword [0x578a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d0]
mov edx, dword [eax]
call dword [edx + 0xb4]
test al, al
je 0x5575ad
mov eax, dword [ebp - 4]
call fcn.0040ac34
mov eax, dword [ebx + 0x64]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x557a99
inc eax
mov dword [ebp - 0x1c], eax
xor esi, esi
lea ecx, [ebp - 0x2c]
mov edx, esi
mov eax, dword [ebx + 0x64]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.0040a300
mov ecx, dword [ebp - 0x28]
mov edx, esi
mov eax, dword [ebx + 0x64]
mov edi, dword [eax]
call dword [edi + 0x20]
lea ecx, [ebp - 0x30]
mov edx, esi
mov eax, dword [ebx + 0x64]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x30]
mov eax, 0x557b4c
call fcn.00404e28
test eax, eax
jle 0x557789
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x34]
mov edx, esi
mov eax, dword [ebx + 0x64]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x34]
mov edx, 0x557b4c
mov eax, dword [ebx + 0x30]
call fcn.004ef3fc
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x38]
mov edx, esi
mov eax, dword [ebx + 0x64]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x38]
mov edx, 0x557b4c
mov eax, dword [ebx + 0x30]
call fcn.004ef3a8
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.00404e28
test eax, eax
jle 0x557789
mov eax, dword [0x578a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
mov edx, dword [ebp - 4]
call fcn.004c22f8
lea edx, [ebp - 0x40]
mov eax, dword [0x578a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
call fcn.004c5fcc
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.0040a050
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
call fcn.00404e28
test eax, eax
jle 0x557789
mov eax, dword [0x5789b0]
cmp byte [eax], 0
je 0x5576e3
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 4]
mov edx, 0x557b58
call fcn.00404b88
mov edx, dword [ebp - 0x44]
mov eax, dword [0x578a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov eax, dword [eax + 0x208]
call fcn.00415cc8
jmp 0x55770e
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 4]
mov edx, 0x557b70
call fcn.00404b88
mov edx, dword [ebp - 0x48]
mov eax, dword [0x578a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov eax, dword [eax + 0x208]
call fcn.00415cc8
mov eax, dword [0x578a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d0]
mov edx, dword [eax]
call dword [edx + 0xb4]
test al, al
je 0x557789
mov eax, dword [ebp - 4]
call fcn.0040ac34
test al, al
je 0x557760
lea eax, [ebp - 0x4c]
mov ecx, 0x557b30
mov edx, dword [ebp - 4]
call fcn.00404b88
mov edx, dword [ebp - 0x4c]
mov eax, dword [0x578a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov eax, dword [eax + 0x208]
call fcn.00415cc8
jmp 0x557789
push 4
lea eax, [ebp - 0x50]
mov ecx, 0x557b8c
mov edx, dword [ebp - 4]
call fcn.00404b88
mov eax, dword [ebp - 0x50]
call fcn.00404d00
push eax
mov eax, dword [ebp - 4]
call fcn.00404d00
push eax
call sub.kernel32.dll_MoveFileExA
lea ecx, [ebp - 0x54]
mov edx, esi
mov eax, dword [ebx + 0x64]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x54]
mov eax, 0x557ba0
call fcn.00404e28
test eax, eax
jle 0x557940
push 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x58]
mov edx, esi
mov eax, dword [ebx + 0x64]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x58]
mov edx, 0x557ba0
mov eax, dword [ebx + 0x30]
call fcn.004ef3fc
push 0
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x5c]
mov edx, esi
mov eax, dword [ebx + 0x64]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x5c]
mov edx, 0x557ba0
mov eax, dword [ebx + 0x30]
call fcn.004ef3a8
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00404e28
test eax, eax
jle 0x557a8f
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x30]
call fcn.004ef3a8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00404e28
test eax, eax
jle 0x557a8f
mov eax, dword [0x5789b0]
cmp byte [eax], 0
je 0x557862
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 4]
mov edx, 0x557b58
call fcn.00404b88
mov edx, dword [ebp - 0x60]
mov eax, dword [0x578a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov eax, dword [eax + 0x208]
call fcn.00415cc8
jmp 0x55788d
lea eax, [ebp - 0x64]
mov ecx, dword [ebp - 4]
mov edx, 0x557b70
call fcn.00404b88
mov edx, dword [ebp - 0x64]
mov eax, dword [0x578a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov eax, dword [eax + 0x208]
call fcn.00415cc8
mov eax, dword [0x578a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d0]
mov edx, dword [eax]
call dword [edx + 0xb4]
test al, al
je 0x557a8f
mov eax, dword [ebp - 4]
call fcn.0040ac34
test al, al
je 0x557912
mov eax, dword [0x5789b0]
cmp byte [eax], 0
je 0x5578e2
mov eax, dword [0x578a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov eax, dword [eax + 0x208]
mov edx, 0x557bac
call fcn.00415cc8
jmp 0x557a8f
lea eax, [ebp - 0x68]
mov ecx, 0x557b30
mov edx, dword [ebp - 4]
call fcn.00404b88
mov edx, dword [ebp - 0x68]
mov eax, dword [0x578a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov eax, dword [eax + 0x208]
call fcn.00415cc8
jmp 0x557a8f
push 4
lea eax, [ebp - 0x6c]
mov ecx, 0x557b8c
mov edx, dword [ebp - 4]
call fcn.00404b88
mov eax, dword [ebp - 0x6c]
call fcn.00404d00
push eax
mov eax, dword [ebp - 4]
call fcn.00404d00
push eax
call sub.kernel32.dll_MoveFileExA
jmp 0x557a8f
lea ecx, [ebp - 0x70]
mov edx, esi
mov eax, dword [ebx + 0x64]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x70]
push eax
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 4]
call fcn.0040aec8
mov edx, dword [ebp - 0x74]
pop eax
call fcn.00404c4c
jne 0x557a8f
mov eax, dword [0x5789b0]
cmp byte [eax], 0
je 0x5579a2
lea eax, [ebp - 0x78]
mov ecx, dword [ebp - 4]
mov edx, 0x557b58
call fcn.00404b88
mov edx, dword [ebp - 0x78]
mov eax, dword [0x578a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov eax, dword [eax + 0x208]
call fcn.00415cc8
jmp 0x5579cd
lea eax, [ebp - 0x7c]
mov ecx, dword [ebp - 4]
mov edx, 0x557b70
call fcn.00404b88
mov edx, dword [ebp - 0x7c]
mov eax, dword [0x578a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov eax, dword [eax + 0x208]
call fcn.00415cc8
mov eax, dword [0x578a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d0]
mov edx, dword [eax]
call dword [edx + 0xb4]
test al, al
je 0x557a8f
mov eax, dword [ebp - 4]
call fcn.0040ac34
test al, al
je 0x557a60
mov eax, dword [0x5789b0]
cmp byte [eax], 0
je 0x557a2d
lea eax, [ebp - 0x80]
mov ecx, 0x557bc4
mov edx, dword [ebp - 4]
call fcn.00404b88
mov edx, dword [ebp - 0x80]
mov eax, dword [0x578a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov eax, dword [eax + 0x208]
call fcn.00415cc8
jmp 0x557a8f
lea eax, [ebp - 0x84]
mov ecx, 0x557b30
mov edx, dword [ebp - 4]
call fcn.00404b88
mov edx, dword [ebp - 0x84]
mov eax, dword [0x578a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov eax, dword [eax + 0x208]
call fcn.00415cc8
jmp 0x557a8f
push 4
lea eax, [ebp - 0x88]
mov ecx, 0x557b8c
mov edx, dword [ebp - 4]
call fcn.00404b88
mov eax, dword [ebp - 0x88]
call fcn.00404d00
push eax
mov eax, dword [ebp - 4]
call fcn.00404d00
push eax
call sub.kernel32.dll_MoveFileExA
inc esi
dec dword [ebp - 0x1c]
jne 0x5575c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x557acb
lea eax, [ebp - 0x88]
mov edx, 0x1b
call fcn.004048b8
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004048b8
ret