Function at 0x40d830
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432cad
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x445080]
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 - 0x21c], edi
mov dword [ebp - 0x224], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov dword [ebp - 0x244], edi
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 0x40d8a8
mov eax, dword [edi]
push 0x208
mov byte [eax], 0
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00414fa0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40db24
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 0x40db24
push esi
push esi
push esi
push 2
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x238], eax
test eax, eax
je 0x40dae2
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 0x40dab3
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 0x40dab3
mov eax, dword [ebp - 0x254]
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x21c], 0
push eax
mov dword [ebp - 0x220], 0
call fcn.00409180
test eax, eax
je 0x40da6b
cmp dword [ebp - 0x21c], 0
je 0x40da6b
mov edx, dword [ebp - 0x220]
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40da00
mov eax, dword [edi + 0x14]
sub ecx, esi
mov esi, dword [edi + 0x10]
sub eax, esi
mov dword [ebp - 0x21c], ecx
cmp ecx, eax
ja 0x40da44
cmp dword [edi + 0x14], 0x10
lea eax, [esi + ecx]
mov dword [edi + 0x10], eax
mov eax, edi
jb 0x40da2b
mov eax, dword [edi]
push ecx
add esi, eax
push edx
push esi
call fcn.00413d90
mov eax, dword [ebp - 0x21c]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x40da5b
push ecx
push edx
mov byte [ebp - 0x21c], 0
push dword [ebp - 0x21c]
push ecx
mov ecx, edi
call fcn.00403780
push 1
push dword [ebp - 0x220]
call fcn.00412b73
add esp, 8
mov esi, dword [ebp - 0x234]
test esi, esi
je 0x40da7e
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor esi, esi
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x220], eax
test eax, eax
je 0x40da9f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x21c], eax
cmp eax, 0xffffffff
je 0x40daf8
push eax
jmp 0x40dae8
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x40dacc
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor esi, esi
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x220], 0
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x21c], 0xffffffff
test esi, esi
je 0x40db03
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x220]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x40db16
push eax
call esi
mov eax, dword [ebp - 0x21c]
cmp eax, 0xffffffff
je 0x40db24
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.00412b32
mov esp, ebp
pop ebp
ret