Function at 0x55de50
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x5d6128
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [0x6697fc]
push ebx
push ebp
push esi
test eax, eax
push edi
mov dword [esp + 0x20], ecx
je 0x55dea1
mov eax, dword [esp + 0x80]
push 0
push 0x8000080
push 4
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
mov dword [esp + 0x14], ebp
jmp 0x55dede
mov ecx, dword [esp + 0x80]
push ecx
lea ecx, [esp + 0x14]
call fcn.005add0d
mov edx, dword [esp + 0x10]
push 0
push 0x8000080
push 4
push 0
push 0
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebp
call fcn.005adc4d
cmp ebp, 0xffffffff
je 0x55e02f
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
jne 0x55df02
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x55e0f1
push 0
push ebx
push 0
push 4
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov esi, eax
test esi, esi
jne 0x55df36
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
push 0
push 0
push 0
push 2
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x55df6e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
lea ecx, [esp + 0x2c]
call fcn.00524c60
lea eax, [esp + 0x80]
lea ecx, [esp + 0x24]
push eax
push 1
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x84], 0
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x8c], ebx
call fcn.00525730
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
test ebx, ebx
jne 0x55dfca
lea ecx, [esp + 0x2c]
call fcn.005254d0
jmp 0x55e01b
mov edx, dword [esp + 0x80]
push 0
push edx
push 0
push 4
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x1c], ebx
jne 0x55dff6
lea ecx, [esp + 0x2c]
call fcn.005254d0
jmp 0x55e01b
push 0
push 0
push 0
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
jne 0x55e046
lea ecx, [esp + 0x2c]
call fcn.005254d0
push ebx
call esi
push ebp
call esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x78], 0xffffffff
call fcn.00524ca0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
mov ecx, dword [esp + 0x34]
xor edx, edx
xor eax, eax
test ecx, ecx
jbe 0x55e0af
mov ecx, dword [esp + 0x80]
jmp 0x55e05f
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x30]
mov ebx, dword [esi + eax*8]
lea ebp, [ebx + edx]
cmp ebp, ecx
jbe 0x55e071
sub ecx, edx
mov ebx, ecx
mov esi, dword [esi + eax*8 + 4]
mov ecx, ebx
mov ebp, ecx
add edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
add edx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x80]
cmp ecx, edx
jbe 0x55e09d
mov esi, dword [esp + 0x34]
inc eax
cmp eax, esi
jb 0x55e05b
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call esi
lea ecx, [esp + 0x2c]
call fcn.005254d0
push ebp
call esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x78], 0xffffffff
mov dword [eax + 0x428], ecx
lea ecx, [esp + 0x2c]
mov dword [eax + 0x42c], 0
call fcn.00524ca0
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 4