Function at 0x40d690
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e9bd
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x441064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x244], edi
mov dword [ebp - 0x224], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
mov eax, edi
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x224], 1
mov dword [edi + 0x10], 0
jb 0x40d708
mov eax, dword [edi]
push 0x208
mov byte [eax], 0
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00412cd0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40d921
xor esi, esi
mov dword [ebp - method.CTagExtractor.virtual_0], vtable.CTagExtractor.0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x23c], eax
cmp eax, 0xffffffff
je 0x40d921
push esi
push esi
push esi
push 2
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x238], eax
test eax, eax
je 0x40d8df
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
mov dword [ebp - 0x234], esi
test esi, esi
je 0x40d8b0
push 0x1c
lea eax, [ebp - 0x260]
mov dword [ebp - 0x248], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x260], xmm0
movq qword [ebp - 0x250], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40d8b0
mov eax, dword [ebp - 0x254]
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 0
push eax
mov dword [ebp - 0x21c], 0
call fcn.00409150
test eax, eax
je 0x40d868
cmp dword [ebp - 0x220], 0
je 0x40d868
mov esi, dword [ebp - 0x21c]
mov ecx, edi
push esi
call fcn.00402d70
push 1
push esi
call fcn.00410ba9
add esp, 8
mov esi, dword [ebp - 0x234]
test esi, esi
je 0x40d87b
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor esi, esi
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x40d89c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x220], eax
cmp eax, 0xffffffff
je 0x40d8f5
push eax
jmp 0x40d8e5
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x40d8c9
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor esi, esi
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x21c], 0
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x220], 0xffffffff
test esi, esi
je 0x40d900
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x21c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x40d913
push eax
call esi
mov eax, dword [ebp - 0x220]
cmp eax, 0xffffffff
je 0x40d921
push eax
call esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00410b68
mov esp, ebp
pop ebp
ret