Function at 0x42c890
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d768
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5c6150]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
jne 0x42c8d5
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
sub esp, 0xc
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push 4
push 0
push 0x1f01ff
push ebx
call fcn.0041a0d0
test eax, eax
je 0x42c932
mov esi, dword [esi + 0x18]
push str.erropenloc1
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x42cbdb
push str.erropenloc1
push eax
lea ecx, [esi + 0x140]
call fcn.00415220
jmp 0x42cbdb
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x18]
call fcn.0042cc60
test al, al
je 0x42c96b
mov esi, dword [esi + 0x18]
push str.locok1
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x42c964
push str.locok1
push eax
lea ecx, [esi + 0x140]
call fcn.00415220
mov bl, 1
jmp 0x42cbdd
push 2
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
push eax
push 0
push dword [ebp - 0x18]
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x42c9c5
call fcn.004193d0
test eax, eax
jns 0x42c9c5
je 0x42c9c5
mov esi, dword [esi + 0x18]
push str.erropenloc2
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x42cbdb
push str.erropenloc2
push eax
lea ecx, [esi + 0x140]
call fcn.00415220
jmp 0x42cbdb
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.00423a60
test eax, eax
je 0x42ca01
mov esi, dword [esi + 0x18]
push str.erropenloc3
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x42cbdb
push str.erropenloc3
push eax
lea ecx, [esi + 0x140]
call fcn.00415220
jmp 0x42cbdb
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
test eax, eax
jne 0x42ca0f
test edi, edi
je 0x42ca20
push eax
push edi
push 0x15
push dword [esi]
call fcn.004950c0
add esp, 0x10
mov dword [esi + 0x1c], edi
push esi
push 0x42cc10
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
push dword [ebp + 8]
call fcn.0041a4d0
test al, al
jne 0x42cac0
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0
push eax
push 0x200002
push dword [esi]
call fcn.00494fb0
mov eax, dword [0x5c6ad0]
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 1
lea eax, [ebp + 0xc]
push dword [ebp + 0x10]
push str.err_d
push eax
call fcn.00415720
mov ecx, dword [esi + 0x18]
add esp, 0x18
push dword [ebp + 0xc]
call fcn.00423ab0
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x18]
movlpd qword [ebp - 0x20], xmm0
call fcn.00423a60
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp - 0x20]
sub ecx, edi
mov dword [eax + 0x144], ecx
lea ecx, [ebp - 0x18]
call fcn.00419400
cmp dword [ebp + 0x10], 0x1a0
jne 0x42cab8
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp + 0xc]
jmp 0x42cbd6
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x200002
push dword [esi]
call fcn.00494fb0
mov ecx, dword [ebp - 0x10]
add esp, 0xc
lea eax, [ecx - 0xc8]
cmp eax, 0x63
ja 0x42cbaa
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
push eax
push 0x300008
push dword [esi]
movsd qword [ebp - 0x28], xmm0
call fcn.00494fb0
cvttsd2si ecx, qword [ebp - 0x28]
mov eax, dword [esi + 0x18]
add esp, 0xc
mov dword [eax + 0x144], ecx
cvttsd2si eax, qword [ebp - 0x28]
test eax, eax
jle 0x42cb28
mov ecx, dword [esi + 0x18]
push eax
push eax
call fcn.0043a2e0
push 0
push 0
push 0
lea ecx, [ebp - 0x18]
call fcn.0041a170
test eax, eax
je 0x42cb63
mov esi, dword [esi + 0x18]
push str.errmd5
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x42cbdb
push str.errmd5
push eax
lea ecx, [esi + 0x140]
call fcn.00415220
jmp 0x42cbdb
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x18]
call fcn.0042cc60
test al, al
jne 0x42c964
mov esi, dword [esi + 0x18]
push str.errmd5
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x42cb99
push str.errmd5
push eax
lea ecx, [esi + 0x140]
call fcn.00415220
lea ecx, [ebp - 0x18]
call fcn.00419400
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x42cbdb
mov eax, dword [0x5c6ad0]
mov dword [ebp + 0x10], eax
push ecx
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 2
push str.err_d
push eax
call fcn.00415720
mov ecx, dword [esi + 0x18]
add esp, 0xc
push dword [ebp + 0x10]
call fcn.00423ab0
lea ecx, [ebp + 0x10]
call fcn.00413c80
xor bl, bl
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42cbeb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc