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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100501c8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x1005b030]
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.100073b0
test eax, eax
ja 0x10033ca2
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.10001b30
mov eax, dword [ebp + 8]
jmp 0x100341cb
mov dword [ebp - 0x20], 0
push 0
push 0x80
push 3
push 0
push 3
push closesocket
lea ecx, [ebp + 0xc]
call fcn.10001b60
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x10033d8d
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.10001b30
mov eax, dword [ebp + 8]
jmp 0x100341cb
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 0x10033e69
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.10001b30
mov eax, dword [ebp + 8]
jmp 0x100341cb
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 0x10033f57
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.10001b30
mov eax, dword [ebp + 8]
jmp 0x100341cb
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 0x1003404a
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.10001b30
mov eax, dword [ebp + 8]
jmp 0x100341cb
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 [0x10073f20]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x100340f7
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jbe 0x10034095
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 0x100340e9
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.10049c90
add esp, 0x18
cmp eax, 1
jne 0x100340e9
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x68], 0xffffffff
je 0x100340e9
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 0x100340f7
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x78]
mov dword [ebp - 0x14], edx
jmp 0x1003406d
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.10001b30
mov eax, dword [ebp + 8]
jmp 0x100341cb
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