Function at 0x437ef0
Capabilities:
Check if file exists
Check mutex on windows
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59dac3
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2e4], 0
call fcn.00477f50
mov esi, eax
mov dword [ebp - 0x228], 0
push 6
xor eax, eax
mov dword [ebp - 0x224], 7
push str.update
lea ecx, [ebp - 0x238]
mov word [ebp - 0x238], ax
call fcn.00405c70
lea edx, [ebp - 0x238]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c8]
call fcn.00471250
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 2
call fcn.00405c10
lea eax, [ebp - 0x2c8]
mov ecx, esi
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.004787c0
push eax
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 3
call fcn.00405a50
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x2e4], 2
mov byte [ebp - 4], 2
call fcn.00405c10
push 0x5cb60c
lea ecx, [ebp - 0x298]
call fcn.0042b3b0
lea ecx, [ebp - 0x298]
mov bl, al
call fcn.00405c10
test bl, bl
je 0x4384e1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x250]
push 8
xor eax, eax
mov dword [ebp - 0x240], 0
push str.Location
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
call fcn.00405c70
lea edx, [ebp - 0x250]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x238]
call fcn.00484090
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x2e4], 6
mov esi, eax
mov byte [ebp - 4], 4
call fcn.00405c10
push 0x5cb60c
lea ecx, [ebp - 0x238]
call fcn.0042b3b0
test al, al
jne 0x43807d
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4380f6
push 0x20a
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0056f6e0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4380b0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.00405c70
push 1
push 0x5d0d3c
lea ecx, [ebp - 0x238]
call fcn.00426620
push 5
push 0x5cb7d8
lea ecx, [ebp - 0x238]
call fcn.00426620
push esi
lea ecx, [ebp - 0x268]
call fcn.00405a50
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 7
call fcn.00405c10
push 7
xor eax, eax
mov dword [ebp - 0x240], 0
push str.new_ver
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
call fcn.00405c70
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x268]
call fcn.004771f0
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 9
cmp ecx, eax
je 0x438184
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x438175
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00405c70
lea ecx, [ebp - 0x280]
call fcn.00405c10
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 7
call fcn.00405c10
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x2e0]
call fcn.00405a50
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x250]
push 9
xor eax, eax
mov dword [ebp - 0x240], 0
push str.ExTab.exe
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
call fcn.00405c70
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x268]
call fcn.004771f0
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0xc
cmp ecx, eax
je 0x438227
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x438218
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00405c70
lea ecx, [ebp - 0x280]
call fcn.00405c10
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0xa
call fcn.00405c10
cmp dword [ebp - 0x254], 8
lea eax, [ebp - 0x268]
cmovae eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4384c9
lea ecx, [ebp - 0x268]
call fcn.0047fc70
mov dword [ebp - 0x2e4], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x4384be
mov edx, dword [eax]
lea ecx, [ebp - 0x298]
push ecx
mov ecx, eax
call dword [edx + 0x2c]
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 0xe
call fcn.00483b50
sub esp, 0x18
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x2e8], esp
mov ecx, esp
push eax
call fcn.00405a50
sub esp, 0x18
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x298]
mov ecx, esp
push eax
call fcn.00405a50
mov byte [ebp - 4], 0xf
call fcn.00483db0
add esp, 0x30
test al, al
je 0x43849b
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0056f6e0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x304]
call fcn.00477e40
push str.update
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0x11
call fcn.0040fa30
lea edx, [ebp - 0x238]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x250]
call fcn.00471250
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0x14
call fcn.00405c10
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x280]
call fcn.0040fa30
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x238]
call fcn.00405a50
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x304]
call fcn.00478940
lea ecx, [ebp - 0x238]
call fcn.00405c10
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0x14
call fcn.00405c10
push str.6666666_51e1_4e37_adfc_f835a61d96e7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4383d6
xor bl, bl
jmp 0x438418
push ecx
lea edx, [ebp - 0x230]
mov word [ebp - 0x230], 0
lea ecx, [ebp - 0x304]
mov byte [ebp - 0x22e], 0
mov dword [ebp - 0x22c], 0
mov byte [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
call fcn.00476730
add esp, 4
mov bl, 1
mov edx, dword [ebp - 0x23c]
cmp edx, 0x10
jb 0x438452
mov ecx, dword [ebp - 0x250]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x438448
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438534
push edx
push ecx
call fcn.0055053d
add esp, 8
lea ecx, [ebp - 0x304]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
call fcn.00477ed0
lea ecx, [ebp - 0x2b0]
call fcn.00405c10
lea ecx, [ebp - 0x298]
call fcn.00405c10
lea ecx, [ebp - 0x2e4]
call fcn.004396b0
jmp 0x4384cb
mov dl, 1
lea ecx, [ebp - 0x2e0]
call fcn.0047df90
lea ecx, [ebp - 0x2b0]
call fcn.00405c10
lea ecx, [ebp - 0x298]
call fcn.00405c10
lea ecx, [ebp - 0x2e4]
call fcn.004396b0
xor bl, bl
lea ecx, [ebp - 0x2e0]
call fcn.00405c10
lea ecx, [ebp - 0x268]
call fcn.00405c10
mov edx, dword [ebp - 0x2b4]
cmp edx, 0x10
jb 0x438517
mov ecx, dword [ebp - 0x2c8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43850d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438539
push edx
push ecx
call fcn.0055053d
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550156
mov esp, ebp
pop ebp
ret
call fcn.00572795
call fcn.00572795
int3