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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae858
push 0x4a2bd4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp + 8]
push eax
call dword [0x5429b0]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x46743c
mov eax, 1
jmp 0x467609
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 - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x467468
mov eax, 1
jmp 0x467609
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x19000
jbe 0x46748c
mov eax, 1
jmp 0x467609
push 0
push 0
push 0
push 2
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
jne 0x4674bd
mov eax, 1
jmp 0x467609
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x24], 0
jne 0x4674ec
mov eax, 1
jmp 0x467609
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
xor eax, eax
mov ax, word [edx + 0x14]
mov ecx, dword [ebp - 0x38]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x24], 0xe0000060
je 0x46753c
push 8
push 0x51c5b4
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.ntdll.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x46755c
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x4c], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
jmp 0x467609
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.0046761c
add esp, 8
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0xc], 0
je 0x4675e4
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.0046761c
add esp, 8
mov dword [ebp - 0x44], eax
push 0x51c5bc
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.ntdll.dll__stricmp]
add esp, 8
test eax, eax
jne 0x4675d9
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x50], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
jmp 0x467609
mov edx, dword [ebp - 0x30]
add edx, 0x14
mov dword [ebp - 0x30], edx
jmp 0x467584
mov dword [ebp - 4], 0xffffffff
jmp 0x4675fd
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4