Function at 0x44fd10
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55af00
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x60b3c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
sub esp, 0x14
push 1
push eax
call fcn.0044e1e0
test eax, eax
jns 0x44fe85
lea esi, [ebp - 0x17]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
nop
mov eax, 0xcccccccd
dec esi
mul ebx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [esi], bl
mov ebx, edx
test ebx, ebx
jne 0x44fd60
push ecx
lea eax, [ebp - 0x17]
push eax
push esi
lea ecx, [ebp - 0x64]
call fcn.004416b0
lea eax, [ebp - 0x64]
mov edx, str.Failed_to_open_the_file:
push eax
lea ecx, [ebp - 0x44]
call fcn.00443f20
mov ecx, dword [ebp - 0x50]
add esp, 4
cmp ecx, 0x10
jb 0x44fdd8
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44fdce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ff92
push ecx
push edx
call fcn.0050fd95
add esp, 8
push 0x615004
call fcn.004f98eb
mov edi, dword [0x6170c0]
add esp, 4
test edi, edi
je 0x44fdf9
lock inc dword [edi + 4]
mov edi, dword [0x6170c0]
mov esi, dword [0x6170bc]
push 0x615004
call fcn.004f9907
mov eax, dword [esi]
add esp, 4
cmp dword [ebp - 0x30], 0x10
mov ecx, esi
mov edx, dword [eax + 4]
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call edx
test edi, edi
je 0x44fe46
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x44fe46
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x44fe46
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x44ff6e
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44fe74
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ff97
push ecx
push edx
call fcn.0050fd95
add esp, 8
xor al, al
jmp 0x44ff74
mov esi, dword [edi]
lea eax, [ebp - 0x48]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push eax
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, eax
mov dword [edi + 0x10], ecx
test ecx, ecx
jne 0x44feb8
call fcn.0044e1c0
mov esi, eax
jmp 0x44ff05
mov eax, dword [ebp - 0x4c]
push 0
push eax
push 0
push 0
push 4
push ecx
mov dword [edi + 0xc], eax
mov dword [edi + 0x20], 4
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov dword [edi + 8], eax
test eax, eax
jne 0x44ff72
call fcn.0044e1c0
push dword [edi + 0x10]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x10], 0
test esi, esi
jns 0x44ff72
push 0x615004
call fcn.004f98eb
mov edi, dword [0x6170c0]
add esp, 4
test edi, edi
je 0x44ff2a
lock inc dword [edi + 4]
mov edi, dword [0x6170c0]
mov esi, dword [0x6170bc]
push 0x615004
call fcn.004f9907
mov eax, dword [esi]
add esp, 4
mov ecx, esi
push str.Failed_to_map_file_to_memory
call dword [eax + 4]
test edi, edi
je 0x44ff6e
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x44ff6e
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x44ff6e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
xor al, al
jmp 0x44ff74
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 - 0x14]
xor ecx, ebp
call fcn.0050fd4b
mov esp, ebp
pop ebp
ret 4
call fcn.0052865a
call fcn.0052865a
int3