Function at 0x42a030
Capabilities:
Check if file exists
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db63b
mov eax, dword fs:[0]
push eax
sub esp, 0x898
mov eax, dword [0x50bd24]
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
push 0x208
lea eax, [ebp - 0x24c]
push 0
push eax
call fcn.004b5de0
add esp, 0xc
lea eax, [ebp - 0x24c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x24c]
push str.AccUninstallDump_
push eax
call esi
mov eax, dword [edi]
test eax, eax
je 0x42a0b7
lea ecx, [ebp - 0x24c]
push ecx
call eax
mov eax, dword [edi + 0x10]
test eax, eax
je 0x42a0c2
push 1
call eax
lea eax, [ebp - 0x894]
push 0x800000
push eax
call fcn.00405bc0
add esp, 8
cmp dword [ebp - 0x880], 0x10
lea eax, [ebp - 0x894]
mov ecx, dword [edi + 8]
cmovae eax, dword [ebp - 0x894]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x42a0ff
test eax, eax
je 0x42a0ff
push eax
call ecx
push 0x208
lea eax, [ebp - 0x454]
push 0
push eax
call fcn.004b5de0
add esp, 0xc
call fcn.00427fa0
add eax, 0x94
lea ecx, [ebp - 0x87c]
push eax
call fcn.00415ba0
cmp dword [ebp - 0x868], 8
lea eax, [ebp - 0x87c]
push 0x104
cmovae eax, dword [ebp - 0x87c]
push eax
lea eax, [ebp - 0x454]
mov byte [ebp - 4], 1
push 0x104
push eax
call fcn.004c2b6b
add esp, 0x10
lea eax, [ebp - 0x454]
push str.XLBugReport.exe
push eax
call esi
mov eax, dword [edi + 0x14]
test eax, eax
je 0x42a17b
lea ecx, [ebp - 0x454]
push ecx
call eax
movups xmm0, xmmword [str.C:_tslog_config_tslog.ini]
mov eax, dword [0x4e3be4]
mov esi, 1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x44]
movups xmmword [ebp - 0x44], xmm0
push eax
movups xmm0, xmmword [0x4e3bc4]
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [0x4e3bd4]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
mov eax, dword [edi + 0xc]
cmovne esi, ecx
test eax, eax
je 0x42a1c4
push esi
call eax
push 0x208
lea eax, [ebp - 0x864]
push 0
push eax
call fcn.004b5de0
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x864]
add esp, 0xc
push 0x104
push eax
push 0
call esi
push 0x208
lea eax, [ebp - 0x65c]
push 0
push eax
call fcn.004b5de0
add esp, 0xc
mov dword [ebp - 0x898], 0
lea eax, [ebp - 0x65c]
mov dword [ebp - 0x8a4], 0
push 0x104
push eax
push 0
call esi
lea eax, [ebp - 0x89c]
mov dword [ebp - 0x89c], 0
push eax
lea eax, [ebp - 0x65c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x8a0], eax
test eax, eax
je 0x42a305
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b4085
mov esi, eax
add esp, 4
test esi, esi
je 0x42a305
push esi
push dword [ebp - 0x8a0]
lea eax, [ebp - 0x65c]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x42a2a0
push 2
push esi
call fcn.004b4077
add esp, 8
xor eax, eax
jmp 0x42a305
lea eax, [ebp - 0x8a4]
push eax
lea eax, [ebp - 0x898]
push eax
push 0x4e30ec
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x42a2cc
push 2
push esi
call fcn.004b4077
add esp, 8
xor eax, eax
jmp 0x42a305
mov ecx, dword [ebp - 0x898]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
push str.10._d._d._d
push 0x168
push 0x50e550
call fcn.0042a5c0
push 2
push esi
call fcn.004b4077
add esp, 0x20
mov eax, 0x50e550
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x42a322
push eax
push str.thunder9
push 0
lea eax, [ebp - 0x864]
push eax
push 0x4e3638
call ecx
mov edx, dword [ebp - 0x868]
cmp edx, 8
jb 0x42a35e
mov ecx, dword [ebp - 0x87c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a354
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a3cc
push edx
push ecx
call fcn.004b4077
add esp, 8
mov edx, dword [ebp - 0x880]
xor eax, eax
mov dword [ebp - 0x86c], 0
mov dword [ebp - 0x868], 7
mov word [ebp - 0x87c], ax
cmp edx, 0x10
jb 0x42a3b1
mov ecx, dword [ebp - 0x894]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42a3a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a3cc
push edx
push ecx
call fcn.004b4077
add esp, 8
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.004b42e4
mov esp, ebp
pop ebp
ret
call fcn.004b905f
int3