Function at 0x41f2a0
Capabilities:
Move file

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x2d8
or ecx, 0xffffffff
xor eax, eax
push ebx
push esi
push edi
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x1b8]
mov esi, ecx
mov ecx, 0x4b
rep stosd dword es:[edi], eax
mov ecx, 0x19
lea edi, [esp + 0x154]
rep stosd dword es:[edi], eax
mov ecx, 0x19
lea edi, [esp + 0x8c]
rep stosd dword es:[edi], eax
jne 0x41f2f4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x2d8
ret
lea eax, [esi - 1]
mov ebx, esi
test eax, eax
jl 0x41f313
mov cl, byte [eax + edx]
cmp cl, 0x5c
je 0x41f30f
cmp cl, 0x3a
je 0x41f30f
mov ebx, eax
dec eax
jns 0x41f2fd
cmp ebx, esi
jne 0x41f37b
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x1b8]
rep stosd dword es:[edi], eax
mov ecx, 0x19
lea edi, [esp + 0x154]
rep stosd dword es:[edi], eax
mov ecx, 0x19
lea edi, [esp + 0x8c]
rep stosd dword es:[edi], eax
cmp byte [esi + edx - 1], 0x5c
jne 0x41f358
mov ecx, ebx
mov esi, edx
lea edi, [esp + 0x1b8]
mov eax, ecx
jmp 0x41f3ed
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0x154]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x41f3f4
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x1b8]
rep stosd dword es:[edi], eax
mov ecx, 0x19
lea edi, [esp + 0x154]
rep stosd dword es:[edi], eax
mov ecx, 0x19
lea edi, [esp + 0x8c]
test ebx, ebx
rep stosd dword es:[edi], eax
jle 0x41f3c4
mov ecx, ebx
mov esi, edx
mov eax, ecx
lea edi, [esp + 0x1b8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x154]
rep stosd dword es:[edi], eax
lea edi, [ebx + edx]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x154]
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x154]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 8
jg 0x41f4c3
or ecx, 0xffffffff
lea edi, [esp + 0x1b8]
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x2ec]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
lea edi, [esp + 0x154]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x154]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x2f0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1b8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x2f4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
or eax, 0xffffffff
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
add esp, 0x2d8
ret
lea ecx, [esp + 0x154]
push ecx
push 0
call fcn.00420c50
add esp, 8
test ax, ax
jne 0x41f4e9
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
add esp, 0x2d8
ret
call fcn.0041dca0
mov dword [esp + 0x10], 0x32
xor ecx, ecx
mov eax, 0xa4a3f0
cmp byte [eax], 0
je 0x41f511
add eax, 0xb4
inc ecx
cmp eax, 0xa4c718
jl 0x41f4fd
jmp 0x41f515
mov dword [esp + 0x10], ecx
mov ebx, dword [esp + 0x2ec]
push ebp
mov dword [esp + 0x10], 6
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x90]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jns 0x41f590
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x2c]
lea edx, [esp + 0x158]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x30]
push 0x42ee78
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [esp + 0x2c]
push 0x40015
push str.ISAM
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 4
jne 0x41f713
mov dword [esp + 0x10], 6
xor edx, edx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], edx
push eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [esp + 0x24]
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x90]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x26]
mov eax, dword [esp + 0x22]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
push eax
lea ecx, [esp + 0x9c]
push str._02d_02d_03d
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
or ecx, 0xffffffff
lea edi, [esp + 0x1d0]
xor eax, eax
mov dword [ebx], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xa8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..IDX
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00420bf0
mov ebp, eax
or ecx, 0xffffffff
mov dword [ebx], 0
lea edi, [esp + 0x1d4]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xac]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..DAT
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00420bf0
add esp, 0x1c
test ebp, ebp
jge 0x41f703
test eax, eax
jl 0x41f723
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41f525
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x90]
rep stosd dword es:[edi], eax
mov al, byte [esp + 0x90]
test al, al
jne 0x41f765
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x90]
lea edx, [esp + 0x90]
rep stosd dword es:[edi], eax
mov edi, str.SISM001
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x14]
mov ecx, 0x14
xor eax, eax
lea edx, [edx + edx*4]
lea edx, [edx + edx*8]
shl edx, 2
lea ebp, [edx + 0xa4a3a0]
mov word [edx + 0xa4a398], 0
mov edi, ebp
mov dword [edx + 0xa4a39c], 1
rep stosd dword es:[edi], eax
or ecx, 0xffffffff
lea edi, [esp + 0x1bc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, ebp
lea ebp, [edx + 0xa4a3f0]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
lea edx, [edx + 0xa4a440]
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x14
mov edi, ebp
rep stosd dword es:[edi], eax
or ecx, 0xffffffff
lea edi, [esp + 0x158]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
lea edi, [esp + 0x90]
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov word [eax + 8], cx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1bc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x90]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
lea edi, [esp + 0x90]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x2f4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
lea edi, [esp + 0x1bc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x2f8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x2c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x19
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..IDX
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0xf4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x19
lea edi, [esp + 0xf4]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x2ec]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xf4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..IDX
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileA]
and ecx, 3
lea eax, [esp + 0x2c]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xf4]
push eax
push ecx
call ebp
test eax, eax
jne 0x41f9e7
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x12c
call edi
lea edx, [esp + 0x2c]
lea eax, [esp + 0xf4]
push edx
push eax
call ebp
test eax, eax
jne 0x41f9e0
inc esi
mov dword [esp + 0x10], 0xffffffff
cmp si, 0xa
jl 0x41f99d
call fcn.0041de90
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x2d8
ret
push 0x12c
call edi
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x2c]
lea edx, [esp + 0x2c]
rep stosd dword es:[edi], eax
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, str..DAT
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0xf4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x19
lea edi, [esp + 0xf4]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x2ec]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xf4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..DAT
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x2c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xf8]
push ecx
call ebp
test eax, eax
jne 0x41fc10
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x12c
call edi
lea edx, [esp + 0x2c]
lea eax, [esp + 0xf4]
push edx
push eax
call ebp
test eax, eax
jne 0x41fc09
inc esi
mov dword [esp + 0x10], 0xffffffff
cmp si, 0xa
jl 0x41fac4
mov ecx, 0x19
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x2c]
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, str..IDX
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0xf4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x19
lea edi, [esp + 0xf4]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x2ec]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xf4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..IDX
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xf4]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
push ecx
call ebp
test eax, eax
jne 0x41fc18
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x12c
call esi
lea edx, [esp + 0xf4]
lea eax, [esp + 0x2c]
push edx
push eax
call ebp
test eax, eax
jne 0x41fc2c
inc edi
cmp di, 0xa
jl 0x41fbce
call fcn.0041de90
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x2d8
ret
push 0x12c
call edi
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
call fcn.0041de90
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x2d8
ret
push 0x12c
call esi
mov dword [esp + 0x10], 0
call fcn.0041de90
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x2d8
ret