Function at 0x423bf0
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595361
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x629070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xdc], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 7
xor eax, eax
mov dword [ebp - 0x14], 7
push str.0.0.0.0
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00401d10
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x423e7e
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x2c]
lea eax, [ebp + 8]
mov dword [ebp - 0xcc], 0
cmovae eax, dword [ebp + 8]
push ecx
push eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x423d06
mov dword [ebx + 0x10], eax
mov ecx, ebx
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea eax, [ebp - 0x28]
push eax
call fcn.00407c50
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x423cdf
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402170
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x423eda
inc ecx
push ecx
jmp 0x423ecf
lea eax, [edi + 1]
push eax
call fcn.00438d32
add esp, 4
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 8
mov esi, eax
mov dword [ebp - 0xd4], esi
cmovae ecx, dword [ebp + 8]
push esi
push edi
push 0
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x423d70
push esi
call fcn.00438d2d
mov dword [ebx + 0x14], 7
xor eax, eax
add esp, 4
mov dword [ebx + 0x10], 0
mov word [ebx], ax
mov ecx, ebx
lea eax, [ebp - 0x28]
push eax
call fcn.00407c50
lea ecx, [ebp - 0x28]
call fcn.00401a90
lea ecx, [ebp + 8]
call fcn.00401a90
jmp 0x423eda
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xcc]
push eax
push 0x61f000
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x423d34
mov eax, dword [ebp - 0xcc]
push dword [ebp - 0xd4]
mov edi, dword [eax + 0xc]
mov esi, edi
mov ebx, dword [eax + 8]
mov eax, ebx
shr eax, 0x10
mov dword [ebp - 0xd0], eax
shr esi, 0x10
call fcn.00438d2d
add esp, 4
lea eax, [ebp - 0xc8]
push 0x98
push 0
push eax
call fcn.0056ebe0
add esp, 4
lea ecx, [ebp - 0xc8]
call fcn.00405080
push edi
push ecx
push esi
push ecx
push ebx
push ecx
push dword [ebp - 0xd0]
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 2
call fcn.0042add0
mov edx, 0x61f6d8
mov ecx, eax
call fcn.0041e040
add esp, 4
mov ecx, eax
call fcn.0042add0
mov edx, 0x61f6d8
mov ecx, eax
call fcn.0041e040
add esp, 4
mov ecx, eax
call fcn.0042add0
mov edx, 0x61f6d8
mov ecx, eax
call fcn.0041e040
add esp, 4
mov ecx, eax
call fcn.0042add0
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0xc8]
call fcn.00404fa0
push eax
lea ecx, [ebp - 0x28]
call fcn.0042ab40
lea ecx, [ebp - 0xf4]
call fcn.00401a90
lea ecx, [ebp - 0x78]
call fcn.00404fc0
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 3
push eax
mov dword [ebp - 0x78], vtable.std::ios_base.0
call fcn.004372bc
mov ebx, dword [ebp - 0xd8]
add esp, 4
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov ecx, ebx
mov word [ebx], ax
lea eax, [ebp - 0x28]
push eax
call fcn.00407c50
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x423eb1
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402170
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x423eda
inc eax
push eax
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00402170
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004387fb
mov esp, ebp
pop ebp
ret