Function at 0x415750
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 0x4157a4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x2d8
ret
lea eax, [esi - 1]
mov ebx, esi
test eax, eax
jl 0x4157c3
mov cl, byte [eax + edx]
cmp cl, 0x5c
je 0x4157bf
cmp cl, 0x3a
je 0x4157bf
mov ebx, eax
dec eax
jns 0x4157ad
cmp ebx, esi
jne 0x41582b
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 0x415808
mov ecx, ebx
mov esi, edx
lea edi, [esp + 0x1b8]
mov eax, ecx
jmp 0x41589d
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 0x4158a4
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 0x415874
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 0x415973
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.00417100
add esp, 8
test ax, ax
jne 0x415999
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
add esp, 0x2d8
ret
call fcn.004149d0
mov dword [esp + 0x10], 0x32
xor ecx, ecx
mov eax, 0xa1a0c8
cmp byte [eax], 0
je 0x4159c1
add eax, 0xb4
inc ecx
cmp eax, 0xa1c3f0
jl 0x4159ad
jmp 0x4159c5
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 0x415a3f
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 0x433a2c
push eax
call fcn.004195cf
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 0x415bc1
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.004195cf
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.004170a0
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.004170a0
add esp, 0x1c
test ebp, ebp
jge 0x415bb1
test eax, eax
jl 0x415bd1
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4159d5
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 0x415c13
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 + 0xa1a078]
mov word [edx + 0xa1a070], 0
mov edi, ebp
mov dword [edx + 0xa1a074], 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 + 0xa1a0c8]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
lea edx, [edx + 0xa1a118]
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 0x415e95
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 0x415e8e
inc esi
mov dword [esp + 0x10], 0xffffffff
cmp si, 0xa
jl 0x415e4b
call fcn.00414bb0
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 0x4160be
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 0x4160b7
inc esi
mov dword [esp + 0x10], 0xffffffff
cmp si, 0xa
jl 0x415f72
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 0x4160c6
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 0x4160da
inc edi
cmp di, 0xa
jl 0x41607c
call fcn.00414bb0
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.00414bb0
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.00414bb0
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x2d8
ret