Function at 0x425990
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4500
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x519100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov edx, edi
mov dword [ebp - 0x2c], eax
movq xmm0, qword [str.pkgreader]
mov dword [ebp - 0x30], eax
mov eax, dword [0x4ff6d8]
mov dword [ebp - 0x18], 0x41363346
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0x41453944
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x58]
push 0x21
push str.FileLoader:_loading_file__...
movq qword [ebp - 0x58], xmm0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], 0x3c
call fcn.00429410
lea eax, [esi + 8]
mov dword [ebp - 0x28], 0xc
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [edi + 0x14], 7
mov eax, edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 1
jbe 0x425a3d
mov eax, dword [edi]
push 0
push 0x80
push 3
lea ecx, [ebp - 0x28]
push ecx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x425a6e
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2c]
mov dword [eax], esi
cmp esi, 0xffffffff
je 0x425b9f
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x425bd1
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x14], ecx
lea edx, [esi + 8]
lea ecx, [ebp - 0x38]
mov dword [esi + 0x10], eax
call fcn.00429530
push eax
lea ecx, [esi + 0x18]
call fcn.004290b0
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x425aeb
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x425aeb
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4cc2f8]
mov ecx, edi
call esi
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x425aeb
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4cc2f8]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x8c]
mov eax, dword [eax]
cdq
push edx
push eax
call fcn.0042bd20
add esp, 8
mov esi, eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.0042bc80
push 1
push 0x4fee8c
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0040ba30
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
xor ecx, ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x58]
mov ecx, dword [ebp - 0x30]
push esi
push eax
push dword [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00429b50
lea ecx, [ebp - 0x58]
call fcn.00423780
lea ecx, [ebp - 0x74]
call fcn.00423780
lea ecx, [ebp - 0x8c]
call fcn.00423780
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048471b
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x2c]
push ecx
push edi
push 0x2e
push str.FileLoader:_unable_to_open_file___code__
push eax
lea ecx, [ebp - 0x40]
call fcn.00429430
push 0x516930
lea eax, [ebp - 0x40]
push eax
call fcn.00486900
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x2c]
push ecx
push 0x2d
push str.FileLoader:_unable_to_get_file_size__code__
push eax
lea ecx, [ebp - 0x40]
call fcn.00429240
push 0x516930
lea eax, [ebp - 0x40]
push eax
call fcn.00486900
int3