Function at 0x487f90
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb863
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x49c
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
push 1
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], edi
call fcn.004f0653
push 1
lea ecx, [ebp - 0x3a8]
mov byte [ebp - 4], 1
call fcn.004f0653
mov eax, dword [0x4fe4e8]
lea ecx, [ebp - 0x60]
push eax
push 8
push str.c:endpcacheprocess_log.txt
mov byte [ebp - 4], 2
call fcn.004f0727
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x18], edi
mov edx, dword [ecx + 4]
mov eax, dword [ebp + edx - 0x5c]
cmp dword [eax + 0x30], 0xffffffff
je 0x488007
mov dword [ebp - 0x18], 1
xor esi, esi
mov eax, dword [0xe56f10]
mov dword [ebp - 0x14], esi
cmp esi, eax
jge 0x488149
mov eax, esi
lea ecx, [ebp - 0x360]
shl eax, 8
lea ebx, [eax + 0xd53cac]
push ebx
push ecx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x488143
push ebx
push 0xd09fb0
mov byte [ebp - 0x260], 0
call fcn.004fa6c0
add esp, 4
push eax
push 0xd52ffc
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x260]
push eax
push 0x52519c
push edx
call fcn.004f175f
add esp, 0x14
mov eax, 0x80
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [0xe56db0], edi
jne 0x4880e4
mov eax, dword [0xe56dbc]
mov ecx, dword [ebp + 0x1b4]
mov edx, dword [ebp + 0x1b0]
test eax, eax
lea eax, [ebp - 0x260]
push eax
push ecx
push edx
jne 0x4880c7
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x4880de
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
cmp dword [ebp - 0x18], 1
jne 0x48810e
lea eax, [ebp - 0x260]
lea ecx, [ebp - 0x54]
push eax
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x360]
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
mov eax, dword [0xe56c78]
and ecx, 3
inc eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x14]
mov dword [0xe56c78], eax
xor edi, edi
inc esi
jmp 0x488009
mov dword [0xe56f10], edi
mov dword [ebp - 0x14], edi
mov ecx, dword [ebp - 0x14]
mov eax, dword [0xe56f18]
cmp ecx, eax
jge 0x4882a6
mov edx, ecx
push str._safemon360tray.exe
shl edx, 8
lea ebx, [edx + 0xdcb790]
push ebx
call fcn.004f2d80
add esp, 8
test eax, eax
jne 0x48829e
lea eax, [ebp - 0x360]
push ebx
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x48829e
push ebx
push 0xd09fb0
mov byte [ebp - 0x260], 0
call fcn.004fa6c0
add esp, 4
push eax
push 0xd52ffc
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x260]
push eax
push 0x525144
push ecx
call fcn.004f175f
add esp, 0x14
mov eax, 0x80
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [0xe56db0]
test eax, eax
jne 0x488244
mov eax, dword [0xe56dbc]
mov ecx, dword [ebp + 0x1b0]
test eax, eax
mov eax, dword [ebp + 0x1b4]
lea edx, [ebp - 0x260]
push edx
push eax
push ecx
jne 0x488227
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x48823e
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
cmp dword [ebp - 0x18], 1
jne 0x48826e
lea edx, [ebp - 0x260]
lea ecx, [ebp - 0x54]
push edx
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x360]
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
mov eax, dword [0xe56d00]
and ecx, 3
inc eax
rep movsb byte es:[edi], byte [esi]
mov dword [0xe56d00], eax
inc dword [ebp - 0x14]
jmp 0x488152
xor edi, edi
mov dword [0xe56f18], edi
mov eax, dword [0xe56e9c]
mov dword [ebp - 0x14], edi
cmp edi, eax
jge 0x48842d
mov esi, edi
lea ecx, [ebp - 0x360]
shl esi, 8
lea ebx, [esi + 0xd06db0]
push ebx
push ecx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x488427
push ebx
mov byte [ebp - 0x260], 0
call fcn.004ab3c0
add esp, 4
cmp eax, 0x25800
jge 0x48839d
lea edx, [esi + 0xdd806c]
push edx
push ebx
push 0xd09fb0
call fcn.004fa6c0
add esp, 4
push eax
push 0xd52ffc
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x260]
push 0x525100
push eax
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x18
test eax, eax
jne 0x4883d5
mov eax, dword [0xe56dbc]
mov edx, dword [ebp + 0x1b4]
lea ecx, [ebp - 0x260]
test eax, eax
mov eax, dword [ebp + 0x1b0]
push ecx
push edx
push eax
jne 0x48837e
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
add esp, 0x1b4
jmp 0x4883d5
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
jmp 0x4883d5
lea ecx, [esi + 0xdd806c]
push ecx
push ebx
push 0xd09fb0
call fcn.004fa6c0
add esp, 4
push eax
push 0xd52ffc
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x260]
push eax
push 0x5250bc
push edx
call fcn.004f175f
add esp, 0x18
cmp dword [ebp - 0x18], 1
jne 0x4883ff
lea eax, [ebp - 0x260]
lea ecx, [ebp - 0x54]
push eax
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x360]
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 edi, dword [ebp - 0x14]
inc edi
jmp 0x4882ae
xor eax, eax
mov dword [0xe56e9c], eax
mov dword [ebp - 0x14], eax
mov ecx, eax
cmp ecx, dword [0xe56f1c]
jge 0x4885e1
mov edx, ecx
lea eax, [ebp - 0x360]
shl edx, 8
lea ebx, [edx + 0xdcb290]
push ebx
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x4885d8
lea ecx, [ebp - 0x428]
mov byte [ebp - 0x260], 0
push ecx
push ebx
call fcn.004d9590
movsx eax, ax
add esp, 8
cmp eax, 5
jl 0x4884dc
lea edx, [ebp - 0x428]
push str.Microsoft
push edx
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4884dc
push str.Temp_
push ebx
call fcn.004f2d80
add esp, 8
test eax, eax
jne 0x4884dc
push ebx
push 0xd09fb0
call fcn.004fa6c0
add esp, 4
push eax
push 0xd52ffc
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x260]
push 0x52507c
push eax
jmp 0x488519
mov eax, 0x80
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push 0xd09fb0
call fcn.004fa6c0
add esp, 4
push eax
push 0xd52ffc
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x260]
push eax
push 0x525024
push ecx
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x14
test eax, eax
jne 0x48857e
mov eax, dword [0xe56dbc]
mov ecx, dword [ebp + 0x1b0]
test eax, eax
mov eax, dword [ebp + 0x1b4]
lea edx, [ebp - 0x260]
push edx
push eax
push ecx
jne 0x488561
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x488578
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
cmp dword [ebp - 0x18], 1
jne 0x4885a8
lea edx, [ebp - 0x260]
lea ecx, [ebp - 0x54]
push edx
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x360]
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
mov eax, dword [0xe56d00]
and ecx, 3
inc eax
rep movsb byte es:[edi], byte [esi]
mov dword [0xe56d00], eax
mov eax, dword [ebp - 0x14]
inc eax
jmp 0x488434
xor eax, eax
mov dword [0xe56f1c], eax
mov dword [ebp - 0x14], eax
mov ecx, eax
cmp ecx, dword [0xe56e5c]
jge 0x488728
mov edx, ecx
lea eax, [ebp - 0x360]
shl edx, 8
lea ebx, [edx + 0xd6d990]
push ebx
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x48871f
push ebx
push 0xd09fb0
mov byte [ebp - 0x260], 0
call fcn.004fa6c0
add esp, 4
push eax
push 0xd52ffc
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x260]
push eax
push 0x524fd8
push ecx
call fcn.004f175f
add esp, 0x14
mov eax, 0x80
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [0xe56db0]
test eax, eax
jne 0x4886c5
mov eax, dword [0xe56dbc]
mov ecx, dword [ebp + 0x1b0]
test eax, eax
mov eax, dword [ebp + 0x1b4]
lea edx, [ebp - 0x260]
push edx
push eax
push ecx
jne 0x4886a8
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x4886bf
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
cmp dword [ebp - 0x18], 1
jne 0x4886ef
lea edx, [ebp - 0x260]
lea ecx, [ebp - 0x54]
push edx
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x360]
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
mov eax, dword [0xe56d00]
and ecx, 3
inc eax
rep movsb byte es:[edi], byte [esi]
mov dword [0xe56d00], eax
mov eax, dword [ebp - 0x14]
inc eax
jmp 0x4885e8
xor eax, eax
mov dword [0xe56e5c], eax
mov dword [ebp - 0x14], eax
mov ecx, eax
cmp ecx, dword [0xe56f30]
jge 0x48888a
mov esi, ecx
lea edx, [ebp - 0x360]
shl esi, 8
lea ebx, [esi + 0xd45dd0]
push ebx
push edx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x488881
push ebx
call fcn.004ab3c0
add esp, 4
cmp eax, 0x100000
jg 0x488881
lea eax, [esi + 0xe3c880]
mov byte [ebp - 0x260], 0
push eax
push ebx
push 0xd09fb0
call fcn.004fa6c0
add esp, 4
push eax
push 0xd52ffc
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x260]
push eax
push 0x524f90
push ecx
call fcn.004f175f
add esp, 0x18
mov eax, 0x80
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [0xe56db0]
test eax, eax
jne 0x488827
mov eax, dword [0xe56dbc]
mov ecx, dword [ebp + 0x1b0]
test eax, eax
mov eax, dword [ebp + 0x1b4]
lea edx, [ebp - 0x260]
push edx
push eax
push ecx
jne 0x48880a
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x488821
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
cmp dword [ebp - 0x18], 1
jne 0x488851
lea edx, [ebp - 0x260]
lea ecx, [ebp - 0x54]
push edx
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x360]
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
mov eax, dword [0xe56d00]
and ecx, 3
inc eax
rep movsb byte es:[edi], byte [esi]
mov dword [0xe56d00], eax
mov eax, dword [ebp - 0x14]
inc eax
jmp 0x48872f
xor eax, eax
mov dword [0xe56f30], eax
mov dword [ebp - 0x14], eax
mov ecx, eax
cmp ecx, dword [0xe56e58]
jge 0x4889d1
mov edx, ecx
lea eax, [ebp - 0x360]
shl edx, 8
lea ebx, [edx + 0xc30d10]
push ebx
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x4889c8
push ebx
push 0xd09fb0
mov byte [ebp - 0x260], 0
call fcn.004fa6c0
add esp, 4
push eax
push 0xd52ffc
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x260]
push eax
push 0x524f44
push ecx
call fcn.004f175f
add esp, 0x14
mov eax, 0x80
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [0xe56db0]
test eax, eax
jne 0x48896e
mov eax, dword [0xe56dbc]
mov ecx, dword [ebp + 0x1b0]
test eax, eax
mov eax, dword [ebp + 0x1b4]
lea edx, [ebp - 0x260]
push edx
push eax
push ecx
jne 0x488951
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x488968
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
cmp dword [ebp - 0x18], 1
jne 0x488998
lea edx, [ebp - 0x260]
lea ecx, [ebp - 0x54]
push edx
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x360]
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
mov eax, dword [0xe56d00]
and ecx, 3
inc eax
rep movsb byte es:[edi], byte [esi]
mov dword [0xe56d00], eax
mov eax, dword [ebp - 0x14]
inc eax
jmp 0x488891
xor ebx, ebx
mov dword [0xe56e58], ebx
cmp ebx, 0xf
jge 0x488bf7
mov eax, dword [ebx*4 + 0xe56f84]
test eax, eax
jle 0x488bf1
cmp eax, 1
jle 0x488b1b
mov byte [ebp - 0x260], 0
xor edi, edi
cmp edi, dword [0xe56e6c]
jge 0x488b15
mov ecx, edi
mov edx, ebx
shl ecx, 8
shl edx, 7
add edx, 0xe43dd0
lea esi, [ecx + 0xda2c00]
push edx
push esi
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x488b0f
lea eax, [ebp - 0x4a8]
push eax
push esi
call fcn.004d9590
add esp, 8
movsx ecx, ax
push esi
mov dword [ebp - 0x14], ecx
call fcn.004ab3c0
add esp, 4
mov edi, eax
push str.javaw.exe
push esi
call fcn.004f2d80
add esp, 8
test eax, eax
jne 0x488b15
cmp edi, 0x7800
jge 0x488ac5
cmp dword [ebp - 0x14], 1
jge 0x488ac5
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [ebx*4 + 0xe56f84]
push edx
push esi
push 0xd09fb0
call fcn.004fa6c0
add esp, 4
push eax
push 0xd52ffc
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x260]
push 0x524f08
push eax
jmp 0x488b57
mov ecx, dword [ebx*4 + 0xe56f84]
mov eax, edi
cdq
and edx, 0x3ff
push ecx
add eax, edx
sar eax, 0xa
push eax
push esi
push 0xd09fb0
call fcn.004fa6c0
add esp, 4
push eax
push 0xd52ffc
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x260]
push eax
push 0x524ecc
push edx
call fcn.004f175f
add esp, 0x1c
jmp 0x488b5f
inc edi
jmp 0x488a03
xor eax, eax
test eax, eax
jne 0x488b5f
mov eax, dword [ebx*4 + 0xe56f84]
mov ecx, ebx
shl ecx, 7
add ecx, 0xdb1d0c
push eax
push ecx
push 0xd09fb0
call fcn.004fa6c0
add esp, 4
push eax
push 0xd52ffc
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x260]
push eax
push 0x524ea0
push edx
call fcn.004f175f
add esp, 0x18
mov eax, dword [0xe56db0]
mov dword [ebx*4 + 0xe56f84], 0
test eax, eax
jne 0x488bc7
mov eax, dword [0xe56dbc]
mov ecx, dword [ebp + 0x1b4]
mov edx, dword [ebp + 0x1b0]
test eax, eax
lea eax, [ebp - 0x260]
push eax
push ecx
push edx
jne 0x488baa
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x488bc1
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
cmp dword [ebp - 0x18], 1
jne 0x488bf1
lea eax, [ebp - 0x260]
lea ecx, [ebp - 0x54]
push eax
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
inc ebx
jmp 0x4889d9
xor esi, esi
mov eax, dword [0xe56f3c]
mov dword [ebp - 0x14], esi
cmp esi, eax
jge 0x488d24
mov ecx, esi
lea edx, [ebp - 0x360]
shl ecx, 6
lea ebx, [ecx + 0xe3bd40]
push ebx
push edx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x488d1e
push ebx
push 0xd09fb0
mov byte [ebp - 0x260], 0
call fcn.004fa6c0
add esp, 4
push eax
push 0xd52ffc
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x260]
push 0x524e54
push eax
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x14
test eax, eax
jne 0x488cc1
mov eax, dword [0xe56dbc]
mov edx, dword [ebp + 0x1b4]
lea ecx, [ebp - 0x260]
test eax, eax
mov eax, dword [ebp + 0x1b0]
push ecx
push edx
push eax
jne 0x488ca4
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x488cbb
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
cmp dword [ebp - 0x18], 1
jne 0x488ceb
lea ecx, [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x54]
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x360]
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
mov eax, dword [0xe56d00]
and ecx, 3
inc eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x14]
mov dword [0xe56d00], eax
inc esi
jmp 0x488bf9
xor esi, esi
mov byte [ebp - 0x360], 0
mov dword [0xe56f3c], esi
mov eax, dword [0xe56f58]
mov dword [ebp - 0x14], esi
cmp esi, eax
jge 0x488e5e
mov ecx, esi
lea edx, [ebp - 0x360]
shl ecx, 8
lea ebx, [ecx + 0xd77490]
push ebx
push edx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x488e58
push ebx
push 0xd09fb0
mov byte [ebp - 0x260], 0
call fcn.004fa6c0
add esp, 4
push eax
push 0xd52ffc
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x260]
push 0x524e04
push eax
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x14
test eax, eax
jne 0x488dfb
mov eax, dword [0xe56dbc]
mov edx, dword [ebp + 0x1b4]
lea ecx, [ebp - 0x260]
test eax, eax
mov eax, dword [ebp + 0x1b0]
push ecx
push edx
push eax
jne 0x488dde
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x488df5
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
cmp dword [ebp - 0x18], 1
jne 0x488e25
lea ecx, [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x54]
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x360]
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
mov eax, dword [0xe56d00]
and ecx, 3
inc eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x14]
mov dword [0xe56d00], eax
inc esi
jmp 0x488d33
lea ecx, [ebp - 0x60]
mov dword [0xe56f58], 0
call fcn.004f076e
lea ecx, [ebp - 0x394]
mov byte [ebp - 4], 1
call fcn.004f0714
lea ecx, [ebp - 0x394]
call fcn.004f05fb
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.004f0714
lea ecx, [ebp - 0x4c]
call fcn.004f05fb
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret