Function at 0x41c2d0
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x8c0]
sub esp, 0x8c0
push 0xffffffffffffffff
push 0x45af53
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x49c23c]
xor eax, ebp
mov dword [ebp + 0x8bc], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
xor edi, edi
mov esi, ecx
mov dword [esi + 0xc8], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
cmp dword [esi + 0x4fc], edi
je 0x41c3a3
cmp dword [esi + 0x500], edi
je 0x41c385
push edi
push 0x80
push 3
push edi
push 3
push 0x80000000
lea eax, [esi + 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x41c37e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x41c377
mov dword [0x49e5bc], 1
xor eax, eax
jmp 0x41c6c4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x3c]
push ecx
push edi
lea edx, [esi + 0x814]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
je 0x41c3a0
cmp dword [ebp - 0x20], edi
jne 0x41c377
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je 0x41c4b4
cmp eax, 0x24000000
jbe 0x41c4b4
push 0x104
lea eax, [ebp + 0x7b8]
push edi
push eax
mov dword [ebp - 0x10], edi
call fcn.00440500
lea eax, [esi + 0x814]
push 0x5c
push eax
call fcn.00440f50
mov ecx, dword [ebp - 0x10]
mov ebx, eax
inc ebx
add esp, 0x14
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
cmp ecx, dword [ebp - 0x1c]
jae 0x41c6b9
jmp 0x41c3f6
mov ebx, dword [ebp - 0x18]
test edi, edi
je 0x41c6b9
lea ecx, [ebp]
call fcn.004244e0
mov edx, dword [ebp - 0x14]
push edx
push ebx
lea eax, [ebp + 0x7b8]
push str._s._d
push eax
mov dword [ebp - 4], 0
call fcn.00418cc0
add esp, 0x10
push 0
lea ebx, [esi + 0x60c]
push ebx
lea ecx, [ebp]
call fcn.00424bd0
test eax, eax
jne 0x41c4ac
push 0x24000000
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp + 0x7b8]
push edx
lea eax, [esi + 0x814]
push eax
lea ecx, [ebp]
call fcn.00424690
test al, al
je 0x41c4ac
mov ecx, esi
call fcn.00418920
cmp dword [ebp + 0x8c8], 0
movzx eax, al
jne 0x41c475
test eax, eax
je 0x41c4ac
mov ecx, esi
call fcn.0041ab60
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test edi, edi
je 0x41c4ac
lea ecx, [ebp]
mov dword [ebp - 4], 0xffffffff
call fcn.00424570
mov eax, dword [ebp - 0x10]
inc dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
jb 0x41c3f3
jmp 0x41c6b9
lea ecx, [ebp]
jmp 0x41c6ad
lea ecx, [ebp + 0x2d8]
call fcn.004244e0
push edi
lea ecx, [esi + 0x60c]
mov eax, 1
push ecx
lea ecx, [ebp + 0x2d8]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
call fcn.00424bd0
test eax, eax
jne 0x41c6a7
push edi
push edi
push 0x5c
cmp dword [esi + 0x4fc], edi
je 0x41c51d
lea ebx, [esi + 0x814]
push ebx
call fcn.00440f50
add esp, 8
inc eax
push eax
push ebx
lea ecx, [ebp + 0x2d8]
call fcn.00424690
mov ecx, esi
call fcn.00418920
movzx edx, al
mov dword [ebp - 0x10], edx
jmp 0x41c53a
lea ebx, [esi + 0x508]
push ebx
call fcn.00440f50
add esp, 8
inc eax
push eax
push ebx
lea ecx, [ebp + 0x2d8]
call fcn.00424690
push edi
push edi
push str.log.txt
lea eax, [esi + 0x710]
push eax
lea ecx, [ebp + 0x2d8]
call fcn.00424690
mov eax, dword [esi + 0xd4]
cmp dword [eax - 0xc], edi
jl 0x41c693
push str.360tray.exe
push eax
call fcn.00441cce
add esp, 8
cmp eax, edi
je 0x41c693
sub eax, dword [esi + 0xd4]
sar eax, 1
cmp eax, 0xffffffff
je 0x41c693
mov eax, dword [esi + 0xd4]
cmp dword [eax - 0xc], edi
jl 0x41c5b3
push str.0002aa1a
push eax
call fcn.00441cce
add esp, 8
cmp eax, edi
je 0x41c5b3
sub eax, dword [esi + 0xd4]
sar eax, 1
cmp eax, 0xffffffff
jne 0x41c613
mov eax, dword [esi + 0xd4]
cmp dword [eax - 0xc], edi
jl 0x41c5dd
push str.0002ef74
push eax
call fcn.00441cce
add esp, 8
cmp eax, edi
je 0x41c5dd
sub eax, dword [esi + 0xd4]
sar eax, 1
cmp eax, 0xffffffff
jne 0x41c613
mov eax, dword [esi + 0xd4]
cmp dword [eax - 0xc], edi
jl 0x41c693
push str.0002efd4
push eax
call fcn.00441cce
add esp, 8
cmp eax, edi
je 0x41c693
sub eax, dword [esi + 0xd4]
sar eax, 1
cmp eax, 0xffffffff
je 0x41c693
push 0x206
lea edx, [ebp + 0x5b2]
xor ecx, ecx
push edi
push edx
mov word [ebp + 0x5b0], cx
call fcn.00440500
push 0x104
lea eax, [ebp + 0x5b0]
push eax
push str.ipcgalaxy2.dat
call fcn.00413b90
add esp, 0x18
test eax, eax
je 0x41c693
lea ecx, [ebp + 0x5b0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41c664
xor eax, eax
jmp 0x41c680
lea ebx, [eax + eax]
mov eax, ebx
call fcn.00443c80
mov eax, esp
push 3
push ebx
lea edx, [ebp + 0x5b0]
push edx
push eax
call fcn.004185e0
push edi
push edi
push str.galaxy2.dat
push eax
lea ecx, [ebp + 0x2d8]
call fcn.00424690
cmp dword [ebp + 0x8c8], edi
jne 0x41c6a0
cmp dword [ebp - 0x10], edi
je 0x41c6a7
mov ecx, esi
call fcn.0041ab60
lea ecx, [ebp + 0x2d8]
mov dword [ebp - 4], 0xffffffff
call fcn.00424570
mov eax, 1
mov dword [esi + 0xc8], eax
lea esp, [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8bc]
xor ecx, ebp
call fcn.004404e6
add ebp, 0x8c0
mov esp, ebp
pop ebp
ret 4