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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457130
push 0x44bffc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 0x20], ebx
or edi, 0xffffffff
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
lea esi, [eax + 0xc2]
push 0x460ef8
push esi
call fcn.00449570
test eax, eax
jne 0x446a38
push 0x461110
push esi
call fcn.00449570
test eax, eax
jne 0x446a38
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x461110
push esi
call fcn.00449570
test eax, eax
je 0x446a5d
push esi
call fcn.00447070
test eax, eax
jne 0x446a5d
mov dword [ebp - 4], 0xffffffff
jmp 0x446c0a
push ebx
push 0x10000082
push 3
push ebx
push 1
push 0x80000000
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
call ebx
mov edi, eax
mov dword [ebp - 0x44], edi
cmp edi, 0xffffffff
jne 0x446ab9
push esi
call fcn.00447070
test eax, eax
jne 0x446a92
mov dword [ebp - 4], edi
jmp 0x446c0a
push 0
push 0x10000082
push 3
push 0
push 1
push 0x80000000
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x44], edi
cmp edi, 0xffffffff
jne 0x446ab9
mov dword [ebp - 4], eax
jmp 0x446c0a
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x1c], eax
push 0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea edx, [ebp - 0x38]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x446bcc
cmp dword [ebp - 0x24], 0xc
jne 0x446bcc
mov esi, dword [ebp - 0x34]
and esi, 0xff
shl esi, 8
mov eax, dword [ebp - 0x33]
and eax, 0xff
or esi, eax
mov dword [ebp - 0x28], esi
test si, si
je 0x446bcc
cmp si, 0x28
ja 0x446bcc
and esi, 0xffff
shl esi, 4
push esi
call fcn.0044c0d4
add esp, 4
mov ebx, eax
mov dword [ebp - 0x40], ebx
test ebx, ebx
jne 0x446b3d
mov dword [ebp - 4], 0xffffffff
jmp 0x446c0a
push 0
lea ecx, [ebp - 0x24]
push ecx
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x446bcc
cmp dword [ebp - 0x24], esi
jne 0x446bcc
xor esi, esi
mov dword [ebp - 0x3c], esi
cmp si, word [ebp - 0x28]
jae 0x446bcc
and esi, 0xffff
shl esi, 4
add esi, ebx
mov dword [ebp - 0x2c], esi
xor edx, edx
mov dh, byte [esi + 0xc]
mov dl, byte [esi + 0xd]
shl edx, 8
xor eax, eax
mov al, byte [esi + 0xe]
or edx, eax
shl edx, 8
xor ecx, ecx
mov cl, byte [esi + 0xf]
or edx, ecx
xor eax, eax
mov ah, byte [esi + 8]
mov al, byte [esi + 9]
shl eax, 8
xor ecx, ecx
mov cl, byte [esi + 0xa]
or eax, ecx
shl eax, 8
xor ecx, ecx
mov cl, byte [esi + 0xb]
or eax, ecx
add edx, eax
cmp edx, dword [ebp - 0x1c]
jle 0x446bb6
mov dword [ebp - 4], 0xffffffff
jmp 0x446c0a
cmp dword [esi], 0x656d616e
jne 0x446bd5
mov edx, dword [ebp + 8]
push edx
push esi
push edi
call fcn.00446c40
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x446c0a
mov esi, dword [ebp - 0x3c]
inc esi
jmp 0x446b57
cmp edi, 0xffffffff
je 0x446c16
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x446c26
push eax
call fcn.0044c186
add esp, 4
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4