Function at 0x463f40
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b4370
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [esp + 0x20]
push str.datapurify_ignore.dat
push eax
call fcn.0047b34a
add esp, 8
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
mov dword [esp + 0x74], esi
mov ecx, dword [esp + 0x34]
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [esp + 0x14], edi
cmp edi, 0xffffffff
je 0x4641cf
lea edx, [esp + 0x2c]
push edx
push edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4641c8
mov esi, dword [esp + 0x2c]
test esi, esi
jbe 0x4641c8
lea eax, [esi + 1]
push 0x4e74e0
push eax
call fcn.00490c93
mov edi, eax
add esp, 8
test edi, edi
je 0x4641c4
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x1c]
push ecx
push esi
push edi
push edx
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push edi
push ecx
mov byte [eax + edi], 0
call fcn.0048234b
push edi
call fcn.00490de7
lea eax, [ebx + 8]
add esp, 0xc
push eax
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x44], 1
add ebx, 0x20
mov eax, ebx
mov byte [esp + 0x60], 2
call fcn.00464470
mov edx, dword [0x4e7464]
mov eax, dword [edx + 0xc]
xor esi, esi
mov ecx, 0x4e7464
mov dword [esp + 0x24], esi
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x60], 3
mov edi, dword [esp + 0x1c]
mov edx, edi
mov dword [esp + 0x10], edi
cmp word [edi], si
je 0x464130
movzx eax, word [edi]
cmp ax, 9
jne 0x4640a6
xor ecx, ecx
push edx
mov word [edi], cx
call fcn.00490c5c
add esp, 4
mov esi, eax
add edi, 2
mov dword [esp + 0x24], esi
mov edx, edi
jmp 0x464122
cmp ax, 0xd
jne 0x46411f
xor eax, eax
mov word [edi], ax
test esi, esi
jbe 0x4640fb
lea edi, [esp + 0x28]
call fcn.004059e0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x38], ecx
call fcn.0040bbd0
add eax, 0x10
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x68], 4
call fcn.00464370
lea eax, [esp + 0x38]
mov byte [esp + 0x60], 3
call fcn.00464210
lea esi, [esp + 0x28]
mov dword [esp + 0x24], 0
call fcn.00405750
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
add edx, 2
mov dword [esp + 0x10], edx
mov edi, edx
jmp 0x464126
add edi, 2
mov dword [esp + 0x10], edi
cmp word [edi], 0
jne 0x464082
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x464135
sub eax, edi
sar eax, 1
je 0x46418b
test esi, esi
jbe 0x46418b
lea edi, [esp + 0x28]
call fcn.004059e0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x38], ecx
call fcn.0040bbd0
add eax, 0x10
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x68], 5
call fcn.00464370
lea eax, [esp + 0x38]
call fcn.00464210
mov byte [esp + 0x60], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4641b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x1c]
call fcn.00406090
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4641f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret