Function at 0x468e10
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aead0
push 0x4a2bd4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffb4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x5c
mov eax, dword [ebp + 8]
push eax
call fcn.0040a2a0
add esp, 8
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x28], 0
cmp dword [ebp + 0xc], 0
jne 0x468ecb
mov dword [ebp - 0x3c], 0
jmp 0x468e76
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 5
jae 0x468ec9
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax*4 + 0x4aea94]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
movsx eax, byte [edx]
cmp eax, 0x30
jne 0x468e9d
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x40]
push eax
call fcn.00402b10
add esp, 8
test eax, eax
jne 0x468ec7
cmp dword [ebp - 0x3c], 0
je 0x468ebe
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x34], 1
jmp 0x468ec9
jmp 0x468e6d
jmp 0x468ed2
mov dword [ebp - 0x34], 1
cmp dword [ebp - 0x34], 0
jne 0x468edf
xor eax, eax
jmp 0x469164
push 0
push 0
push 3
push 0
push 3
push closesocket
mov ecx, dword [ebp + 8]
push ecx
call dword [0x54299c]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x468f08
xor eax, eax
jmp 0x469164
mov edx, dword [ebp + 8]
push edx
call fcn.00469175
add esp, 4
test eax, eax
jne 0x468f2c
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x469164
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xa00000
jbe 0x468f4d
xor eax, eax
jmp 0x469164
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
jne 0x468f7b
xor eax, eax
jmp 0x469164
push 0
push 0
push 0
push 4
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c], 0
jne 0x468fa7
xor eax, eax
jmp 0x469164
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x2c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
xor edx, edx
mov dx, word [ecx + 0x14]
mov eax, dword [ebp - 0x58]
lea ecx, [eax + edx + 0x18]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x58]
cmp dword [edx], 0x4550
jne 0x469009
mov eax, dword [ebp - 0x58]
xor ecx, ecx
mov cx, word [eax + 0x5c]
cmp ecx, 1
je 0x469009
mov edx, dword [ebp - 0x58]
cmp dword [edx + 0x28], 0
je 0x469009
mov eax, dword [ebp - 0x58]
xor ecx, ecx
mov cx, word [eax + 6]
test ecx, ecx
jne 0x469015
mov dword [ebp - 0x30], 0
jmp 0x469116
push 0xc
push 0x51d5bc
mov edx, dword [ebp - 0x58]
sub edx, 0x10
push edx
call sub.ntdll.dll_memcmp
add esp, 0xc
test eax, eax
je 0x46904b
mov eax, dword [ebp - 0x48]
push eax
push 0
mov ecx, dword [ebp - 0x58]
xor edx, edx
mov dx, word [ecx + 6]
push edx
call fcn.0042aa5b
add esp, 0xc
test eax, eax
je 0x469057
mov dword [ebp - 0x30], 1
jmp 0x469116
mov eax, dword [ebp - 0x58]
xor ecx, ecx
mov cx, word [eax + 6]
cmp ecx, 2
jne 0x46907c
mov edx, dword [ebp - 0x48]
cmp dword [edx], 0x7865742e
je 0x46907c
mov dword [ebp - 0x30], 1
jmp 0x469116
push 0x51d5cc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x4690a3
mov ecx, dword [ebp - 0x48]
cmp dword [ecx], 0x6164722e
jne 0x4690a3
mov dword [ebp - 0x30], 1
jmp 0x469116
cmp dword [ebp - 0x28], 0
je 0x4690cf
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x88]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x4690c6
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x5c]
cmp edx, dword [ecx + 0x50]
jbe 0x4690cf
mov dword [ebp - 0x30], 1
jmp 0x469116
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0xa8]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x50]
cmp eax, dword [edx + 0x50]
ja 0x4690ef
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0x58], 0
je 0x469116
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0042ac97
add esp, 0x10
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x54]
je 0x469116
mov dword [ebp - 0x30], 1
mov dword [ebp - 4], 0xffffffff
jmp 0x469136
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [ebp - 0x30], 0
je 0x469161
mov edx, dword [ebp + 8]
push edx
call fcn.0044b990
mov ecx, eax
call fcn.0044bdb4
test eax, eax
je 0x469161
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret