Function at 0x444880
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x44b350
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x5c]
mov ecx, dword [0x44c7f0]
xor ebx, ebx
xor esi, esi
mov dword [eax], ecx
mov edx, dword [0x44c7f4]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x24], ebx
mov dword [eax + 4], edx
mov ecx, dword [0x44c7f8]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [eax + 8], ecx
mov edx, dword [0x44c7fc]
mov dword [eax + 0xc], edx
cmp word [0x457d78], bx
je 0x4448ee
mov eax, 0x457d78
add eax, 2
inc esi
cmp word [eax], bx
jne 0x4448e5
push esi
lea ecx, [esp + 0x28]
call fcn.0043cd20
mov eax, dword [esp + 0x24]
mov cx, word [0x457d78]
mov edx, 0x457d7a
mov word [eax], cx
mov cx, word [eax]
add eax, 2
test cx, cx
je 0x444927
mov cx, word [edx]
add edx, 2
mov word [eax], cx
add eax, 2
cmp cx, bx
jne 0x444916
mov dword [esp + 0x28], esi
mov edi, dword [esp + 0x60]
mov byte [esp + 0x54], 1
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x444957
mov edx, dword [esp + 0x24]
push edx
call fcn.0043c8a0
push edi
call fcn.0043c8a0
add esp, 8
jmp 0x444c4b
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44498d
mov eax, dword [esp + 0x24]
push eax
call fcn.0043c8a0
push edi
call fcn.0043c8a0
add esp, 8
jmp 0x444c4b
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x19], ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x1d], ecx
mov byte [esp + 0x18], bl
mov byte [esp + 0x21], cl
push ebx
mov dword [esp + 0x1c], edx
push eax
lea ecx, [esp + 0x20]
push 2
mov dword [esp + 0x28], edx
push ecx
push esi
mov word [esp + 0x34], dx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x18]
cmp al, 0x50
je 0x444a4a
mov cl, byte [esp + 0x19]
cmp cl, 0x4b
je 0x444a4a
cmp al, 0x37
jne 0x444aab
cmp cl, 0x7a
jne 0x444aab
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], ebx
xor esi, esi
mov word [edx], bx
cmp word [0x457d78], bx
je 0x444a0f
mov eax, 0x457d78
add eax, 2
inc esi
cmp word [eax], bx
jne 0x444a06
push esi
lea ecx, [esp + 0x28]
call fcn.0043cd20
mov eax, dword [esp + 0x24]
mov cx, word [0x457d78]
mov edx, 0x457d7a
mov word [eax], cx
mov cx, word [eax]
add eax, 2
test cx, cx
je 0x444aa7
mov cx, word [edx]
add edx, 2
mov word [eax], cx
add eax, 2
cmp cx, bx
jne 0x444a37
jmp 0x444aa7
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], ebx
xor esi, esi
mov word [edx], bx
cmp word [0x457d70], bx
je 0x444a6e
mov eax, 0x457d70
add eax, 2
inc esi
cmp word [eax], bx
jne 0x444a65
push esi
lea ecx, [esp + 0x28]
call fcn.0043cd20
mov eax, dword [esp + 0x24]
mov cx, word [0x457d70]
mov edx, 0x457d72
mov word [eax], cx
mov cx, word [eax]
add eax, 2
test cx, cx
je 0x444aa7
mov cx, word [edx]
add edx, 2
mov word [eax], cx
add eax, 2
cmp cx, bx
jne 0x444a96
mov dword [esp + 0x28], esi
mov edi, dword [esp + 0x6c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x457d5c
mov edx, dword [edi]
push edx
call ebp
mov esi, eax
mov eax, dword [edi]
push 0x457d48
push eax
call ebp
mov edi, eax
mov ebp, 1
cmp esi, ebx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x10], ebp
je 0x444ae5
lea ecx, [esp + 0x10]
push ecx
call esi
cmp edi, ebx
jne 0x444b09
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ebp
push edx
call fcn.0043c8a0
mov eax, dword [esp + 0x64]
push eax
call fcn.0043c8a0
add esp, 8
jmp 0x444c4b
push 3
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.0043cd20
mov eax, dword [esp + 0x10]
xor ebp, ebp
cmp eax, ebx
mov byte [esp + 0x54], 2
jbe 0x444c2a
jmp 0x444b39
mov edi, dword [esp + 0x6c]
mov word [esp + 0x3c], bx
mov word [esp + 0x3e], bx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 3
push ecx
push ebx
push ebp
call edi
cmp word [esp + 0x3c], 8
jne 0x444bec
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x34], ebx
xor edi, edi
mov word [edx], bx
cmp word [esi], bx
je 0x444b7e
mov eax, esi
add eax, 2
inc edi
cmp word [eax], bx
jne 0x444b75
push edi
lea ecx, [esp + 0x34]
call fcn.0043cd20
mov eax, dword [esp + 0x30]
mov cx, word [esi]
lea edx, [esi + 2]
mov word [eax], cx
mov cx, word [eax]
add eax, 2
test cx, cx
je 0x444bb1
mov cx, word [edx]
add edx, 2
mov word [eax], cx
add eax, 2
cmp cx, bx
jne 0x444ba0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
push edx
push eax
mov dword [esp + 0x3c], edi
call fcn.0043c590
add esp, 8
cmp eax, ebx
je 0x444be8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 2
call fcn.00442a90
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jb 0x444b35
jmp 0x444c2a
mov edi, dword [esp + 0x6c]
lea ecx, [esp + 0x3c]
push ecx
push 1
push ebp
call edi
cmp word [esp + 0x3c], 8
jne 0x444c1c
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x5c]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 2
call fcn.00442a90
mov eax, dword [esp + 0x30]
push eax
call fcn.0043c8a0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0043c8a0
mov edx, dword [esp + 0x68]
push edx
call fcn.0043c8a0
add esp, 0xc
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret