Function at 0x4db3f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526320
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x588eb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [edi + 0x20]
push eax
mov dword [ebp - 0x38], vtable.ProtocolFilters::AutoLock.0
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebx, [edi + 8]
mov dword [ebp - 4], 0
cmp ebx, esi
je 0x4db457
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4db44c
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, ebx
push eax
call fcn.004c3110
lea eax, [edi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 1
push dword [esi + 4]
call fcn.004d77e0
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
lea eax, [edi + 0x20]
push eax
mov dword [edi + 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp dword [ebx + 0x14], 8
mov byte [ebp - 4], 2
mov byte [ebp - 0x29], 1
jb 0x4db4b2
mov ebx, dword [ebx]
push 0x52bc94
push ebx
call fcn.0050a7e8
mov esi, eax
add esp, 8
test esi, esi
jne 0x4db506
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], al
cmp edx, 0x10
jb 0x4db5f8
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4db4f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4db647
push edx
push ecx
call fcn.004fbca6
add esp, 8
jmp 0x4db5f8
push esi
push 4
lea eax, [ebp - 0x30]
push 1
push eax
call fcn.0050b4f5
add esp, 0x10
cmp eax, 4
jne 0x4db5ae
mov ebx, dword [ebp - 0x30]
nop dword [eax]
nop word [eax + eax]
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x7d0
ja 0x4db5e6
mov eax, dword [ebp - 0x18]
cmp ecx, eax
ja 0x4db55a
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x4db567
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.004b39e0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push esi
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x28]
push 1
push eax
call fcn.0050b4f5
add esp, 0x10
cmp eax, dword [ebp - 0x30]
jne 0x4db5e6
push ebx
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.004d6340
push esi
push 4
lea eax, [ebp - 0x30]
push 1
push eax
call fcn.0050b4f5
add esp, 0x10
cmp eax, 4
je 0x4db530
mov bl, byte [ebp - 0x29]
push esi
call fcn.0050a8d3
mov edx, dword [ebp - 0x14]
add esp, 4
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x4db5f4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4db5ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4db64c
jmp 0x4db5ea
xor bl, bl
jmp 0x4db5b1
push edx
push ecx
call fcn.004fbca6
add esp, 8
test bl, bl
jne 0x4db61d
mov esi, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 3
push dword [esi + 4]
call fcn.004d77e0
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
lea eax, [edi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fbc95
mov esp, ebp
pop ebp
ret 4
call fcn.00501cb1
call fcn.00501cb1
int3