Function at 0x41b705
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push edi
push esi
push ebx
mov edi, 0x4d3eec
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], 0xffffffff
push 0x1b0
push 0
push esi
call fcn.00414c29
mov ebx, eax
sub esp, 0xfffffff4
cmp ebx, 0xffffffff
je 0x41b898
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
push 4
push eax
push ebx
call fcn.004b31f3
sub esp, 0xfffffff4
cmp eax, 4
jne 0x41b770
lea eax, [ebp - 0x14]
push 4
push eax
push ebx
call fcn.004b31f3
sub esp, 0xfffffff4
cmp eax, 4
jne 0x41b770
cmp dword [ebp - 0x14], 0
jne 0x41b78d
push 0
push str.CORRUPT_LOCKFILE
call fcn.0041b544
sub esp, 0xfffffff8
push ebx
call fcn.004ac600
sub esp, 0xfffffffc
jmp 0x41b898
push 1
push dword [ebp - 0x14]
mov eax, dword [fcn.004092c1]
call eax
sub esp, 0xfffffff8
mov dword [ebp - 0x10], eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push ebx
call fcn.004b31f3
sub esp, 0xfffffff4
push ebx
call fcn.004ac600
sub esp, 0xfffffffc
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call fcn.00409aaf
sub esp, 0xfffffff8
test eax, eax
je 0x41b88e
push dword [ebp - 0x1c]
call fcn.004123ca
sub esp, 0xfffffffc
test al, al
jne 0x41b88e
push str.._rlock
push esi
call fcn.0040a950
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
push 0xffffffffffffffff
push 0
mov ebx, 0xffffffff
push dword [ebp + 0x14]
push dword [ebp - 0xc]
call fcn.0041bc04
sub esp, 0xfffffff0
test al, al
je 0x41b862
push 0x1b0
push 0
push esi
call fcn.00414c29
add esp, 0xc
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41b862
push 4
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.004b31f3
sub esp, 0xfffffff4
cmp eax, 4
jne 0x41b862
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jne 0x41b862
lea eax, [ebp - 0x14]
push 4
push eax
push ebx
call fcn.004b31f3
sub esp, 0xfffffff4
cmp eax, 4
jne 0x41b862
cmp dword [ebp - 0x14], 0
jne 0x41b872
cmp ebx, 0xffffffff
je 0x41b884
push ebx
call fcn.004ac600
sub esp, 0xfffffffc
jmp 0x41b884
push ebx
call fcn.004ac600
sub esp, 0xfffffffc
push esi
call fcn.00414fee
add esp, 4
push dword [ebp - 0xc]
mov eax, dword [edi]
call eax
add esp, 4
push dword [ebp - 0x10]
mov eax, dword [edi]
call eax
sub esp, 0xfffffffc
cmp dword [ebp + 0xc], 0xffffffff
je 0x41b981
cmp ebx, 0xffffffff
je 0x41b981
lea eax, [ebp - 0x80]
push eax
push esi
call fcn.00414eb2
add esp, 8
test eax, eax
jne 0x41b981
push 0
call fcn.004ac95f
sub esp, 0xfffffffc
sub eax, dword [ebp - 0x48]
mov ebx, edx
mov dword [ebp - 0x88], eax
sbb ebx, dword [ebp - 0x44]
mov dword [ebp - 0x84], ebx
mov edx, dword [ebp - 0x84]
mov ecx, dword [ebp + 0xc]
mov eax, ecx
sar eax, 0x1f
cmp edx, eax
jl 0x41b981
jg 0x41b904
mov edx, dword [ebp - 0x88]
cmp edx, ecx
jbe 0x41b981
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x41b91d
push dword [ebp + 0xc]
push esi
push str.Breaking_lock_on__s._It_is_more_than__d_seconds_old._n
call fcn.004075c4
sub esp, 0xfffffff4
jmp 0x41b978
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41b935
mov eax, dword [ebp - 8]
jmp 0x41b93a
mov eax, 0x4d5fe8
push dword [ebp - 0x84]
push dword [ebp - 0x88]
push esi
push eax
push dword [ebp - 0x1c]
push str.Breaking_lock_from_pid__d_s__on__s._It_is__I64d_seconds_old._n
call fcn.004075c4
sub esp, 0xffffffe8
cmp dword [ebp - 4], 0
je 0x41b968
push dword [ebp - 4]
mov eax, dword [edi]
call eax
add esp, 4
cmp dword [ebp - 8], 0
je 0x41b978
push dword [ebp - 8]
mov eax, dword [edi]
call eax
add esp, 4
push esi
call fcn.00414fee
sub esp, 0xfffffffc
nop
pop ebx
pop esi
pop edi
leave
ret