Function at 0x437930
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43bfd1
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x44e630]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
call fcn.00401e00
mov ecx, dword [ebp + 8]
call fcn.00401e90
test eax, eax
jne 0x437976
mov eax, 1
jmp 0x437ea6
lea ecx, [ebp - 0x28]
call fcn.00401c70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00401c70
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.004049d0
lea ecx, [ebp - 0x54]
call fcn.004049f0
mov ecx, dword [ebp + 0xc]
call fcn.00401eb0
movzx ecx, al
test ecx, ecx
je 0x4379c5
lea edx, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x28]
call fcn.004049d0
jmp 0x437aad
mov ecx, dword [ebp + 0xc]
call fcn.00401e90
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
sub eax, 1
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004065e0
movzx ecx, ax
cmp ecx, 0x5c
jne 0x437a2e
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.00406530
add esp, 0xc
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x98], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x98]
push eax
lea ecx, [ebp - 0x28]
call fcn.004049d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.004011a0
jmp 0x437aad
push 0x442d70
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.00404a40
add esp, 0xc
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
lea eax, [ebp - 0x6c]
push eax
call fcn.00406530
add esp, 0xc
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xa8]
push edx
lea ecx, [ebp - 0x28]
call fcn.004049d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
call fcn.004011a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.004011a0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x28]
call fcn.00401df0
push eax
call fcn.00437870
add esp, 4
test eax, eax
jne 0x437af3
mov dword [ebp - 0x70], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004011a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004011a0
mov eax, dword [ebp - 0x70]
jmp 0x437ea6
push 0x442d74
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x437b31
mov dword [ebp - 0x74], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004011a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004011a0
mov eax, dword [ebp - 0x74]
jmp 0x437ea6
mov dword [ebp - 0x18], 0
push str.GetFileVersionInfoSizeW
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x34], eax
push str.GetFileVersionInfoW
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x5c], eax
push str.VerQueryValueW
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x34], 0
je 0x437b80
cmp dword [ebp - 0x5c], 0
je 0x437b80
cmp dword [ebp - 0x14], 0
jne 0x437bb4
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x78], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004011a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004011a0
mov eax, dword [ebp - 0x78]
jmp 0x437ea6
lea ecx, [ebp - 0x50]
call fcn.004120f3
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00401c90
mov byte [ebp - 4], 6
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x30]
call fcn.00401df0
push eax
call dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x437ce2
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jne 0x437c4d
mov dword [ebp - 0x7c], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004011a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.0041210a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004011a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004011a0
mov eax, dword [ebp - 0x7c]
jmp 0x437ea6
cmp dword [ebp - 0x3c], 0x714
jne 0x437c9a
mov dword [ebp - 0x80], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004011a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.0041210a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004011a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004011a0
mov eax, dword [ebp - 0x80]
jmp 0x437ea6
mov dword [ebp - 0x84], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004011a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.0041210a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004011a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004011a0
mov eax, dword [ebp - 0x84]
jmp 0x437ea6
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x50]
call fcn.0041211a
lea ecx, [ebp - 0x50]
call fcn.004027c0
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x20]
push eax
push 0
lea ecx, [ebp - 0x30]
call fcn.00401df0
push eax
call dword [ebp - 0x5c]
test eax, eax
jne 0x437d6e
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0x80070000
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004011a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.0041210a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004011a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004011a0
mov eax, dword [ebp - 0x88]
jmp 0x437ea6
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x58], 0x34
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x10]
push eax
push 0x442dc8
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [ebp - 0x14]
test eax, eax
je 0x437e52
cmp dword [ebp - 0x10], 0
je 0x437e52
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xc], 0
jne 0x437db8
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
je 0x437e52
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
shr edx, 0x10
movzx eax, dx
push eax
push 0x442dcc
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004044c0
add esp, 0x18
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x8c], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004011a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.0041210a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004011a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004011a0
mov eax, dword [ebp - 0x8c]
jmp 0x437ea6
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0x80070000
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004011a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.0041210a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004011a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004011a0
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret