Function at 0x409020
Capabilities:
Accept command line arguments
Check http status code
Check if file exists
Check mutex on windows
Contain obfuscated stackstrings
Create directory
Create new key via cryptacquirecontext
Delete file
Encode data using xor
Enumerate process modules
Generate random numbers via winapi
Get common file path
Hash data using fnv
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4855cc
mov eax, dword fs:[0]
push eax
mov eax, 0x1e20
call fcn.0046ae30
mov eax, dword [0x499100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push str.OBSStudioUpdateMutex
push 0
push 0x100000
mov dword [ebp - 0x1df0], eax
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
test esi, esi
je 0x4090c2
mov ecx, dword [0x49b5e8]
lea eax, [ebp - 0x1e0c]
push 0xffffffffffffffff
push 0
push eax
push 2
mov dword [ebp - 0x1e0c], esi
mov dword [ebp - 0x1e08], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x1dc4], eax
push esi
test eax, eax
jne 0x4090b3
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call edi
jmp 0x4090c2
call edi
cmp dword [ebp - 0x1dc4], 1
je 0x40bbb7
lea eax, [ebp - 0x1dc4]
push eax
push 0x1000
lea eax, [ebp - 0x1cc0]
push eax
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
je 0x409215
mov ecx, dword [ebp - 0x1dc4]
xor eax, eax
shr ecx, 2
mov dword [ebp - 0x1dec], ecx
mov dword [ebp - 0x1dd4], eax
test ecx, ecx
je 0x409215
mov ecx, dword [ebp + eax*4 - 0x1cc0]
test ecx, ecx
je 0x4091cb
xor eax, eax
mov dword [ebp - 0x1de4], 0x104
push ecx
push eax
push 0x100410
mov word [ebp - 0x4a0], ax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4091c5
cmp esi, 0xffffffff
je 0x4091c5
lea eax, [ebp - 0x1de4]
push eax
lea eax, [ebp - 0x4a0]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
je 0x4091c2
mov ecx, 0x49b870
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409166
sub ecx, edx
lea eax, [ebp - 0x4a0]
sar ecx, 1
push ecx
push 0x49b870
push eax
call fcn.0046e69b
add esp, 0xc
test eax, eax
jne 0x4091c2
lea eax, [ebp - 0x4a0]
push 0x5c
push eax
call fcn.0046bedb
add esp, 8
test eax, eax
je 0x4091a8
add eax, 2
jmp 0x4091ae
lea eax, [ebp - 0x4a0]
push 5
push str.obs64
push eax
call fcn.0046e7e5
add esp, 0xc
test eax, eax
je 0x4091e0
push esi
call edi
mov eax, dword [ebp - 0x1dd4]
inc eax
mov dword [ebp - 0x1dd4], eax
cmp eax, dword [ebp - 0x1dec]
jb 0x409101
jmp 0x409215
mov eax, dword [0x49b5e8]
push 0xffffffffffffffff
mov dword [ebp - 0x1e08], eax
lea eax, [ebp - 0x1e0c]
push 0
push eax
push 2
mov dword [ebp - 0x1e0c], esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push esi
cmp eax, 1
jne 0x409213
call edi
xor al, al
jmp 0x40bbfe
call edi
mov dword [ebp - 0x1ddc], 0
push 0xf0000000
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
push 0
lea eax, [ebp - 0x1ddc]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x409267
push str.Update_failed:_CryptAcquireContext_failure
push 0x3ea
push dword [0x49b5d8]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov dword [ebp - 4], 1
jmp 0x40bba4
mov eax, dword [ebp - 0x1ddc]
push str.Searching_for_available_updates...
push 0x3ea
push dword [0x49b5d8]
mov dword [0x49b5dc], eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x3e9
push dword [0x49b5d8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0xfffffffffffffff0
push esi
mov dword [ebp - 0x1de4], esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x1dc4], eax
or eax, 8
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push 1
push 0x40a
push 0x3e9
push dword [0x49b5d8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 6
xorps xmm0, xmm0
mov byte [ebp - 0x1ddd], 0
push str.stable
lea ecx, [ebp - 0x1cd8]
mov dword [ebp - 0x1cc8], 0
movups xmmword [ebp - 0x1cd8], xmm0
mov dword [ebp - 0x1cc4], 0
call fcn.00401a80
xorps xmm0, xmm0
mov dword [ebp - 0x1ce0], 0
mov esi, 7
xor eax, eax
movups xmmword [ebp - 0x1cf0], xmm0
mov dword [ebp - 0x1cdc], esi
mov word [ebp - 0x1cf0], ax
mov eax, dword [ebp - 0x1df0]
mov byte [ebp - 4], 3
cmp word [eax], 0
je 0x4094e2
lea ecx, [ebp - 0x1dec]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x1dd4], eax
test eax, eax
je 0x4094e2
xor esi, esi
cmp dword [ebp - 0x1dec], esi
jle 0x4094d5
mov edi, dword [eax + esi*4]
mov ecx, str.Portable
mov eax, edi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4093a6
test dx, dx
je 0x4093a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4093a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x409380
xor eax, eax
jmp 0x4093ab
sbb eax, eax
or eax, 1
test eax, eax
je 0x4094c8
push 9
push str.__branch
push edi
call fcn.0046e69b
mov edi, dword [ebp - 0x1dd4]
add esp, 0xc
mov ecx, dword [edi + esi*4]
test eax, eax
jne 0x4093f0
lea edx, [ecx + 0x12]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4093e0
jmp 0x4094a2
push 0xa
push str.__appdata
push ecx
call fcn.0046e69b
mov edi, dword [edi + esi*4]
add esp, 0xc
test eax, eax
jne 0x40942c
add edi, 0x14
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409410
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x1cf0]
jmp 0x4094ae
mov ecx, str.__portable
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x409459
test dx, dx
je 0x409455
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x409459
add eax, 4
add ecx, 4
test dx, dx
jne 0x409433
xor eax, eax
jmp 0x40945e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40946b
mov byte [ebp - 0x1ddd], 1
jmp 0x4094b3
push 0x13
push str.__portable__branch
push edi
call fcn.0046e69b
add esp, 0xc
test eax, eax
jne 0x4094b3
mov edx, dword [ebp - 0x1dd4]
mov byte [ebp - 0x1ddd], 1
mov edx, dword [edx + esi*4]
add edx, 0x26
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409497
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1cd8]
call fcn.0040ff90
mov eax, dword [ebp - 0x1dd4]
inc esi
cmp esi, dword [ebp - 0x1dec]
jl 0x409374
jmp 0x4094cf
mov byte [ebp - 0x1ddd], 1
mov eax, dword [ebp - 0x1dd4]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x1cdc]
xor eax, eax
mov word [ebp - 0x6a8], ax
cmp byte [ebp - 0x1ddd], al
je 0x409524
push 0x49b870
push 0x208
lea eax, [ebp - 0x6a8]
push eax
call fcn.00408f20
push str.config
push 0x208
lea eax, [ebp - 0x6a8]
push eax
call fcn.00408e70
jmp 0x40972c
cmp dword [ebp - 0x1ce0], eax
je 0x409618
cmp esi, 8
lea eax, [ebp - 0x1cf0]
cmovae eax, dword [ebp - 0x1cf0]
push eax
push 0x208
lea eax, [ebp - 0x6a8]
push eax
call fcn.00408f20
test eax, eax
je 0x40972c
push str.Update_failed:_Could_not_determine_AppData_location
call fcn.00408df0
mov ecx, dword [ebp - 0x1cdc]
add esp, 4
mov byte [ebp - 4], 2
cmp ecx, 8
jb 0x4095ab
mov edx, dword [ebp - 0x1cf0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4095a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc1e
push ecx
push edx
call fcn.0046a9b7
add esp, 8
mov ecx, dword [ebp - 0x1cc4]
mov byte [ebp - 4], 0
cmp ecx, 8
jb 0x4095ef
mov edx, dword [ebp - 0x1cd8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4095e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc1e
push ecx
push edx
call fcn.0046a9b7
add esp, 8
xor eax, eax
mov dword [ebp - 0x1cc8], 0
mov dword [ebp - 0x1cc4], 7
mov word [ebp - 0x1cd8], ax
mov dword [ebp - 4], 4
jmp 0x40bba4
mov dword [ebp - 0x1dd4], eax
lea eax, [ebp - 0x1dd4]
push eax
push 0
push 0
push 0x48c25c
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
je 0x409704
push str.Update_failed:_Could_not_determine_AppData_location
call fcn.00408df0
mov eax, dword [ebp - 0x1dd4]
add esp, 4
test eax, eax
je 0x409659
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov byte [ebp - 4], 2
cmp esi, 8
jb 0x409697
mov edx, dword [ebp - 0x1cf0]
lea ecx, [esi*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40968d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc19
push ecx
push edx
call fcn.0046a9b7
add esp, 8
mov ecx, dword [ebp - 0x1cc4]
mov byte [ebp - 4], 0
cmp ecx, 8
jb 0x4096db
mov edx, dword [ebp - 0x1cd8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4096d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc19
push ecx
push edx
call fcn.0046a9b7
add esp, 8
xor eax, eax
mov dword [ebp - 0x1cc8], 0
mov dword [ebp - 0x1cc4], 7
mov word [ebp - 0x1cd8], ax
mov dword [ebp - 4], 5
jmp 0x40bba4
push dword [ebp - 0x1dd4]
lea eax, [ebp - 0x6a8]
push 0x208
push eax
call fcn.00408f20
mov eax, dword [ebp - 0x1dd4]
test eax, eax
je 0x40972c
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0x488340
push 0x208
lea eax, [ebp - 0x6a8]
push eax
call fcn.00408e70
xor eax, eax
mov word [ebp - 0xab8], ax
mov word [ebp - 0x8b0], ax
lea eax, [ebp - 0x6a8]
push eax
push str._supdatesmanifest.json
lea eax, [ebp - 0xab8]
push 0x208
push eax
call fcn.00408f80
add esp, 0x10
lea eax, [ebp - 0x8b0]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x409851
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Update_failed:_Failed_to_get_temp_path:__ld
call fcn.00408df0
mov ecx, dword [ebp - 0x1cdc]
add esp, 8
mov byte [ebp - 4], 2
cmp ecx, 8
jb 0x4097e4
mov edx, dword [ebp - 0x1cf0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4097da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc1e
push ecx
push edx
call fcn.0046a9b7
add esp, 8
mov ecx, dword [ebp - 0x1cc4]
mov byte [ebp - 4], 0
cmp ecx, 8
jb 0x409828
mov edx, dword [ebp - 0x1cd8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40981e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc1e
push ecx
push edx
call fcn.0046a9b7
add esp, 8
xor eax, eax
mov dword [ebp - 0x1cc8], 0
mov dword [ebp - 0x1cc4], 7
mov word [ebp - 0x1cd8], ax
mov dword [ebp - 4], 6
jmp 0x40bba4
push 0x49b668
push 0
push str.obs_studio
lea eax, [ebp - 0x8b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x4098a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Update_failed:_Failed_to_create_temp_dir_name:__ld
call fcn.00408df0
add esp, 8
lea ecx, [ebp - 0x1cf0]
call fcn.00404700
lea ecx, [ebp - 0x1cd8]
call fcn.00404700
mov dword [ebp - 4], 7
jmp 0x40bba4
push 0x49b668
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x49b668
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x1e00]
call fcn.00414550
lea eax, [ebp - 0xab8]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004080e0
add esp, 8
cmp dword [ebp - 0x1c], 0
jne 0x409926
push str.Update_failed:_Couldnt_load_manifest_file
call fcn.00408df0
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.004046b0
lea ecx, [ebp - 0x1e00]
call fcn.00404970
lea ecx, [ebp - 0x1cf0]
call fcn.00404700
lea ecx, [ebp - 0x1cd8]
call fcn.00404700
mov dword [ebp - 4], 0xa
jmp 0x40bba4
lea ecx, [ebp - 0x1d50]
call fcn.004037c0
push 0
lea eax, [ebp - 0x1d50]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1e0c]
push eax
call fcn.00416390
add esp, 0x10
lea ecx, [ebp - 0x1e00]
push eax
call fcn.004052d0
lea ecx, [ebp - 0x1e0c]
call fcn.00404970
cmp dword [ebp - 0x1d40], 0
je 0x4099d3
cmp dword [ebp - 0x1d3c], 0x10
lea eax, [ebp - 0x1d50]
cmovae eax, dword [ebp - 0x1d50]
push eax
push str.Update_failed:_Couldnt_parse_update_manifest:__S
call fcn.00408df0
add esp, 8
lea ecx, [ebp - 0x1d50]
call fcn.004046b0
lea ecx, [ebp - 0x2c]
call fcn.004046b0
lea ecx, [ebp - 0x1e00]
call fcn.00404970
lea ecx, [ebp - 0x1cf0]
call fcn.00404700
lea ecx, [ebp - 0x1cd8]
call fcn.00404700
mov dword [ebp - 4], 0xc
jmp 0x40bba4
lea ecx, [ebp - 0x1d50]
call fcn.004046b0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.004046b0
lea ecx, [ebp - 0x1e00]
call fcn.00418520
cmp eax, 5
je 0x409a34
push str.Update_failed:_Invalid_update_manifest
call fcn.00408df0
add esp, 4
lea ecx, [ebp - 0x1e00]
call fcn.00404970
lea ecx, [ebp - 0x1cf0]
call fcn.00404700
lea ecx, [ebp - 0x1cd8]
call fcn.00404700
mov dword [ebp - 4], 0xd
jmp 0x40bba4
push str.packages
lea ecx, [ebp - 0x2c]
call fcn.00403780
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x1e00]
call fcn.00414880
push eax
push 4
call fcn.00408710
add esp, 8
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.004046b0
push str.packages
lea ecx, [ebp - 0x2c]
call fcn.00403780
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x1e00]
call fcn.00414880
mov ecx, eax
call fcn.00414f50
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1dd4], eax
mov byte [ebp - 4], 8
call fcn.004046b0
mov edx, dword [ebp - 0x1dd4]
or edi, 0xffffffff
mov dword [ebp - 0x1df0], 0
mov ecx, dword [edx + 4]
sub ecx, dword [edx]
sar ecx, 3
test ecx, ecx
je 0x409b8c
nop word [eax + eax]
cmp dword [ebp - 0x1cc4], 8
lea esi, [ebp - 0x1cd8]
push edx
cmovae esi, dword [ebp - 0x1cd8]
lea ecx, [ebp - 0x1e0c]
call fcn.004142f0
push esi
push 0x49b668
push dword [ebp - 0x1df0]
lea eax, [ebp - 0x1e0c]
mov byte [ebp - 4], 0x10
push eax
call fcn.00406190
mov esi, dword [ebp - 0x1e08]
add esp, 0x10
test al, al
mov byte [ebp - 4], 8
sete cl
mov byte [ebp - 0x1dd5], cl
test esi, esi
je 0x409b4d
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x409b4d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x409b47
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov cl, byte [ebp - 0x1dd5]
test cl, cl
jne 0x409c1d
mov eax, dword [ebp - 0x1dd4]
mov esi, dword [ebp - 0x1df0]
mov eax, dword [eax]
lea eax, [eax + esi*8]
push eax
call fcn.00405e80
mov edx, dword [ebp - 0x1dd4]
inc esi
add esp, 4
mov dword [ebp - 0x1df0], esi
mov eax, dword [edx + 4]
sub eax, dword [edx]
sar eax, 3
cmp esi, eax
jb 0x409ad0
push 0
push 0
push 0x40a
push 0x3e9
push dword [0x49b5d8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push dword [ebp - 0x1dc4]
push 0xfffffffffffffff0
push dword [ebp - 0x1de4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, 0x49b600
call fcn.00410950
test eax, eax
jne 0x409c57
push str.All_available_updates_are_already_installed.
call fcn.00408df0
mov eax, dword [sym.imp.USER32.dll_SetDlgItemTextW]
add esp, 4
push str.Launch_OBS
push 0x3ec
push dword [0x49b5d8]
call eax
lea ecx, [ebp - 0x1e00]
call fcn.00404970
lea ecx, [ebp - 0x1cf0]
call fcn.00404700
lea ecx, [ebp - 0x1cd8]
call fcn.00404700
mov dword [ebp - 4], 0x12
jmp 0x40bbe9
push str.Update_failed:_Failed_to_process_update_packages
call fcn.00408df0
add esp, 4
lea ecx, [ebp - 0x1e00]
call fcn.00404970
lea ecx, [ebp - 0x1cf0]
call fcn.00404700
lea ecx, [ebp - 0x1cd8]
call fcn.00404700
mov dword [ebp - 4], 0x11
jmp 0x40bba4
lea eax, [ebp - 0x1dec]
mov dword [ebp - 0x1dec], 0
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
mov esi, eax
call fcn.004074c0
mov byte [ebp - 0x1dd5], al
test esi, esi
je 0x409c91
push dword [ebp - 0x1dec]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov al, byte [ebp - 0x1dd5]
test al, al
jne 0x409cd5
lea eax, [ebp - 0x1e00]
push eax
call fcn.0040c4d0
add esp, 4
test al, al
jne 0x409cd5
lea ecx, [ebp - 0x1e00]
call fcn.00404970
lea ecx, [ebp - 0x1cf0]
call fcn.00404700
lea ecx, [ebp - 0x1cd8]
call fcn.00404700
mov dword [ebp - 4], 0x13
jmp 0x40bba4
xor ecx, ecx
mov dword [ebp - 0x1dd0], ecx
mov dword [ebp - 0x1dcc], ecx
mov dword [ebp - 0x1dc8], ecx
mov eax, dword [0x49b600]
mov esi, dword [0x49b604]
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x1df0], eax
mov dword [ebp - 0x1dd4], esi
cmp eax, esi
je 0x40a14c
mov edi, eax
mov eax, dword [ebp - 0x1dd4]
lea esi, [edi + 0x88]
mov dword [ebp - 0x1dc4], esi
cmp byte [esi + 0x4c], 0
je 0x40a123
lea eax, [ebp - 0x90]
push eax
lea eax, [esi + 0x34]
push eax
call fcn.00412740
add esp, 8
lea eax, [ebp - 0x90]
mov ecx, str.0000000000000000000000000000000000000000
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x409d6e
test dx, dx
je 0x409d6a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x409d6e
add eax, 4
add ecx, 4
test dx, dx
jne 0x409d48
xor eax, eax
jmp 0x409d73
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a11d
push 0
push 0
push 0x29
lea eax, [ebp - 0x3c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x90]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x40a11d
cmp dword [esi - 0x14], 8
lea eax, [esi - 0x28]
jb 0x409dae
mov eax, dword [eax]
push 0
push 0
push 0x104
lea ecx, [ebp - 0x194]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x40a11d
xorps xmm0, xmm0
mov dword [ebp - 0x1d70], 0
movups xmmword [ebp - 0x1d80], xmm0
mov dword [ebp - 0x1d6c], 0xf
mov byte [ebp - 0x1d80], 0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x1d80]
cmp ecx, eax
je 0x409e25
cmp dword [esi + 4], 0x10
lea eax, [esi - 0x10]
jb 0x409e17
mov eax, dword [eax]
push dword [esi]
lea ecx, [ebp - 0x1d80]
push eax
call fcn.0040fea0
push 1
push 0x4886bc
lea ecx, [ebp - 0x1d80]
call fcn.0040fbc0
lea ecx, [ebp - 0x194]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409e40
sub ecx, edx
lea eax, [ebp - 0x194]
push ecx
push eax
lea ecx, [ebp - 0x1d80]
call fcn.0040fbc0
xorps xmm0, xmm0
mov dword [ebp - 0x1db0], 4
movups xmmword [ebp - 0x1dc0], xmm0
mov dword [ebp - 0x1dac], 0xf
mov dword [ebp - 0x1dc0], 0x656d616e
mov byte [ebp - 0x1dbc], 0
lea eax, [ebp - 0x1d80]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x1da8]
call fcn.00414230
push 4
xorps xmm0, xmm0
mov byte [ebp - 4], 0x17
push str.hash
lea ecx, [ebp - 0x1da0]
mov dword [ebp - 0x1d90], 0
movups xmmword [ebp - 0x1da0], xmm0
mov dword [ebp - 0x1d8c], 0
call fcn.004019e0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x1d88]
call fcn.00414450
push 1
lea ecx, [ebp - 0x1df8]
mov byte [ebp - 4], 0x19
lea edi, [ebp - 0x1dc0]
mov dword [ebp - 0x1df8], 0
mov dword [ebp - 0x1df4], 0
call fcn.0040f9a0
mov ecx, eax
mov dword [ebp - 0x1e04], eax
mov dword [ebp - 0x1de4], ecx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x1df8], ecx
lea ecx, [ebp - 0x1d80]
mov byte [ebp - 4], 0x1a
cmp edi, ecx
je 0x40a064
lea esi, [edi + 0x1c]
mov dword [ebp - 0x1dec], esi
push edi
push eax
lea eax, [ebp - 0x1d2c]
push eax
lea ecx, [ebp - 0x1df8]
call fcn.00402650
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x1d5c], xmm0
mov dword [ebp - 0x1d54], eax
test al, al
jne 0x40a03e
cmp dword [ebp - 0x1df4], 0x5555555
je 0x40bc23
lea eax, [ebp - 0x1df8]
mov dword [ebp - 0x1e0c], eax
push 1
mov ecx, eax
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x1e08], 0
call fcn.0040f9a0
mov esi, eax
mov dword [ebp - 0x1e08], esi
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 0x1c
push edi
call fcn.004036d0
mov ecx, dword [ebp - 0x1dec]
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov eax, dword [ecx]
test eax, eax
je 0x409fe7
lock inc dword [eax + 4]
mov eax, dword [ecx - 4]
mov dword [esi + 0x28], eax
mov eax, dword [ecx]
lea ecx, [ebp - 0x1df8]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x1de4]
push esi
push dword [ebp - 0x1d58]
mov dword [esi], eax
push dword [ebp - 0x1d5c]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov word [esi + 0xc], 0
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x1e08], 0
call fcn.0040e7f0
mov ecx, dword [ebp - 0x1df8]
mov esi, dword [ebp - 0x1dec]
mov dword [ebp - 0x1de4], ecx
lea eax, [ebp - 0x1d80]
add edi, 0x20
add esi, 0x20
cmp edi, eax
mov eax, dword [ebp - 0x1e04]
mov dword [ebp - 0x1dec], esi
jne 0x409f50
mov esi, dword [ebp - 0x1dc4]
mov eax, dword [ebp - 0x1dcc]
lea ecx, [ebp - 0x1df8]
mov byte [ebp - 4], 0x1d
push ecx
cmp eax, dword [ebp - 0x1dc8]
je 0x40a08d
mov ecx, eax
call fcn.004140a0
add dword [ebp - 0x1dcc], 8
jmp 0x40a099
push eax
lea ecx, [ebp - 0x1dd0]
call fcn.00402430
mov eax, dword [ebp - 0x1df8]
push dword [eax + 4]
lea eax, [ebp - 0x1df8]
push eax
mov ecx, eax
call fcn.00402600
push 0x30
push dword [ebp - 0x1df8]
call fcn.0046a9b7
add esp, 8
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x1dc0]
push fcn.004048f0
push 2
push 0x20
push eax
call fcn.0046a872
mov ecx, dword [ebp - 0x1d6c]
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x40a117
mov edx, dword [ebp - 0x1d80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a10d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc19
push ecx
push edx
call fcn.0046a9b7
add esp, 8
mov edi, dword [ebp - 0x1df0]
mov eax, dword [ebp - 0x1dd4]
add edi, 0xd8
add esi, 0xd8
mov dword [ebp - 0x1df0], edi
mov dword [ebp - 0x1dc4], esi
cmp edi, eax
jne 0x409d20
mov ecx, dword [ebp - 0x1dd0]
or edi, 0xffffffff
xorps xmm0, xmm0
mov dword [ebp - 0x1cf8], 0
movups xmmword [ebp - 0x1d08], xmm0
mov dword [ebp - 0x1cf4], 0xf
mov byte [ebp - 0x1d08], 0
mov eax, dword [ebp - 0x1dcc]
sub eax, ecx
mov byte [ebp - 4], 0x1e
sar eax, 3
test eax, eax
je 0x40a699
lea ecx, [ebp - 0x1d50]
call fcn.004037c0
lea eax, [ebp - 0x1dd0]
mov byte [ebp - 4], 0x1f
push eax
lea ecx, [ebp - 0x1e0c]
call fcn.004142f0
lea ecx, [ebp - 0x1d50]
mov byte [ebp - 4], 0x20
push ecx
mov ecx, eax
call fcn.00415590
lea ecx, [ebp - 0x1e0c]
call fcn.00404970
push dword [ebp - 0x1d40]
call fcn.00420b80
add esp, 4
lea ecx, [ebp - 0x1d68]
mov esi, eax
call fcn.004037c0
push 0
push esi
lea ecx, [ebp - 0x1d68]
mov byte [ebp - 4], 0x21
call fcn.004107f0
cmp dword [ebp - 0x1d3c], 0x10
lea esi, [ebp - 0x1d50]
push 0
cmovae esi, dword [ebp - 0x1d50]
lea ecx, [ebp - 0x1d68]
call fcn.00405330
push 3
push dword [ebp - 0x1d40]
push esi
push dword [ebp - 0x1d58]
push eax
call fcn.00420710
mov esi, eax
push esi
call fcn.00423ee0
add esp, 0x18
lea ecx, [ebp - 0x1d68]
test eax, eax
je 0x40a329
call fcn.004046b0
lea ecx, [ebp - 0x1d50]
call fcn.004046b0
lea ecx, [ebp - 0x1d08]
call fcn.004046b0
mov esi, dword [ebp - 0x1dd0]
mov dword [ebp - 0x1de4], esi
test esi, esi
je 0x40a2fc
mov ecx, dword [ebp - 0x1dcc]
mov dword [ebp - 0x1dc4], ecx
cmp esi, ecx
je 0x40a2c6
mov esi, dword [esi + 4]
test esi, esi
je 0x40a2ad
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40a2ad
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40a2a7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x1dc4]
mov esi, dword [ebp - 0x1de4]
add esi, 8
mov dword [ebp - 0x1de4], esi
cmp esi, ecx
jne 0x40a281
mov esi, dword [ebp - 0x1dd0]
mov eax, dword [ebp - 0x1dc8]
lea ecx, [ebp - 0x1dd0]
sub eax, esi
sar eax, 3
push eax
push esi
call fcn.00410180
mov dword [ebp - 0x1dd0], 0
mov dword [ebp - 0x1dcc], 0
mov dword [ebp - 0x1dc8], 0
lea ecx, [ebp - 0x1e00]
call fcn.00404970
lea ecx, [ebp - 0x1cf0]
call fcn.00404700
lea ecx, [ebp - 0x1cd8]
call fcn.00404700
mov dword [ebp - 4], 0x22
jmp 0x40bba4
push 0
push esi
call fcn.004107f0
push 0x4886c0
lea ecx, [ebp - 0x2c]
call fcn.00403890
lea eax, [ebp - 0x1cd8]
mov byte [ebp - 4], 0x23
push str.stable
push eax
call fcn.00401810
add esp, 8
test al, al
jne 0x40a470
mov ecx, dword [ebp - 0x1cc8]
mov eax, 0x7ffffffe
sub eax, ecx
mov dword [ebp - 0x1de4], ecx
cmp eax, 8
jb 0x40bc28
cmp dword [ebp - 0x1cc4], 8
lea eax, [ebp - 0x1cd8]
mov esi, 7
xorps xmm0, xmm0
cmovae eax, dword [ebp - 0x1cd8]
add ecx, 8
mov dword [ebp - 0x1dec], eax
lea eax, [ebp - 0x1d38]
mov dword [ebp - 0x1e04], ecx
mov dword [ebp - 0x1dc4], eax
movups xmmword [ebp - 0x1d38], xmm0
cmp ecx, esi
jbe 0x40a3fb
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x40a3d0
mov esi, 0x7ffffffe
jmp 0x40a3da
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x1d38]
call fcn.0040fa00
mov ecx, dword [ebp - 0x1e04]
mov dword [ebp - 0x1dc4], eax
mov dword [ebp - 0x1d38], eax
movups xmm0, xmmword [str._branch]
mov dword [ebp - 0x1d24], esi
mov esi, dword [ebp - 0x1de4]
mov dword [ebp - 0x1d28], ecx
lea ecx, [eax + 0x10]
movups xmmword [eax], xmm0
lea eax, [esi + esi]
push eax
push dword [ebp - 0x1dec]
push ecx
call fcn.0046c690
mov eax, dword [ebp - 0x1dc4]
xor ecx, ecx
add esp, 0xc
mov word [eax + esi*2 + 0x10], cx
cmp dword [ebp - 0x1d24], 8
lea eax, [ebp - 0x1d38]
push dword [ebp - 0x1d28]
cmovae eax, dword [ebp - 0x1d38]
lea ecx, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x24
call fcn.0040fd20
lea ecx, [ebp - 0x1d38]
mov byte [ebp - 4], 0x23
call fcn.00404700
push 0
lea ecx, [ebp - 0x1d68]
call fcn.00405330
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x1d08]
push edx
lea edx, [ebp - 0x1df0]
push edx
push str.Accept_Encoding:_gzip
push dword [ebp - 0x1d58]
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
push eax
push ecx
call fcn.00411e10
add esp, 0x18
test al, al
jne 0x40a5a8
lea ecx, [ebp - 0x2c]
call fcn.00404700
lea ecx, [ebp - 0x1d68]
call fcn.004046b0
lea ecx, [ebp - 0x1d50]
call fcn.004046b0
lea ecx, [ebp - 0x1d08]
call fcn.004046b0
mov esi, dword [ebp - 0x1dd0]
mov dword [ebp - 0x1de4], esi
test esi, esi
je 0x40a57b
mov ecx, dword [ebp - 0x1dcc]
mov dword [ebp - 0x1dc4], ecx
cmp esi, ecx
je 0x40a545
mov esi, dword [esi + 4]
test esi, esi
je 0x40a52c
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40a52c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40a526
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x1dc4]
mov esi, dword [ebp - 0x1de4]
add esi, 8
mov dword [ebp - 0x1de4], esi
cmp esi, ecx
jne 0x40a500
mov esi, dword [ebp - 0x1dd0]
mov eax, dword [ebp - 0x1dc8]
lea ecx, [ebp - 0x1dd0]
sub eax, esi
sar eax, 3
push eax
push esi
call fcn.00410180
mov dword [ebp - 0x1dd0], 0
mov dword [ebp - 0x1dcc], 0
mov dword [ebp - 0x1dc8], 0
lea ecx, [ebp - 0x1e00]
call fcn.00404970
lea ecx, [ebp - 0x1cf0]
call fcn.00404700
lea ecx, [ebp - 0x1cd8]
call fcn.00404700
mov dword [ebp - 4], 0x25
jmp 0x40bba4
mov eax, dword [ebp - 0x1df0]
cmp eax, 0xc8
je 0x40a679
push eax
push str.Update_failed:_HTTP__d_while_trying_to_download_patch_manifest
call fcn.00408df0
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00404700
lea ecx, [ebp - 0x1d68]
call fcn.004046b0
lea ecx, [ebp - 0x1d50]
call fcn.004046b0
lea ecx, [ebp - 0x1d08]
call fcn.004046b0
mov eax, dword [ebp - 0x1dd0]
test eax, eax
je 0x40a64c
lea ecx, [ebp - 0x1dd0]
push ecx
push dword [ebp - 0x1dcc]
push eax
call fcn.00401e00
mov ecx, dword [ebp - 0x1dd0]
add esp, 0xc
mov eax, dword [ebp - 0x1dc8]
sub eax, ecx
sar eax, 3
push eax
push ecx
lea ecx, [ebp - 0x1dd0]
call fcn.00410180
mov dword [ebp - 0x1dd0], 0
mov dword [ebp - 0x1dcc], 0
mov dword [ebp - 0x1dc8], 0
lea ecx, [ebp - 0x1e00]
call fcn.00404970
lea ecx, [ebp - 0x1cf0]
call fcn.00404700
lea ecx, [ebp - 0x1cd8]
call fcn.00404700
mov dword [ebp - 4], 0x26
jmp 0x40bba4
lea ecx, [ebp - 0x2c]
call fcn.00404700
lea ecx, [ebp - 0x1d68]
call fcn.004046b0
lea ecx, [ebp - 0x1d50]
call fcn.004046b0
jmp 0x40a6ab
push 2
push 0x4887c0
lea ecx, [ebp - 0x1d08]
call fcn.0040fea0
lea ecx, [ebp - 0x1d20]
call fcn.004037c0
push 0
lea eax, [ebp - 0x1d20]
mov byte [ebp - 4], 0x27
push eax
lea eax, [ebp - 0x1d08]
push eax
lea eax, [ebp - 0x1e0c]
push eax
call fcn.00416390
add esp, 0x10
lea ecx, [ebp - 0x1e00]
push eax
call fcn.004052d0
lea ecx, [ebp - 0x1e0c]
call fcn.00404970
cmp dword [ebp - 0x1d10], 0
je 0x40a808
cmp dword [ebp - 0x1d0c], 0x10
lea eax, [ebp - 0x1d20]
cmovae eax, dword [ebp - 0x1d20]
push eax
push str.Update_failed:_Couldnt_parse_patch_manifest:__S
call fcn.00408df0
add esp, 8
lea ecx, [ebp - 0x1d20]
call fcn.004046b0
lea ecx, [ebp - 0x1d08]
call fcn.004046b0
mov esi, dword [ebp - 0x1dd0]
mov dword [ebp - 0x1de4], esi
test esi, esi
je 0x40a7db
mov ecx, dword [ebp - 0x1dcc]
mov dword [ebp - 0x1dc4], ecx
cmp esi, ecx
je 0x40a7a5
nop dword [eax]
mov esi, dword [esi + 4]
test esi, esi
je 0x40a78c
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40a78c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40a786
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x1dc4]
mov esi, dword [ebp - 0x1de4]
add esi, 8
mov dword [ebp - 0x1de4], esi
cmp esi, ecx
jne 0x40a760
mov esi, dword [ebp - 0x1dd0]
mov eax, dword [ebp - 0x1dc8]
lea ecx, [ebp - 0x1dd0]
sub eax, esi
sar eax, 3
push eax
push esi
call fcn.00410180
mov dword [ebp - 0x1dd0], 0
mov dword [ebp - 0x1dcc], 0
mov dword [ebp - 0x1dc8], 0
lea ecx, [ebp - 0x1e00]
call fcn.00404970
lea ecx, [ebp - 0x1cf0]
call fcn.00404700
lea ecx, [ebp - 0x1cd8]
call fcn.00404700
mov dword [ebp - 4], 0x28
jmp 0x40bba4
lea ecx, [ebp - 0x1e00]
call fcn.00418520
cmp eax, 4
je 0x40a90b
push str.Update_failed:_Invalid_patch_manifest
call fcn.00408df0
add esp, 4
lea ecx, [ebp - 0x1d20]
call fcn.004046b0
lea ecx, [ebp - 0x1d08]
call fcn.004046b0
mov esi, dword [ebp - 0x1dd0]
mov dword [ebp - 0x1de4], esi
test esi, esi
je 0x40a8de
mov ecx, dword [ebp - 0x1dcc]
mov dword [ebp - 0x1dc4], ecx
cmp esi, ecx
je 0x40a8a8
mov esi, dword [esi + 4]
test esi, esi
je 0x40a88f
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40a88f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40a889
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x1dc4]
mov esi, dword [ebp - 0x1de4]
add esi, 8
mov dword [ebp - 0x1de4], esi
cmp esi, ecx
jne 0x40a863
mov esi, dword [ebp - 0x1dd0]
mov eax, dword [ebp - 0x1dc8]
lea ecx, [ebp - 0x1dd0]
sub eax, esi
sar eax, 3
push eax
push esi
call fcn.00410180
mov dword [ebp - 0x1dd0], 0
mov dword [ebp - 0x1dcc], 0
mov dword [ebp - 0x1dc8], 0
lea ecx, [ebp - 0x1e00]
call fcn.00404970
lea ecx, [ebp - 0x1cf0]
call fcn.00404700
lea ecx, [ebp - 0x1cd8]
call fcn.00404700
mov dword [ebp - 4], 0x29
jmp 0x40bba4
lea ecx, [ebp - 0x1e00]
call fcn.00414f50
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
xor eax, eax
sar ecx, 3
mov dword [ebp - 0x1df4], ecx
mov dword [ebp - 0x1df0], eax
test ecx, ecx
je 0x40abb5
push eax
lea ecx, [ebp - 0x1e00]
call fcn.00414890
mov esi, eax
mov ecx, esi
call fcn.00418520
cmp eax, 5
jne 0x40acd3
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 4
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x2c], 0x656d616e
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x2b
push eax
mov ecx, esi
call fcn.00414880
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1dc4], eax
call fcn.004046b0
xorps xmm0, xmm0
mov dword [ebp - 0x1d40], 4
movups xmmword [ebp - 0x1d50], xmm0
mov dword [ebp - 0x1d3c], 0xf
mov dword [ebp - 0x1d50], 0x68736168
mov byte [ebp - 0x1d4c], 0
lea eax, [ebp - 0x1d50]
mov byte [ebp - 4], 0x2c
push eax
mov ecx, esi
call fcn.00414880
lea ecx, [ebp - 0x1d50]
mov dword [ebp - 0x1de4], eax
call fcn.004046b0
mov ax, word [0x488880]
xorps xmm0, xmm0
mov ecx, dword [str.source]
movups xmmword [ebp - 0x1d38], xmm0
mov dword [ebp - 0x1d28], 6
mov dword [ebp - 0x1d24], 0xf
mov dword [ebp - 0x1d38], ecx
mov word [ebp - 0x1d34], ax
mov byte [ebp - 0x1d32], 0
lea eax, [ebp - 0x1d38]
mov byte [ebp - 4], 0x2d
push eax
mov ecx, esi
call fcn.00414880
mov ecx, dword [ebp - 0x1d24]
mov dword [ebp - 0x1dec], eax
mov byte [ebp - 4], 0x27
cmp ecx, 0x10
jb 0x40aa75
mov edx, dword [ebp - 0x1d38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40aa6b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc19
push ecx
push edx
call fcn.0046a9b7
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x1d28], 0
movups xmmword [ebp - 0x1d68], xmm0
mov dword [ebp - 0x1d24], 0xf
mov byte [ebp - 0x1d38], 0
mov dword [ebp - 0x1d58], 4
mov dword [ebp - 0x1d54], 0xf
mov dword [ebp - 0x1d68], 0x657a6973
mov byte [ebp - 0x1d64], 0
lea eax, [ebp - 0x1d68]
mov byte [ebp - 4], 0x2e
push eax
mov ecx, esi
call fcn.00414880
mov esi, eax
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x1d68]
mov dword [ebp - 0x1e04], esi
call fcn.004046b0
mov ecx, dword [ebp - 0x1dc4]
call fcn.00418520
cmp eax, 3
jne 0x40ab9c
mov ecx, dword [ebp - 0x1de4]
call fcn.00418520
cmp eax, 3
jne 0x40ab9c
mov ecx, dword [ebp - 0x1dec]
call fcn.00418520
cmp eax, 3
jne 0x40ab9c
mov ecx, esi
call fcn.00418520
cmp eax, 1
jne 0x40ab9c
mov ecx, dword [ebp - 0x1dc4]
call fcn.004184b0
mov ecx, dword [ebp - 0x1de4]
mov dword [ebp - 0x1dd4], eax
call fcn.004184b0
mov ecx, dword [ebp - 0x1dec]
mov esi, eax
call fcn.004184b0
mov ecx, dword [ebp - 0x1e04]
mov dword [ebp - 0x1dc4], eax
call fcn.00416100
mov ecx, dword [ebp - 0x1dc4]
mov edx, eax
cmp dword [ecx + 0x14], 0x10
jb 0x40ab7a
mov ecx, dword [ecx]
cmp dword [esi + 0x14], 0x10
jb 0x40ab82
mov esi, dword [esi]
mov eax, dword [ebp - 0x1dd4]
cmp dword [eax + 0x14], 0x10
jb 0x40ab90
mov eax, dword [eax]
push edx
push ecx
push esi
push eax
call fcn.0040caf0
add esp, 0x10
mov eax, dword [ebp - 0x1df0]
inc eax
mov dword [ebp - 0x1df0], eax
cmp eax, dword [ebp - 0x1df4]
jb 0x40a934
push 0x20
mov dword [ebp - 0x1e2c], 0
mov dword [ebp - 0x1e28], 0
mov dword [ebp - 0x1e24], 0
call fcn.0046a987
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x1e28], eax
mov dword [ebp - 0x1e20], 0
mov dword [ebp - 0x1e1c], 0
mov dword [ebp - 0x1e18], 0
push eax
push 0x10
lea ecx, [ebp - 0x1e20]
mov byte [ebp - 4], 0x30
mov dword [ebp - 0x1e14], 7
mov dword [ebp - 0x1e10], 8
mov dword [ebp - 0x1e2c], 0x3f800000
call fcn.0040cf20
mov eax, dword [0x49b604]
mov esi, dword [0x49b600]
mov byte [ebp - 4], 0x31
mov dword [ebp - 0x1e04], eax
cmp esi, eax
je 0x40adf9
add esi, 0x30
mov dword [ebp - 0x1dc4], esi
nop dword [eax]
cmp dword [esi + 0x14], 8
mov edi, esi
mov eax, dword [esi + 0x10]
jb 0x40ac6d
mov edi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
mov dword [ebp - 0x1df4], eax
je 0x40ac97
mov esi, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x40ac80
mov esi, dword [ebp - 0x1dc4]
push edx
push esi
lea eax, [ebp - 0x1e0c]
push eax
lea ecx, [ebp - 0x1e2c]
call fcn.004029f0
cmp dword [eax + 4], 0
je 0x40adc8
mov eax, dword [esi + 0x60]
mov dword [esi + 0xa0], 4
sub dword [0x49b5e0], eax
inc dword [0x49b660]
jmp 0x40addb
push str.Update_failed:_Invalid_patch_manifest
call fcn.00408df0
add esp, 4
lea ecx, [ebp - 0x1d20]
call fcn.004046b0
lea ecx, [ebp - 0x1d08]
call fcn.004046b0
mov esi, dword [ebp - 0x1dd0]
mov dword [ebp - 0x1de4], esi
test esi, esi
je 0x40ad9b
mov ecx, dword [ebp - 0x1dcc]
mov dword [ebp - 0x1dc4], ecx
cmp esi, ecx
je 0x40ad65
nop word [eax + eax]
mov esi, dword [esi + 4]
test esi, esi
je 0x40ad4c
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40ad4c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40ad46
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x1dc4]
mov esi, dword [ebp - 0x1de4]
add esi, 8
mov dword [ebp - 0x1de4], esi
cmp esi, ecx
jne 0x40ad20
mov esi, dword [ebp - 0x1dd0]
mov eax, dword [ebp - 0x1dc8]
lea ecx, [ebp - 0x1dd0]
sub eax, esi
sar eax, 3
push eax
push esi
call fcn.00410180
mov dword [ebp - 0x1dd0], 0
mov dword [ebp - 0x1dcc], 0
mov dword [ebp - 0x1dc8], 0
lea ecx, [ebp - 0x1e00]
call fcn.00404970
lea ecx, [ebp - 0x1cf0]
call fcn.00404700
lea ecx, [ebp - 0x1cd8]
call fcn.00404700
mov dword [ebp - 4], 0x2a
jmp 0x40bba4
push esi
lea eax, [ebp - 0x1de8]
push eax
lea ecx, [ebp - 0x1e2c]
call fcn.00403400
add esi, 0xd8
mov dword [ebp - 0x1dc4], esi
lea eax, [esi - 0x30]
cmp eax, dword [ebp - 0x1e04]
jne 0x40ac60
or edi, 0xffffffff
push 4
call fcn.00408550
add esp, 4
test al, al
jne 0x40b049
lea ecx, [ebp - 0x1e2c]
call fcn.004043e0
mov ecx, dword [ebp - 0x1d0c]
mov byte [ebp - 4], 0x1e
cmp ecx, 0x10
jb 0x40ae54
mov edx, dword [ebp - 0x1d20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ae4a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc2d
push ecx
push edx
call fcn.0046a9b7
add esp, 8
mov ecx, dword [ebp - 0x1cf4]
mov dword [ebp - 0x1d10], 0
mov dword [ebp - 0x1d0c], 0xf
mov byte [ebp - 0x1d20], 0
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x40aead
mov edx, dword [ebp - 0x1d08]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40aea3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc2d
push ecx
push edx
call fcn.0046a9b7
add esp, 8
mov esi, dword [ebp - 0x1dd0]
mov dword [ebp - 0x1cf8], 0
mov dword [ebp - 0x1cf4], 0xf
mov byte [ebp - 0x1d08], 0
mov byte [ebp - 4], 8
mov dword [ebp - 0x1de4], esi
test esi, esi
je 0x40af8d
mov ecx, dword [ebp - 0x1dcc]
mov dword [ebp - 0x1dc4], ecx
cmp esi, ecx
je 0x40af35
mov esi, dword [esi + 4]
test esi, esi
je 0x40af1c
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40af1c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40af16
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x1dc4]
mov esi, dword [ebp - 0x1de4]
add esi, 8
mov dword [ebp - 0x1de4], esi
cmp esi, ecx
jne 0x40aef0
mov esi, dword [ebp - 0x1dd0]
mov eax, dword [ebp - 0x1dc8]
sub eax, esi
sar eax, 3
lea ecx, [eax*8]
mov eax, esi
cmp ecx, 0x1000
jb 0x40af65
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc2d
push ecx
push esi
call fcn.0046a9b7
add esp, 8
mov dword [ebp - 0x1dd0], 0
mov dword [ebp - 0x1dcc], 0
mov dword [ebp - 0x1dc8], 0
lea ecx, [ebp - 0x1e00]
call fcn.00404970
mov ecx, dword [ebp - 0x1cdc]
mov byte [ebp - 4], 2
cmp ecx, 8
jb 0x40afdc
mov edx, dword [ebp - 0x1cf0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40afd2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc2d
push ecx
push edx
call fcn.0046a9b7
add esp, 8
mov ecx, dword [ebp - 0x1cc4]
mov byte [ebp - 4], 0
cmp ecx, 8
jb 0x40b020
mov edx, dword [ebp - 0x1cd8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b016
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc2d
push ecx
push edx
call fcn.0046a9b7
add esp, 8
xor eax, eax
mov dword [ebp - 0x1cc8], 0
mov dword [ebp - 0x1cc4], 7
mov word [ebp - 0x1cd8], ax
mov dword [ebp - 4], 0x32
jmp 0x40bba4
mov ecx, dword [0x49b604]
mov eax, 0x4bda12f7
sub ecx, dword [0x49b600]
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [0x49b660], eax
je 0x40b22e
push str.Update_failed_to_download_all_files.
call fcn.00408df0
add esp, 4
lea ecx, [ebp - 0x1e2c]
call fcn.004043e0
mov ecx, dword [ebp - 0x1d0c]
mov byte [ebp - 4], 0x1e
cmp ecx, 0x10
jb 0x40b0c8
mov edx, dword [ebp - 0x1d20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b0be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc2d
push ecx
push edx
call fcn.0046a9b7
add esp, 8
mov ecx, dword [ebp - 0x1cf4]
mov dword [ebp - 0x1d10], 0
mov dword [ebp - 0x1d0c], 0xf
mov byte [ebp - 0x1d20], 0
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x40b121
mov edx, dword [ebp - 0x1d08]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b117
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc2d
push ecx
push edx
call fcn.0046a9b7
add esp, 8
mov esi, dword [ebp - 0x1dd0]
mov dword [ebp - 0x1cf8], 0
mov dword [ebp - 0x1cf4], 0xf
mov byte [ebp - 0x1d08], 0
mov byte [ebp - 4], 8
mov dword [ebp - 0x1de4], esi
test esi, esi
je 0x40b201
mov ecx, dword [ebp - 0x1dcc]
mov dword [ebp - 0x1dc4], ecx
cmp esi, ecx
je 0x40b1a9
mov esi, dword [esi + 4]
test esi, esi
je 0x40b190
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40b190
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40b18a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x1dc4]
mov esi, dword [ebp - 0x1de4]
add esi, 8
mov dword [ebp - 0x1de4], esi
cmp esi, ecx
jne 0x40b164
mov esi, dword [ebp - 0x1dd0]
mov eax, dword [ebp - 0x1dc8]
sub eax, esi
sar eax, 3
lea ecx, [eax*8]
mov eax, esi
cmp ecx, 0x1000
jb 0x40b1d9
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc2d
push ecx
push esi
call fcn.0046a9b7
add esp, 8
mov dword [ebp - 0x1dd0], 0
mov dword [ebp - 0x1dcc], 0
mov dword [ebp - 0x1dc8], 0
lea ecx, [ebp - 0x1e00]
call fcn.00404970
lea ecx, [ebp - 0x1cf0]
call fcn.00404700
lea ecx, [ebp - 0x1cd8]
call fcn.00404700
mov dword [ebp - 4], 0x33
jmp 0x40bba4
push 0
push 0
push 0x402
push 0x3e9
push dword [0x49b5d8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 4
call fcn.00408b70
add esp, 4
test al, al
jne 0x40b39e
mov ecx, dword [ebp - 0x1e20]
test ecx, ecx
je 0x40b29a
mov eax, dword [ebp - 0x1e18]
sub eax, ecx
sar eax, 2
push eax
push ecx
lea ecx, [ebp - 0x1e20]
call fcn.00410140
mov dword [ebp - 0x1e20], 0
mov dword [ebp - 0x1e1c], 0
mov dword [ebp - 0x1e18], 0
push dword [ebp - 0x1e28]
lea eax, [ebp - 0x1e28]
push eax
call fcn.00402ae0
push 0x20
push dword [ebp - 0x1e28]
call fcn.0046a9b7
add esp, 0x10
lea ecx, [ebp - 0x1d20]
call fcn.004046b0
lea ecx, [ebp - 0x1d08]
call fcn.004046b0
mov esi, dword [ebp - 0x1dd0]
mov dword [ebp - 0x1de4], esi
test esi, esi
je 0x40b371
mov ecx, dword [ebp - 0x1dcc]
mov dword [ebp - 0x1dc4], ecx
cmp esi, ecx
je 0x40b33b
mov esi, dword [esi + 4]
test esi, esi
je 0x40b322
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40b322
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40b31c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x1dc4]
mov esi, dword [ebp - 0x1de4]
add esi, 8
mov dword [ebp - 0x1de4], esi
cmp esi, ecx
jne 0x40b2f6
mov esi, dword [ebp - 0x1dd0]
mov eax, dword [ebp - 0x1dc8]
lea ecx, [ebp - 0x1dd0]
sub eax, esi
sar eax, 3
push eax
push esi
call fcn.00410180
mov dword [ebp - 0x1dd0], 0
mov dword [ebp - 0x1dcc], 0
mov dword [ebp - 0x1dc8], 0
lea ecx, [ebp - 0x1e00]
call fcn.00404970
lea ecx, [ebp - 0x1cf0]
call fcn.00404700
lea ecx, [ebp - 0x1cd8]
call fcn.00404700
mov dword [ebp - 4], 0x34
jmp 0x40bba4
mov eax, dword [0x49b654]
mov esi, dword [0x49b650]
mov dword [ebp - 0x1e04], eax
cmp esi, eax
je 0x40b4ee
lea eax, [ebp - 0x3c]
push eax
push 0x28
push dword [0x49b5dc]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push 0
push 0x28
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1d34]
push 0x14
push eax
call fcn.00418570
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x1d34]
push eax
call fcn.00412740
xor eax, eax
add esp, 0x20
cmp dword [esi + 0x14], 8
mov word [ebp - 0x490], ax
mov eax, esi
jb 0x40b40a
mov eax, dword [esi]
lea ecx, [ebp - 0x298]
mov edx, 0x104
mov edi, ecx
sub eax, edi
mov dword [ebp - 0x1df4], eax
mov edi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x40b43f
movzx eax, word [edi + ecx]
test ax, ax
je 0x40b43f
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x40b421
lea eax, [ecx - 2]
test edx, edx
push 0x487ac0
cmovne eax, ecx
xor ecx, ecx
push 0x208
mov word [eax], cx
lea eax, [ebp - 0x298]
push eax
call fcn.00408e70
lea eax, [ebp - 0x4a0]
push eax
push 0x208
lea eax, [ebp - 0x298]
push eax
call fcn.00408e70
push 0x487ac4
push 0x208
lea eax, [ebp - 0x298]
push eax
call fcn.00408e70
cmp dword [esi + 0x14], 8
mov eax, esi
mov edi, 0xffffffff
jb 0x40b49f
mov eax, dword [esi]
lea ecx, [ebp - 0x298]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x40b957
lea ecx, [ebp - 0x298]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b4c0
sub ecx, edx
lea eax, [ebp - 0x298]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x18]
call fcn.0040ff90
add esi, 0x30
cmp esi, dword [ebp - 0x1e04]
jne 0x40b3b7
cmp byte [ebp - 0x1ddd], 0
jne 0x40b651
push str.Installing_Virtual_Camera...
call fcn.00408df0
add esp, 4
lea eax, [ebp - 0xcc0]
push eax
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str._regsvr32.exe
push 0x208
lea eax, [ebp - 0xcc0]
push eax
call fcn.00408e70
push 0x49b870
push 0x208
lea eax, [ebp - 0xec8]
push eax
call fcn.00408f20
push str.dataobs_pluginswin_dshow_
push 0x208
lea eax, [ebp - 0xec8]
push eax
call fcn.00408e70
push 0x4889c8
push 0x208
lea eax, [ebp - 0x298]
push eax
call fcn.00408f20
lea eax, [ebp - 0xcc0]
push eax
push 0x208
lea eax, [ebp - 0x298]
push eax
call fcn.00408e70
push 0x4889cc
push 0x208
lea eax, [ebp - 0x298]
push eax
call fcn.00408e70
lea eax, [ebp - 0xec8]
push eax
push 0x208
lea eax, [ebp - 0x298]
push eax
call fcn.00408e70
push str.obs_virtualcam_module
push 0x208
lea eax, [ebp - 0x298]
push eax
call fcn.00408e70
lea eax, [ebp - 0x298]
push eax
push 0x208
lea eax, [ebp - 0x4a0]
push eax
call fcn.00408f20
push str.32.dll_
push 0x208
lea eax, [ebp - 0x4a0]
push eax
call fcn.00408e70
lea eax, [ebp - 0x4a0]
push eax
lea ecx, [ebp - 0x1dd5]
call fcn.00405360
lea eax, [ebp - 0x298]
push eax
push 0x208
lea eax, [ebp - 0x4a0]
push eax
call fcn.00408f20
push str.64.dll_
push 0x208
lea eax, [ebp - 0x4a0]
push eax
call fcn.00408e70
lea eax, [ebp - 0x4a0]
push eax
lea ecx, [ebp - 0x1dd5]
call fcn.00405360
push str.Updating_Game_Capture_hooks...
call fcn.00408df0
call fcn.00412840
push str.Cleaning_up...
call fcn.00408df0
mov eax, dword [0x49b604]
add esp, 8
mov esi, dword [0x49b600]
mov dword [ebp - 0x1df4], eax
cmp esi, eax
je 0x40b6c5
add esi, 0x44
cmp dword [esi + 0x14], 0
je 0x40b69d
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
jb 0x40b696
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi - 4], 0
je 0x40b6b4
cmp dword [esi], 8
lea eax, [esi - 0x14]
jb 0x40b6ad
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esi, 0xd8
lea eax, [esi - 0x44]
cmp eax, dword [ebp - 0x1df4]
jne 0x40b685
mov eax, dword [0x49b654]
mov esi, dword [0x49b650]
mov dword [ebp - 0x1df4], eax
cmp esi, eax
je 0x40b723
add esi, 0x18
nop dword [eax]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40b6ea
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40b715
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x40b715
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40b70a
mov eax, dword [esi]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esi, 0x30
lea eax, [esi - 0x18]
cmp eax, dword [ebp - 0x1df4]
jne 0x40b6e0
push 0
push 0x64
push 0x402
push 0x3e9
push dword [0x49b5d8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push str.Update_complete.
call fcn.00408df0
mov eax, dword [sym.imp.USER32.dll_SetDlgItemTextW]
add esp, 4
push str.Launch_OBS
push 0x3ec
push dword [0x49b5d8]
call eax
lea ecx, [ebp - 0x1e2c]
call fcn.004043e0
mov ecx, dword [ebp - 0x1d0c]
mov byte [ebp - 4], 0x1e
cmp ecx, 0x10
jb 0x40b7aa
mov edx, dword [ebp - 0x1d20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b7a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc2d
push ecx
push edx
call fcn.0046a9b7
add esp, 8
mov ecx, dword [ebp - 0x1cf4]
mov dword [ebp - 0x1d10], 0
mov dword [ebp - 0x1d0c], 0xf
mov byte [ebp - 0x1d20], 0
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x40b803
mov edx, dword [ebp - 0x1d08]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b7f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc2d
push ecx
push edx
call fcn.0046a9b7
add esp, 8
mov eax, dword [ebp - 0x1dd0]
mov dword [ebp - 0x1cf8], 0
mov dword [ebp - 0x1cf4], 0xf
mov byte [ebp - 0x1d08], 0
mov byte [ebp - 4], 8
test eax, eax
je 0x40b8a4
lea ecx, [ebp - 0x1dd0]
push ecx
push dword [ebp - 0x1dcc]
push eax
call fcn.00401e00
mov eax, dword [ebp - 0x1dc8]
add esp, 0xc
mov ecx, dword [ebp - 0x1dd0]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b87c
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc2d
push edx
push ecx
call fcn.0046a9b7
add esp, 8
mov dword [ebp - 0x1dd0], 0
mov dword [ebp - 0x1dcc], 0
mov dword [ebp - 0x1dc8], 0
mov esi, dword [ebp - 0x1dfc]
test esi, esi
je 0x40b8cc
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40b8cc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x40b8cc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x1cdc]
mov byte [ebp - 4], 2
cmp ecx, 8
jb 0x40b910
mov edx, dword [ebp - 0x1cf0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b906
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc2d
push ecx
push edx
call fcn.0046a9b7
add esp, 8
mov ecx, dword [ebp - 0x1cc4]
mov byte [ebp - 4], 0
cmp ecx, 8
jb 0x40bbc5
mov edx, dword [ebp - 0x1cd8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40bbbb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc2d
jmp 0x40bbbb
push str.Update_failed:_Couldnt_remove_obsolete_files
call fcn.00408df0
add esp, 4
lea ecx, [ebp - 0x1e2c]
call fcn.004043e0
mov ecx, dword [ebp - 0x1d0c]
mov byte [ebp - 4], 0x1e
cmp ecx, 0x10
jb 0x40b9ad
mov edx, dword [ebp - 0x1d20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b9a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc2d
push ecx
push edx
call fcn.0046a9b7
add esp, 8
mov ecx, dword [ebp - 0x1cf4]
mov dword [ebp - 0x1d10], 0
mov dword [ebp - 0x1d0c], 0xf
mov byte [ebp - 0x1d20], 0
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x40ba06
mov edx, dword [ebp - 0x1d08]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b9fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc2d
push ecx
push edx
call fcn.0046a9b7
add esp, 8
mov esi, dword [ebp - 0x1dd0]
mov dword [ebp - 0x1cf8], 0
mov dword [ebp - 0x1cf4], 0xf
mov byte [ebp - 0x1d08], 0
mov byte [ebp - 4], 8
mov dword [ebp - 0x1de4], esi
test esi, esi
je 0x40baed
mov ecx, dword [ebp - 0x1dcc]
mov dword [ebp - 0x1dc4], ecx
cmp esi, ecx
je 0x40ba95
nop dword [eax]
mov esi, dword [esi + 4]
test esi, esi
je 0x40ba7c
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40ba7c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40ba76
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x1dc4]
mov esi, dword [ebp - 0x1de4]
add esi, 8
mov dword [ebp - 0x1de4], esi
cmp esi, ecx
jne 0x40ba50
mov esi, dword [ebp - 0x1dd0]
mov eax, dword [ebp - 0x1dc8]
sub eax, esi
sar eax, 3
lea ecx, [eax*8]
mov eax, esi
cmp ecx, 0x1000
jb 0x40bac5
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc2d
push ecx
push esi
call fcn.0046a9b7
add esp, 8
mov dword [ebp - 0x1dd0], 0
mov dword [ebp - 0x1dcc], 0
mov dword [ebp - 0x1dc8], 0
lea ecx, [ebp - 0x1e00]
call fcn.00404970
mov ecx, dword [ebp - 0x1cdc]
mov byte [ebp - 4], 2
cmp ecx, 8
jb 0x40bb3c
mov edx, dword [ebp - 0x1cf0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40bb32
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc2d
push ecx
push edx
call fcn.0046a9b7
add esp, 8
mov ecx, dword [ebp - 0x1cc4]
mov byte [ebp - 4], 0
cmp ecx, 8
jb 0x40bb80
mov edx, dword [ebp - 0x1cd8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40bb76
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc2d
push ecx
push edx
call fcn.0046a9b7
add esp, 8
xor eax, eax
mov dword [ebp - 0x1cc8], 0
mov dword [ebp - 0x1cc4], 7
mov word [ebp - 0x1cd8], ax
mov dword [ebp - 4], 0x35
mov eax, dword [ebp - 0x1ddc]
test eax, eax
je 0x40bbb7
push eax
call fcn.00413590
add esp, 4
xor al, al
jmp 0x40bbfe
push ecx
push edx
call fcn.0046a9b7
add esp, 8
xor eax, eax
mov dword [ebp - 0x1cc8], 0
mov dword [ebp - 0x1cc4], 7
mov word [ebp - 0x1cd8], ax
mov dword [ebp - 4], 0x36
mov eax, dword [ebp - 0x1ddc]
test eax, eax
je 0x40bbfc
push eax
call fcn.00413590
add esp, 4
mov al, 1
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.0046ae1f
mov esp, ebp
pop ebp
ret
call fcn.0046e58f
call fcn.0046e58f
call fcn.0040f570
call fcn.0040f8c0
call fcn.0046e58f
int3