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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004f088
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x1005a030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 4], 0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x3c], 0xff
lea ecx, [ebp + 0xc]
call fcn.100073e0
test eax, eax
ja 0x10033d82
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x38]
mov dword [eax + 8], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10001b60
mov eax, dword [ebp + 8]
jmp 0x100342ab
mov dword [ebp - 0x20], 0
push 0
push 0x80
push 3
push 0
push 3
push closesocket
lea ecx, [ebp + 0xc]
call fcn.10001b90
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x10033e6d
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x40]
mov dword [edx], eax
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x38]
mov dword [edx + 8], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10001b60
mov eax, dword [ebp + 8]
jmp 0x100342ab
push 0
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1e00000
jbe 0x10033f49
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x38]
mov dword [eax + 8], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10001b60
mov eax, dword [ebp + 8]
jmp 0x100342ab
push 0
push 0
push 0
push 0x8000002
push 0
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10034037
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x40]
mov dword [edx], eax
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x38]
mov dword [edx + 8], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10001b60
mov eax, dword [ebp + 8]
jmp 0x100342ab
push 0
push 0
push 0
push 4
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x1003412a
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x40]
mov dword [edx], eax
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x38]
mov dword [edx + 8], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10001b60
mov eax, dword [ebp + 8]
jmp 0x100342ab
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
lea ecx, [eax + edx - 1]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x1c], 0
mov edx, dword [0x10072f20]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x100341d7
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jbe 0x10034175
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x64], 3
jle 0x100341c9
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x74]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x70]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x64]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.10048bc0
add esp, 0x18
cmp eax, 1
jne 0x100341c9
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x68], 0xffffffff
je 0x100341c9
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x68]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x6c]
mov dword [ebp - 0x38], eax
jmp 0x100341d7
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x78]
mov dword [ebp - 0x14], edx
jmp 0x1003414d
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x38]
mov dword [eax + 8], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10001b60
mov eax, dword [ebp + 8]
jmp 0x100342ab
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24