Function at 0x454da0
Capabilities:
Get graphical window text
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493761
mov eax, dword fs:[0]
push eax
sub esp, 0x504
mov eax, dword [0x4c0074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x468], esi
xor edi, edi
mov dword [ebp - 0x478], edi
mov dword [ebp - 4], edi
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
jne 0x454f4a
lea eax, [ebp - 0x45c]
push eax
call fcn.004587d0
mov byte [ebp - 4], 1
lea ecx, [esi + 0xc]
mov edx, dword [eax]
mov edi, dword [ecx]
sub edi, 0x10
lea eax, [edx - 0x10]
mov dword [ebp - 0x458], eax
cmp eax, edi
je 0x454e5f
cmp dword [edi + 0xc], 0
jl 0x454e56
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x454e56
mov ecx, dword [ebp - 0x458]
call fcn.00402480
mov dword [ebp - 0x458], eax
lea ecx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x454e46
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x458]
lea edi, [esi + 0xc]
add eax, 0x10
mov dword [edi], eax
jmp 0x454e62
push dword [edx - 0xc]
push edx
call fcn.00403ae0
lea edi, [esi + 0xc]
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x45c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x454e84
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0xe8
call fcn.0046d05d
add esp, 4
mov dword [ebp - 0x454], eax
mov byte [ebp - 4], 3
mov ecx, eax
push edi
call fcn.0042f900
mov edi, eax
mov byte [ebp - 4], 0
mov ecx, edi
mov dword [ebp - 0x478], edi
call fcn.0042fef0
mov ecx, eax
mov dword [ebp - 0x460], ecx
test ecx, ecx
jne 0x455f52
mov edx, dword [edi + 0x40]
cmp dword [edx - 0xc], eax
je 0x454f4a
mov ecx, dword [esi]
lea eax, [edx - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x470], ecx
cmp eax, ecx
je 0x454f4a
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
mov dword [ebp - 0x458], esi
mov esi, dword [ebp - 0x468]
jl 0x454f3f
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x454f3f
mov ecx, dword [ebp - 0x45c]
call fcn.00402480
mov dword [ebp - 0x45c], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x458]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x454f32
mov eax, dword [ebp - 0x470]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x45c]
add eax, 0x10
mov dword [esi], eax
jmp 0x454f4a
push dword [edx - 0xc]
mov ecx, esi
push edx
call fcn.00403ae0
mov ecx, esi
call fcn.00458ea0
mov dword [ebp - 0x460], eax
test eax, eax
jne 0x455f52
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x454f91
cmp ecx, 1
je 0x454f91
cmp ecx, 2
je 0x454f91
cmp ecx, 3
je 0x454f91
cmp ecx, 0xb
je 0x454f91
cmp ecx, 4
je 0x454f91
mov eax, dword [esi + 0xc]
cmp dword [eax - 0xc], 0
je 0x454f91
cmp ecx, 0xa
jne 0x45505b
lea eax, [ebp - 0x454]
push eax
call fcn.004587d0
mov byte [ebp - 4], 4
lea edx, [esi + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x470], eax
lea ecx, [eax - 0x10]
mov dword [ebp - 0x46c], ecx
mov ecx, dword [edx]
sub ecx, 0x10
mov dword [ebp - 0x458], ecx
cmp dword [ebp - 0x46c], ecx
je 0x455039
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
mov dword [ebp - 0x45c], esi
mov esi, dword [ebp - 0x468]
jl 0x45502e
mov eax, dword [ebp - 0x46c]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x455028
mov ecx, dword [ebp - 0x46c]
call fcn.00402480
mov dword [ebp - 0x470], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x45c]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45501a
mov eax, dword [ebp - 0x458]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x470]
add eax, 0x10
mov dword [esi + 0xc], eax
jmp 0x455039
mov eax, dword [ebp - 0x470]
push dword [eax - 0xc]
mov ecx, edx
push eax
call fcn.00403ae0
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x454]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45505b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x455154
push 0xe8
call fcn.0046d05d
add esp, 4
mov dword [ebp - 0x454], eax
mov byte [ebp - 4], 6
lea ecx, [esi + 0xc]
push ecx
mov ecx, eax
call fcn.0042f900
mov edi, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x478], edi
mov edx, dword [esi + 0x14]
cmp dword [edx - 0xc], 0
je 0x45513f
lea ecx, [edx - 0x10]
mov dword [ebp - 0x474], ecx
lea eax, [edi + 0x8c]
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x45c], ecx
cmp dword [ebp - 0x474], ecx
je 0x45512f
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
mov dword [ebp - 0x454], esi
mov esi, dword [ebp - 0x468]
jl 0x455124
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x45511e
mov ecx, dword [ebp - 0x474]
call fcn.00402480
mov dword [ebp - 0x458], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x454]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45510d
mov eax, dword [ebp - 0x45c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x458]
add eax, 0x10
mov dword [edi + 0x8c], eax
jmp 0x45512f
lea eax, [edi + 0x8c]
push dword [edx - 0xc]
mov ecx, eax
push edx
call fcn.00403ae0
mov eax, dword [esi + 0x14]
cmp dword [eax - 0xc], 0
je 0x45513f
mov byte [edi + 0xd4], 1
mov ecx, edi
call fcn.0042fef0
mov dword [ebp - 0x460], eax
test eax, eax
jg 0x455f52
mov eax, dword [esi + 4]
test eax, eax
je 0x455178
cmp eax, 1
je 0x455178
cmp eax, 2
je 0x455178
cmp eax, 3
je 0x455178
cmp eax, 4
je 0x455178
cmp eax, 0xb
jne 0x455278
call fcn.00403f70
mov ecx, eax
test ecx, ecx
je 0x455f9d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x490], eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x490]
push dword [edi]
push str.SoftwareCaphyonAdvanced_Updater_s
push eax
call fcn.00403590
mov esi, dword [ebp - 0x490]
lea eax, [ebp - 0x484]
add esp, 0xc
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4551df
jmp 0x455256
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [0x4c1048]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x494]
push eax
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x484]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x45524a
push 4
lea eax, [ebp - 0x464]
mov dword [ebp - 0x464], 0
push eax
push 4
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x484]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x484]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
or eax, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x455272
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x468]
mov edx, dword [esi + 0x90]
lea eax, [edi + 0x58]
lea ecx, [edx - 0x10]
mov dword [ebp - 0x464], ecx
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x45c], ecx
cmp dword [ebp - 0x464], ecx
je 0x455306
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
mov dword [ebp - 0x454], esi
mov esi, dword [ebp - 0x468]
jl 0x4552fb
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x4552f8
mov ecx, dword [ebp - 0x464]
call fcn.00402480
mov dword [ebp - 0x458], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x454]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4552ea
mov eax, dword [ebp - 0x45c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x458]
add eax, 0x10
mov dword [edi + 0x58], eax
jmp 0x455306
lea eax, [edi + 0x58]
push dword [edx - 0xc]
mov ecx, eax
push edx
call fcn.00403ae0
mov edx, dword [esi + 0x94]
lea eax, [edi + 0x5c]
lea ecx, [edx - 0x10]
mov dword [ebp - 0x464], ecx
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x45c], ecx
cmp dword [ebp - 0x464], ecx
je 0x455394
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
mov dword [ebp - 0x454], esi
mov esi, dword [ebp - 0x468]
jl 0x455389
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x455386
mov ecx, dword [ebp - 0x464]
call fcn.00402480
mov dword [ebp - 0x458], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x454]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x455378
mov eax, dword [ebp - 0x45c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x458]
add eax, 0x10
mov dword [edi + 0x5c], eax
jmp 0x455394
lea eax, [edi + 0x5c]
push dword [edx - 0xc]
mov ecx, eax
push edx
call fcn.00403ae0
mov edx, dword [esi + 0x98]
lea eax, [edi + 0x60]
lea ecx, [edx - 0x10]
mov dword [ebp - 0x464], ecx
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x45c], ecx
cmp dword [ebp - 0x464], ecx
je 0x455422
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
mov dword [ebp - 0x454], esi
mov esi, dword [ebp - 0x468]
jl 0x455417
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x455414
mov ecx, dword [ebp - 0x464]
call fcn.00402480
mov dword [ebp - 0x458], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x454]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x455406
mov eax, dword [ebp - 0x45c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x458]
add eax, 0x10
mov dword [edi + 0x60], eax
jmp 0x455422
lea eax, [edi + 0x60]
push dword [edx - 0xc]
mov ecx, eax
push edx
call fcn.00403ae0
mov edx, dword [esi + 0x9c]
lea eax, [edi + 0x64]
lea ecx, [edx - 0x10]
mov dword [ebp - 0x464], ecx
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x45c], ecx
cmp dword [ebp - 0x464], ecx
je 0x4554b0
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
mov dword [ebp - 0x454], esi
mov esi, dword [ebp - 0x468]
jl 0x4554a5
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x4554a2
mov ecx, dword [ebp - 0x464]
call fcn.00402480
mov dword [ebp - 0x458], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x454]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x455494
mov eax, dword [ebp - 0x45c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x458]
add eax, 0x10
mov dword [edi + 0x64], eax
jmp 0x4554b0
lea eax, [edi + 0x64]
push dword [edx - 0xc]
mov ecx, eax
push edx
call fcn.00403ae0
mov eax, dword [esi + 0xa4]
lea ecx, [esi + 0xa4]
cmp dword [eax - 0xc], 0
je 0x4554ca
push ecx
mov ecx, edi
call fcn.00430ac0
push edi
mov ecx, esi
call fcn.0045b330
mov al, byte [esi + 0x120]
mov byte [edi + 0x80], al
mov al, byte [esi + 0x121]
mov byte [edi + 0x81], al
lea eax, [edi + 0x90]
mov edx, dword [esi + 0x164]
lea ecx, [edx - 0x10]
mov dword [ebp - 0x464], ecx
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x45c], ecx
cmp dword [ebp - 0x464], ecx
je 0x455581
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
mov dword [ebp - 0x454], esi
mov esi, dword [ebp - 0x468]
jl 0x455576
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x455570
mov ecx, dword [ebp - 0x464]
call fcn.00402480
mov dword [ebp - 0x458], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x454]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45555f
mov eax, dword [ebp - 0x45c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x458]
add eax, 0x10
mov dword [edi + 0x90], eax
jmp 0x455581
lea eax, [edi + 0x90]
push dword [edx - 0xc]
mov ecx, eax
push edx
call fcn.00403ae0
mov al, byte [esi + 0x16c]
mov byte [edi + 0x98], al
lea eax, [edi + 0x94]
mov edx, dword [esi + 0x168]
lea ecx, [edx - 0x10]
mov dword [ebp - 0x464], ecx
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x45c], ecx
cmp dword [ebp - 0x464], ecx
je 0x455624
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
mov dword [ebp - 0x454], esi
mov esi, dword [ebp - 0x468]
jl 0x455619
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x455613
mov ecx, dword [ebp - 0x464]
call fcn.00402480
mov dword [ebp - 0x458], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x454]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x455602
mov eax, dword [ebp - 0x45c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x458]
add eax, 0x10
mov dword [edi + 0x94], eax
jmp 0x455624
lea eax, [edi + 0x94]
push dword [edx - 0xc]
mov ecx, eax
push edx
call fcn.00403ae0
mov al, byte [esi + 0x16e]
mov byte [edi + 0x82], al
mov al, byte [esi + 0x16f]
mov byte [edi + 0x83], al
mov al, byte [esi + 0x171]
mov byte [edi + 0x84], al
mov edx, dword [esi + 0x174]
cmp dword [edx - 0xc], 0
je 0x4556e0
lea ecx, [edx - 0x10]
mov dword [ebp - 0x464], ecx
lea eax, [edi + 0x48]
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x45c], ecx
cmp dword [ebp - 0x464], ecx
je 0x4556e0
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
mov dword [ebp - 0x454], esi
mov esi, dword [ebp - 0x468]
jl 0x4556d5
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x4556d2
mov ecx, dword [ebp - 0x464]
call fcn.00402480
mov dword [ebp - 0x458], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x454]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4556c4
mov eax, dword [ebp - 0x45c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x458]
add eax, 0x10
mov dword [edi + 0x48], eax
jmp 0x4556e0
lea eax, [edi + 0x48]
push dword [edx - 0xc]
mov ecx, eax
push edx
call fcn.00403ae0
mov edi, dword [edi + 0x18]
sub edi, 0x10
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
cmp dword [edi + 0xc], 0
mov ecx, eax
lea eax, [edi + 0xc]
jl 0x455703
cmp ecx, dword [edi]
jne 0x455703
lock inc dword [eax]
jmp 0x45573e
mov eax, dword [ecx]
push 2
push dword [edi + 4]
mov eax, dword [eax]
call eax
mov ecx, eax
mov dword [ebp - 0x454], ecx
test ecx, ecx
je 0x455fa7
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea eax, [edi + 0x10]
mov edx, dword [edi + 4]
add ecx, 0x10
inc edx
push edx
push eax
call fcn.004023d0
mov edi, dword [ebp - 0x454]
add esp, 8
lea eax, [edi + 0x10]
mov dword [ebp - 0x468], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x468]
call fcn.00409aa0
push 0xb
push str.updater.log
lea ecx, [ebp - 0x468]
call fcn.00402280
call fcn.0041e1d0
mov edi, eax
mov byte [ebp - 0x47c], 0
mov dword [ebp - 0x480], edi
mov cl, byte [edi + 0x18]
test cl, cl
jne 0x455791
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov al, 1
lea ecx, [edi + 0x18]
xchg byte [ecx], al
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0xd
cmp dword [edi + 0x30], 0
je 0x4557b9
lea edx, [edi + 0x24]
lea ecx, [ebp - 0x468]
call fcn.0041eac0
test al, al
jne 0x45582a
mov eax, dword [ebp - 0x468]
lea ecx, [edi + 0x24]
mov edi, dword [ecx]
sub edi, 0x10
mov dword [ebp - 0x45c], ecx
lea edx, [eax - 0x10]
mov dword [ebp - 0x454], edx
cmp edx, edi
je 0x45582a
cmp dword [edi + 0xc], 0
jl 0x455821
mov edx, dword [edx]
cmp edx, dword [edi]
jne 0x455821
mov ecx, dword [ebp - 0x454]
call fcn.00402480
mov dword [ebp - 0x454], eax
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45580e
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x45c]
mov eax, dword [ebp - 0x454]
add eax, 0x10
mov dword [ecx], eax
jmp 0x45582a
push dword [eax - 0xc]
push eax
call fcn.00403ae0
mov byte [ebp - 4], 0xc
mov al, byte [ebp - 0x47c]
test al, al
jne 0x45584f
push dword [ebp - 0x480]
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
lea ecx, [ebp - 0x47c]
mov al, 1
xchg byte [ecx], al
mov eax, dword [ebp - 0x478]
mov eax, dword [eax + 0xd8]
mov dword [ebp - 0x470], eax
call fcn.0041e1d0
mov edi, eax
mov byte [ebp - 0x498], 0
mov dword [ebp - 0x49c], edi
mov cl, byte [edi + 0x18]
test cl, cl
jne 0x45588a
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov al, 1
lea ecx, [edi + 0x18]
xchg byte [ecx], al
push dword [ebp - 0x49c]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x470], 0
setne al
mov byte [edi + 0x1c], al
mov byte [ebp - 4], 0xc
mov al, byte [ebp - 0x498]
test al, al
jne 0x4558cb
push dword [ebp - 0x49c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
lea ecx, [ebp - 0x498]
xchg byte [ecx], al
call fcn.0041e1d0
mov edi, eax
mov byte [ebp - 0x4a0], 0
mov dword [ebp - 0x4a4], edi
mov cl, byte [edi + 0x18]
test cl, cl
jne 0x4558f4
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov al, 1
lea ecx, [edi + 0x18]
xchg byte [ecx], al
push dword [ebp - 0x4a4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x470]
mov dword [edi + 0x20], eax
mov byte [ebp - 4], 0xc
mov al, byte [ebp - 0x4a0]
test al, al
jne 0x455931
push dword [ebp - 0x4a4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
lea ecx, [ebp - 0x4a0]
xchg byte [ecx], al
call fcn.0041e1d0
mov al, byte [eax + 0x1c]
test al, al
je 0x455a25
call fcn.0041e1d0
test byte [eax + 0x20], 8
je 0x455a25
call fcn.0041e1d0
mov edi, eax
call fcn.00403f70
mov ecx, eax
test ecx, ecx
je 0x455fac
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x48c], eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x48c]
push 0x17
push str.Running_updater._Mode:
call fcn.00402280
call fcn.00403f70
mov ecx, eax
test ecx, ecx
je 0x455fb6
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x488], eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x488]
push 0
push 0x4a4fb8
call fcn.00402280
push ecx
push dword [esi + 4]
lea ecx, [ebp - 0x48c]
call fcn.0041ddf0
push eax
push ecx
lea eax, [ebp - 0x488]
mov ecx, edi
push eax
call fcn.0041e320
mov byte [ebp - 4], 0x12
or edi, 0xffffffff
mov edx, dword [ebp - 0x488]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x455a04
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov eax, edi
mov edx, dword [ebp - 0x48c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x455a25
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 4]
mov edi, dword [ebp - 0x478]
cmp eax, 0x14
ja case.0x455a3e.5
movzx eax, byte [eax + 0x455ffc]
jmp dword [eax*4 + 0x455fc8]
cmp byte [esi + 0x16c], 0
je 0x455a62
mov eax, dword [esi + 0x164]
cmp dword [eax - 0xc], 0
je 0x455a62
push edi
mov ecx, esi
call fcn.00456020
push edi
mov ecx, esi
call fcn.004561b0
mov ecx, eax
mov dword [ebp - 0x460], ecx
jmp 0x455d07
push edi
mov ecx, esi
call fcn.00456440
mov ecx, eax
mov dword [ebp - 0x460], ecx
jmp 0x455d07
cmp byte [esi + 0x16c], 0
je 0x455aa9
mov eax, dword [esi + 0x164]
cmp dword [eax - 0xc], 0
je 0x455aa9
push edi
mov ecx, esi
call fcn.00456020
push edi
mov ecx, esi
call fcn.004565f0
mov ecx, eax
mov dword [ebp - 0x460], ecx
jmp 0x455d07
push 0
push 0
push edi
lea ecx, [ebp - 0x510]
call fcn.00466c30
mov byte [ebp - 4], 0x1a
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 0x454], eax
lea eax, [ebp - 0x420]
push 0x104
push eax
push dword [esi + 0x88]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x455b02
mov eax, dword [esi + 0x88]
jmp 0x455b08
mov eax, dword [ebp - 0x454]
push ecx
push eax
lea ecx, [ebp - 0x510]
call fcn.0043a180
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x510]
call fcn.0043a050
xor ecx, ecx
mov dword [ebp - 0x460], ecx
jmp 0x455d07
push edi
mov ecx, esi
call fcn.00456960
mov ecx, eax
mov dword [ebp - 0x460], ecx
jmp 0x455d07
push edi
mov ecx, esi
call fcn.00456be0
mov ecx, eax
mov dword [ebp - 0x460], ecx
jmp 0x455d07
push edi
mov ecx, esi
call fcn.00457af0
mov ecx, eax
mov dword [ebp - 0x460], ecx
jmp 0x455d07
push edi
mov ecx, esi
call fcn.00457ea0
mov ecx, eax
mov dword [ebp - 0x460], ecx
jmp 0x455d07
mov dword [esi + 0x14c], edi
lea ecx, [esi + 0x124]
push dword [esi + 0x17c]
call fcn.00444cf0
test al, al
je 0x455bd6
lea ecx, [esi + 0x124]
call fcn.00444170
test al, al
je 0x455bd6
lea ecx, [esi + 0x124]
call fcn.00444850
test al, al
je 0x455bd6
lea ecx, [esi + 0x124]
call fcn.00443970
xor ecx, ecx
mov dword [ebp - 0x460], ecx
jmp 0x455d07
mov ecx, 0xe000000b
mov dword [ebp - 0x460], ecx
jmp 0x455d07
mov eax, dword [esi + 0x150]
mov dword [ebp - 0x4b0], 0x4a5638
mov dword [ebp - fcn.00416e50], 0x4a562c
mov dword [ebp - 0x4a8], eax
mov dword [ebp - 0x450], 0x4a5ec0
mov dword [ebp - 0x44c], 0
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x4b0]
mov dword [ebp - 0x428], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x4ac]
movq qword [ebp - 0x438], xmm0
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x450]
movups xmmword [ebp - 0x448], xmm0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
mov dword [0x4c1f74], eax
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x458]
push eax
push 0x60000
push 0xf003f
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x458], 0
call fcn.0041c680
mov ecx, dword [ebp - 0x44c]
mov dword [ebp - 0x454], eax
cmp eax, ecx
je 0x455cbc
mov edx, dword [ebp - 0x450]
lea ecx, [ebp - 0x450]
call dword [edx + 4]
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x44c], ecx
test ecx, ecx
jne 0x455e20
mov ecx, dword [ebp - 0x458]
mov dword [ebp - 0x460], ecx
test ecx, ecx
je 0x455e20
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x44c]
mov dword [ebp - 0x450], 0x4a5ec0
test eax, eax
je 0x455d07
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x44c], 0
mov ecx, dword [ebp - 0x460]
mov eax, dword [esi + 0x164]
cmp dword [eax - 0xc], 0
je 0x455d3b
cmp byte [esi + 0x16c], 0
jne 0x455d3b
cmp byte [esi + 0x160], 0
jne 0x455d2d
test ecx, ecx
je 0x455f30
push edi
mov ecx, esi
call fcn.00456020
mov ecx, dword [ebp - 0x460]
test ecx, ecx
je 0x455f30
cmp ecx, 0xe0000011
je 0x455f30
cmp ecx, 0xe0000027
je 0x455f30
cmp ecx, 0xe0000008
je 0x455f30
cmp ecx, 0x4c7
je 0x455f30
cmp ecx, 0x642
je 0x455f30
cmp ecx, 0xe0000029
je 0x455f30
cmp dword [esi + 4], 0
jne 0x455f30
cmp byte [esi + 0xa8], 0
jne 0x455f30
lea ecx, [ebp - 0x474]
call fcn.004040a0
mov byte [ebp - 4], 0x1f
lea edx, [ebp - 0x474]
mov ecx, dword [ebp - 0x460]
call fcn.0042b5f0
mov edx, 0x8e
lea ecx, [ebp - 0x46c]
call fcn.00404bf0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x46c]
push 3
push 0x4aa8f4
call fcn.00402280
mov eax, dword [ebp - 0x474]
lea ecx, [ebp - 0x46c]
push dword [eax - 0xc]
push eax
call fcn.00402280
mov esi, dword [edi + 0x34]
sub esi, 0x10
mov ecx, dword [esi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x455e63
cmp ecx, dword [esi]
jne 0x455e63
lock inc dword [eax]
jmp 0x455e9e
lea eax, [ebp - 0x450]
push eax
call fcn.00457f60
mov ecx, eax
mov dword [ebp - 0x460], ecx
jmp 0x455cd8
push edi
mov ecx, esi
call fcn.00458120
mov ecx, eax
mov dword [ebp - 0x460], ecx
jmp 0x455d07
push edi
mov ecx, esi
call fcn.00458450
mov ecx, eax
mov dword [ebp - 0x460], ecx
jmp 0x455d07
mov eax, dword [ecx]
push 2
push dword [esi + 4]
mov eax, dword [eax]
call eax
mov ecx, eax
mov dword [ebp - 0x454], ecx
test ecx, ecx
je 0x455fc0
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea eax, [esi + 0x10]
mov edx, dword [esi + 4]
add ecx, 0x10
inc edx
push edx
push eax
call fcn.004023d0
mov esi, dword [ebp - 0x454]
add esp, 8
add esi, 0x10
mov dword [ebp - 0x4b4], esi
mov byte [ebp - 4], 0x22
push ecx
mov eax, esp
push ecx
mov ecx, esp
mov dword [eax], esi
mov eax, dword [ebp - 0x46c]
mov dword [ecx], eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edx, 0x10
mov ecx, eax
call fcn.0041b220
add esp, 8
mov byte [ebp - 4], 0x20
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x455eee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1f
mov eax, esi
mov edx, dword [ebp - 0x46c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x455f0f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov eax, esi
mov edx, dword [ebp - 0x474]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x455f30
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x468]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x455f52
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x455f72
mov ecx, edi
call fcn.0045b9b0
push 0xe8
push edi
call fcn.0046ce54
add esp, 8
mov eax, dword [ebp - 0x460]
mov dword [ebp - 0x478], 0
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.0046c8db
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004023a0
call fcn.004023c0
push 0x80004005
call fcn.004023a0
push 0x80004005
call fcn.004023a0
call fcn.004023c0
nop dword [eax]
inc ebp
pop edx
inc ebp
add byte [edx + ebx*2 + 0x5abe0045], cl
inc ebp
add byte [ecx], dh
pop ebx
inc ebp
add byte [esi + 0x5b], al
inc ebp
add byte [ebx + 0x5b], bl
inc ebp
add byte [edi + 0x5a], dh
inc ebp
add byte [eax + 0x5b], dh
inc ebp
add dh, ah
pop ebx
inc ebp
add byte [ebp + 0x3900455b], al
pop esi
inc ebp
add byte [esi + 0x5e], cl
inc ebp
add byte [ecx], al
pop ebp
inc ebp
add byte [eax], al
add dword [ecx], eax
add dword [edx], eax
or al, 3
add al, 4
add al, 5
push es
push es
pop es
pop es
pop es
or byte [edi], al
or dword [edx], ecx
or ecx, esp
int3