Function at 0x419470
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4459c8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x45b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
lea eax, [ecx - 1]
cmp eax, 6
ja case.0x4194a7.3
jmp dword [eax*4 + 0x4196f4]
xor eax, eax
cmp ecx, 5
sete al
push eax
call fcn.00418f40
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.D7B7CDDF_EF6B_4070_9478_2B37F70BE7AA
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov edi, eax
test edi, edi
je case.0x4194a7.3
push 0
push 0
push 0
push 6
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
jne 0x41951c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10]
call fcn.0041eca0
cmp word [ebx], 0
mov esi, ebx
mov dword [ebp - 4], 0
je 0x419552
cmp dword [esi + 0x10], 0
lea ecx, [ebp - 0x10]
push esi
je 0x419544
call fcn.0041f4f0
jmp 0x419549
call fcn.0041f280
add esi, 0x14
cmp word [esi], 0
jne 0x419533
push 0
push 0
push 0x1000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x10]
call fcn.0041ed20
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00411ad0
mov esi, eax
mov dword [ebp + 8], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x4195fe
push str.CreateInstance
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4195fe
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
push ecx
push 0x447860
push 0x447850
call eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test eax, eax
je 0x4195e6
call fcn.004191b0
xor edi, edi
jmp 0x4195eb
mov edi, 1
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test eax, eax
je 0x419600
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x419600
xor edi, edi
test esi, esi
je 0x41960b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x1c]
call fcn.0041d8e0
lea ecx, [ebp - 0x1c]
call fcn.0041dd50
test al, al
je case.0x4194a7.3
call fcn.00411ad0
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
test esi, esi
je 0x4195fe
push str.CreateInstance
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4195fe
mov dword [ebp + 8], 0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
push ecx
push 0x447860
push 0x447850
call eax
mov eax, dword [ebp + 8]
push ecx
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x419689
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea ecx, [ebp - 0x1c]
call fcn.0041dea0
test al, al
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
je 0x4196b4
mov edi, 1
test eax, eax
je 0x419600
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x419600
test eax, eax
je 0x4196be
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x10]
call fcn.00410c20
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00411380
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret