Function at 0x44a220
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491708
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c0074]
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 eax, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, dword [ebx - 0x10]
lea esi, [ebx - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x44a274
cmp ecx, dword [esi]
jne 0x44a274
lock inc dword [eax]
jmp 0x44a29e
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x44a49a
mov eax, dword [edi]
lea ecx, [esi + 0x10]
mov dword [esi + 4], eax
mov edx, dword [edi]
inc edx
push edx
push ebx
call fcn.004023d0
add esp, 8
add esi, 0x10
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], 1
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x2c], 0x4a4fc8
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 2
or ebx, 0xffffffff
cmp edi, ebx
jne 0x44a2e2
xor bl, bl
jmp 0x44a43e
mov eax, dword [ebp - 0x20]
push 0
cmp dword [eax + 4], 1
jne 0x44a380
push 0
push 2
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 0
push eax
push 0xa
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
push eax
push edi
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44a329
xor bl, bl
jmp 0x44a43e
cmp dword [ebp - 0x24], 0xa
je 0x44a336
xor bl, bl
jmp 0x44a43e
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00403990
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.0044ae00
test al, al
je 0x44a37b
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44a41a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor bl, bl
jmp 0x44a43e
jmp 0x44a41e
xor eax, eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x24]
push eax
push 5
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44a3a5
xor bl, bl
jmp 0x44a43e
cmp dword [ebp - 0x24], 5
je 0x44a3b2
xor bl, bl
jmp 0x44a43e
call fcn.00403f70
mov ecx, eax
test ecx, ecx
je 0x44a49f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.004038d0
test al, al
jne 0x44a3ec
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.004084e0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x20]
call fcn.0044ae00
test al, al
je 0x44a41e
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44a41a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor bl, bl
jmp 0x44a43e
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44a43c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, 1
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], 0x4a4fc8
test edi, edi
je 0x44a45b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44a47a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
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.0046c8db
mov esp, ebp
pop ebp
ret 4
call fcn.004023c0
push 0x80004005
call fcn.004023a0
int3