Function at 0x403190
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 0x4031e4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x2d8
ret
lea eax, [esi - 1]
mov ebx, esi
test eax, eax
jl 0x403203
mov cl, byte [eax + edx]
cmp cl, 0x5c
je 0x4031ff
cmp cl, 0x3a
je 0x4031ff
mov ebx, eax
dec eax
jns 0x4031ed
cmp ebx, esi
jne 0x40326b
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 0x403248
mov ecx, ebx
mov esi, edx
lea edi, [esp + 0x1b8]
mov eax, ecx
jmp 0x4032dd
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 0x4032e4
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 0x4032b4
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 0x4033b3
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.00404b40
add esp, 8
test ax, ax
jne 0x4033d9
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
add esp, 0x2d8
ret
call fcn.00401cd0
mov dword [esp + 0x10], 0x32
xor ecx, ecx
mov eax, 0x461cc0
cmp byte [eax], 0
je 0x403401
add eax, 0xb4
inc ecx
cmp eax, 0x463fe8
jl 0x4033ed
jmp 0x403405
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 0x40347f
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 0x457868
push eax
call fcn.0041cefa
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 0x403601
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 fcn.0041cefa
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.00404ae0
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.00404ae0
add esp, 0x1c
test ebp, ebp
jge 0x4035f1
test eax, eax
jl 0x403611
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403415
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 0x403653
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 eax, dword [esp + 0x14]
mov ecx, 0x14
lea eax, [eax + eax*4]
lea edx, [eax + eax*8]
xor eax, eax
shl edx, 2
lea ebp, [edx + 0x461c70]
mov word [edx + 0x461c68], 0
mov edi, ebp
mov dword [edx + 0x461c6c], 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 + 0x461cc0]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
lea edx, [edx + 0x461d10]
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 0x4038d5
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 0x4038ce
inc esi
mov dword [esp + 0x10], 0xffffffff
cmp si, 0xa
jl 0x40388b
call fcn.00401eb0
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 0x403afe
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 0x403af7
inc esi
mov dword [esp + 0x10], 0xffffffff
cmp si, 0xa
jl 0x4039b2
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 0x403b06
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 0x403b1a
inc edi
cmp di, 0xa
jl 0x403abc
call fcn.00401eb0
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.00401eb0
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.00401eb0
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x2d8
ret