Function at 0x407000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x10], str.Redo_done
and dword [ebp - 0xc], 0
call fcn.0040ece9
mov dword [ebp - 8], 1
jmp 0x407026
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jge 0x40713d
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movsx eax, byte [eax]
cmp eax, 0x2d
je 0x407058
mov eax, dword [ebp - 0x20]
movsx eax, byte [eax]
cmp eax, 0x2f
jne 0x407136
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x24], eax
push 0x421260
push dword [ebp - 0x24]
call fcn.0040ea90
pop ecx
pop ecx
test eax, eax
jne 0x40707a
push 0
call fcn.004072dd
pop ecx
push str.from
push dword [ebp - 0x24]
call fcn.0040ea90
pop ecx
pop ecx
test eax, eax
jne 0x4070b8
mov eax, dword [ebp - 8]
inc eax
cmp eax, dword [ebp + 8]
jge 0x4070ab
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0xc], eax
jmp 0x4070b3
push 1
call fcn.004072dd
pop ecx
jmp 0x40701f
push 0x42126c
push dword [ebp - 0x24]
call fcn.0040ea90
pop ecx
pop ecx
test eax, eax
jne 0x4070db
and dword [0x422c60], 0
and dword [ebp - 0x10], 0
jmp 0x40701f
push 0x421270
push dword [ebp - 0x24]
call fcn.0040ea90
pop ecx
pop ecx
test eax, eax
jne 0x4070fd
mov dword [0x422c60], 1
jmp 0x40701f
push 0x421274
push dword [ebp - 0x24]
call fcn.0040ea90
pop ecx
pop ecx
test eax, eax
jne 0x407122
push 0x421278
call fcn.004096c0
pop ecx
push 0
call fcn.0040e9ff
push dword [ebp - 0x20]
push str.Unrecognized_switch__s._Ignored._n
call fcn.0040995d
pop ecx
pop ecx
jmp 0x40701f
jmp 0x40713d
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jg 0x407153
push 1
call fcn.004072dd
pop ecx
cmp dword [0x422c60], 0
je 0x407167
push str._nredo.exe_n
call fcn.0040995d
pop ecx
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
push dword [ecx + eax*4]
call fcn.00407378
pop ecx
test eax, eax
je 0x40719f
push str.COMSPEC
call fcn.0040e6ec
pop ecx
mov dword [0x463660], eax
mov dword [0x463664], 0x4212ec
mov dword [ebp - 0x18], 2
and dword [ebp - 8], 0
jmp 0x4071ac
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jge 0x4071f0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
cmp eax, 0x3ff
jne 0x4071d5
push dword [ebp - 8]
push str.Warning:_Arguments_beyond_the__dth_ignored._n
call fcn.0040995d
pop ecx
pop ecx
jmp 0x4071f0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + eax*4]
mov dword [ecx*4 + 0x463660], eax
jmp 0x4071a5
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
and dword [eax*4 + 0x463660], 0
push InterlockedExchange
push 0x443660
call fcn.00407e83
pop ecx
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x407226
push 0x421320
push 4
call fcn.004072f5
pop ecx
pop ecx
xor eax, eax
jne 0x407226
cmp dword [ebp - 0xc], 0
jne 0x407237
mov dword [ebp - 0xc], 0x443660
push dword [ebp - 0xc]
call fcn.004084bf
pop ecx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40725b
push dword [ebp - 0xc]
push str.Cannot_access_directory___s_
push 4
call fcn.004072f5
add esp, 0xc
push InterlockedExchange
push 0x423660
call fcn.00407e83
pop ecx
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x407283
push 0x421364
push 4
call fcn.004072f5
pop ecx
pop ecx
xor eax, eax
jne 0x407283
push 0x423660
call fcn.0040e5e0
pop ecx
mov dword [0x42365c], eax
cmp dword [0x42365c], 1
jle 0x4072ab
mov eax, dword [0x42365c]
inc eax
mov dword [0x42365c], eax
push 0
push 0x423660
call fcn.004073e8
pop ecx
pop ecx
cmp dword [0x422c60], 0
je 0x4072d1
push dword [ebp - 0x10]
push 0x421388
call fcn.0040995d
pop ecx
pop ecx
push 0
call fcn.004072f5
pop ecx
xor eax, eax
leave
ret