Function at 0x401100
Capabilities:
Read file via mapping

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45557c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
mov eax, dword [0x47306c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x104], edi
push 0x80
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.00436d50
add esp, 0xc
lea eax, [ebp - 0x98]
push dword [ebx + 8]
push 0x467308
push eax
call fcn.00405bf0
add esp, 0xc
mov dword [ebp - 0xd0], 0
xor eax, eax
mov dword [ebp - 0xcc], 7
lea ecx, [ebp - 0x98]
mov word [ebp - 0xe0], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4011a0
sub ecx, edx
lea eax, [ebp - 0x98]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xe0]
call fcn.00409b10
mov esi, dword [ebx + 0xc]
lea eax, [ebp - 0x98]
push esi
push 0x467308
push eax
mov dword [ebp - 4], 0
call fcn.00405bf0
add esp, 0xc
mov dword [ebp - 0xb8], 0
xor eax, eax
mov dword [ebp - 0xb4], 7
lea ecx, [ebp - 0x98]
mov word [ebp - 0xc8], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401207
sub ecx, edx
lea eax, [ebp - 0x98]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc8]
call fcn.00409b10
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 1
push eax
mov edx, 0x467310
lea ecx, [ebp - 0xf8]
call fcn.00405c10
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc8]
cmp dword [ebp - 0xb4], 8
push dword [ebp - 0xb8]
cmovae ecx, dword [ebp - 0xc8]
push ecx
mov ecx, eax
call fcn.004070c0
mov dword [ebp - 0xa0], 0
xor ecx, ecx
mov dword [ebp - 0x9c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 3
lea eax, [ebp - 0xfc]
mov dword [ebp - 0xfc], esi
lea esi, [edi + 4]
push eax
mov ecx, esi
call fcn.00404290
cmp dword [eax], 0
je 0x4012e1
lea eax, [ebp - 0xfc]
mov ecx, esi
push eax
call fcn.00404290
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xfc]
mov ecx, esi
push eax
call fcn.00404290
cmp dword [eax + 4], 0
je 0x401322
lea eax, [ebp - 0xfc]
mov ecx, esi
push eax
call fcn.00404290
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea eax, [ebp - 0xfc]
mov ecx, esi
push eax
call fcn.00404290
mov dword [eax + 4], 0
cmp dword [ebp - 0x9c], 8
lea eax, [ebp - 0xfc]
lea edi, [ebp - 0xb0]
mov ecx, esi
cmovae edi, dword [ebp - 0xb0]
push eax
call fcn.00404290
push edi
push 0x20000
push 0
push 4
push 0
push 0xffffffffffffffff
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, dword [ebp - 0x104]
mov dword [esi], eax
add edi, 4
lea eax, [ebp - 0xfc]
mov ecx, edi
push eax
call fcn.00404290
cmp dword [eax], 0
je 0x4013ac
lea eax, [ebp - 0xfc]
mov ecx, edi
push eax
call fcn.00404290
push 0x20000
push 0
push 0
push 6
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0xfc]
push eax
call fcn.00404290
mov dword [eax + 4], esi
lea eax, [ebp - 0xfc]
mov ecx, edi
push eax
call fcn.00404290
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x9c]
cmp dword [eax + 4], 0
setne al
mov byte [ebp - 0xfd], al
mov byte [ecx + 0x10], al
cmp edx, 8
jb 0x401410
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401406
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401528
push edx
push ecx
call fcn.0043507c
add esp, 8
mov edx, dword [ebp - 0xe4]
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
cmp edx, 8
jb 0x40146d
mov ecx, dword [ebp - 0xf8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401463
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40152d
push edx
push ecx
call fcn.0043507c
add esp, 8
mov edx, dword [ebp - 0xb4]
xor eax, eax
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 7
mov word [ebp - 0xf8], ax
cmp edx, 8
jb 0x4014c6
mov ecx, dword [ebp - 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4014bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401532
push edx
push ecx
call fcn.0043507c
add esp, 8
mov edx, dword [ebp - 0xcc]
cmp edx, 8
jb 0x401502
mov ecx, dword [ebp - 0xe0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4014f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401537
push edx
push ecx
call fcn.0043507c
add esp, 8
mov al, byte [ebp - 0xfd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043506b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.00439e03
call fcn.00439e03
call fcn.00439e03
call fcn.00439e03
int3