Function at 0x414b20
Capabilities:
Create process on windows
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x64936d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x21ddc
call fcn.005f4ba0
mov eax, dword [0x734fd0]
xor eax, esp
mov dword [esp + 0x21dd8], eax
push ebx
push esi
push edi
mov eax, dword [0x734fd0]
xor eax, esp
push eax
lea eax, [esp + 0x21df0]
mov dword fs:[0], eax
push 0x751a80
push str.1.9.0
push str.Starting_updater__v:_s__cmd:_s_n
call fcn.005cbf10
add esp, 0xc
lea eax, [esp + 0xbc]
push eax
call fcn.004170b0
xor esi, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x21df8], esi
push ecx
mov dword [esp + 0x1c], esi
call fcn.004149e0
mov ebx, dword [esp + 0x1c]
add esp, 4
mov edi, eax
test ebx, ebx
jle 0x414bfc
lea ecx, [ecx]
mov eax, dword [edi + esi*4]
mov ecx, str._steam
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x414bd8
test dl, dl
je 0x414bd4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x414bd8
add eax, 2
add ecx, 2
test dl, dl
jne 0x414bb8
xor eax, eax
jmp 0x414bdd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x414bf7
cmp esi, ebx
jge 0x414bf7
push str.Trying_to_init_steam_n
call fcn.005cbf10
add esp, 4
call fcn.00416720
inc esi
cmp esi, ebx
jl 0x414bb0
cmp byte [0x7fea60], 0
je 0x414c1e
lea ecx, [esp + 0xbc]
call fcn.00415a00
lea edx, [esp + 0xbc]
push edx
jmp 0x4151d3
lea esi, [esp + 0xbc]
call fcn.0041a7e0
mov eax, 0x7fe9d8
mov dword [0x74c220], eax
mov dword [0x74c224], eax
mov eax, dword [0x7fea64]
xor ebx, ebx
cmp eax, ebx
je 0x414c55
mov edx, dword [0x751f34]
mov ecx, dword [eax]
push 2
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
call fcn.005cbca0
lea ebx, [ebx]
call fcn.005cbcf0
call fcn.005cbca0
mov ecx, dword [0x7fe7c8]
mov dword [0x7feaf4], ebx
mov dword [0x7feaf8], ecx
call fcn.00412b20
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x7502c4]
push ebx
push 1
call fcn.005d5b70
mov ecx, dword [0x7502c4]
call fcn.005d3e70
mov ecx, dword [0x7502c4]
push 0x802
call fcn.005d20f0
or esi, 0xffffffff
push esi
push ebx
call fcn.005cbac0
mov eax, dword [0x7502c4]
fld dword [eax + 0x4a0]
add esp, 8
push ebx
push ebx
lea edx, [esp + 0x38]
push edx
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x4c], 0xff404040
fld dword [eax + 0x49c]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.005d6ff0
mov eax, dword [esp + 0x20ec4]
add esp, 0x1c
cmp eax, 5
ja case.default.0x414d0b
jmp dword [eax*4 + 0x415208]
lea eax, [esp + 0x24]
push eax
mov eax, dword [0x7502c4]
fld dword [eax + 0x4a0]
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x38], esi
fld dword [eax + 0x49c]
mov esi, dword [0x7fea6c]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00416a10
lea eax, [esp + 0xbc]
call fcn.00413d10
jmp 0x414f3d
mov eax, dword [0x7502c4]
fld dword [eax + 0x4a0]
lea ecx, [esp + 0x38]
push ecx
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x4c], esi
fld dword [eax + 0x49c]
mov esi, dword [0x7fea74]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00416a10
lea ecx, [esp + 0xbc]
call fcn.004139f0
jmp 0x414f3d
mov eax, dword [0x7502c4]
fld dword [eax + 0x4a0]
lea edx, [esp + 0x28]
push edx
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x3c], esi
fld dword [eax + 0x49c]
mov esi, dword [0x7fea78]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00416a10
lea eax, [esp + 0xbc]
call fcn.00413550
jmp 0x414f3d
lea eax, [esp + 0x34]
push eax
mov eax, dword [0x7502c4]
fld dword [eax + 0x4a0]
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x48], esi
fld dword [eax + 0x49c]
mov esi, dword [0x7fea80]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00416a10
lea edi, [esp + 0xbc]
call fcn.00413800
jmp 0x414f3d
mov eax, dword [0x7502c4]
fld dword [eax + 0x4a0]
lea ecx, [esp + 0x1c]
push ecx
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x30], esi
fld dword [eax + 0x49c]
mov esi, dword [0x7fea70]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00416a10
lea edi, [esp + 0xbc]
call fcn.00414170
mov eax, edi
call fcn.00414550
mov ecx, edi
call fcn.00414480
jmp 0x414f3d
push ebx
push 0x721
push str..main.cpp
push 0x7009d8
call fcn.005cc270
add esp, 0x10
mov eax, dword [0x7502c4]
mov dword [esp + 0x20], esi
fld dword [eax + 0x49c]
mov esi, dword [0x7fea7c]
fstp dword [esp + 0x14]
mov edi, dword [esi + 8]
fld dword [eax + 0x4a0]
fstp dword [esp + 0x18]
cmp edi, ebx
je 0x414f3d
push 0x3c
lea edx, [esp + 0x44]
push ebx
push edx
call fcn.005f4bd0
fldz
fst dword [esp + 0x48]
add esp, 0xc
fst dword [esp + 0x40]
lea eax, [esp + 0x3c]
fld dword [esi]
push eax
fstp dword [esp + 0x48]
push edi
lea ecx, [esp + 0x28]
push ecx
fst dword [esp + 0x54]
sub esp, 0x10
fld dword [esi]
fstp dword [esp + 0x68]
fld dword [esi + 4]
fstp dword [esp + 0x6c]
fst dword [esp + 0x70]
fld dword [esi + 4]
fstp dword [esp + 0x74]
fld dword [esp + 0x34]
fstp dword [esp + 0xc]
fld dword [esp + 0x30]
fstp dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
call fcn.005d6ff0
add esp, 0x1c
lea edi, [esp + 0xbc]
call fcn.00413300
fild dword [0x7feaec]
mov dword [esp + 0x2c], 0xffffffff
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [0x74d2e4]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x415063
fadd dword [0x74d2ec]
fcompp
fnstsw ax
test ah, 1
jne 0x415067
fild dword [0x7feaf0]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [0x74d2e8]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x415063
fadd dword [0x74d2f0]
fcompp
fnstsw ax
test ah, 1
jne 0x415067
mov esi, dword [0x7fea9c]
mov edi, dword [esi + 8]
cmp edi, ebx
je 0x415052
push 0x3c
lea edx, [esp + 0x84]
push ebx
push edx
call fcn.005f4bd0
fldz
fst dword [esp + 0x88]
add esp, 0xc
fst dword [esp + 0x80]
lea eax, [esp + 0x7c]
fld dword [esi]
push eax
fstp dword [esp + 0x88]
push edi
lea ecx, [esp + 0x34]
push ecx
fst dword [esp + 0x94]
sub esp, 0x10
fld dword [esi]
fstp dword [esp + 0xa8]
fld dword [esi + 4]
fstp dword [esp + 0xac]
fst dword [esp + 0xb0]
fld dword [esi + 4]
fstp dword [esp + 0xb4]
fld dword [0x702e50]
fst dword [esp + 0xc]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [0x702e4c]
fstp dword [esp]
call fcn.005d6ff0
add esp, 0x1c
cmp dword [0x7feaf4], ebx
je 0x415067
mov byte [0x751f40], 1
jmp 0x415067
fstp st(1)
fstp st(0)
mov ecx, dword [0x7502c4]
call fcn.005d4c40
mov ecx, dword [0x7502c4]
push 1
call fcn.005d53b0
cmp byte [0x751f40], bl
jne 0x4150d0
mov edx, dword [0x7fea68]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4150a7
mov eax, dword [0x751f34]
push 1
push eax
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
push ebx
call dword [sym.imp.USER32.dll_ClipCursor]
cmp byte [0x7fea61], bl
jne 0x4150de
mov eax, dword [esp + 0x20eac]
cmp eax, ebx
je 0x414c60
cmp eax, 1
je 0x414c60
jmp 0x41510e
lea esi, [esp + 0xbc]
call fcn.0041a890
jmp 0x41510e
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 5
push ebx
push 0x6f98c4
push 0x7009dc
push str.open
push ebx
call esi
push 5
push ebx
push 0x6f98c4
push 0x7009dc
push str.open
push ebx
call esi
lea eax, [esp + 0xbc]
call fcn.0041a910
mov eax, dword [0x7fea64]
cmp eax, ebx
je 0x415133
mov edx, dword [0x751f34]
mov ecx, dword [eax]
push ebx
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov eax, dword [esp + 0x20eac]
sub eax, 1
je 0x415175
sub eax, 1
je 0x415163
sub eax, 1
je 0x415181
push ebx
push 0x773
push str..main.cpp
push 0x7009d8
call fcn.005cc270
add esp, 0x10
jmp 0x415181
lea ecx, [esp + 0xbc]
push ecx
call fcn.00414700
add esp, 4
jmp 0x415181
lea ecx, [esp + 0xbc]
call fcn.004147d0
mov eax, dword [0x7ff948]
cmp eax, ebx
je 0x4151bd
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4151ab
mov edx, dword [0x7ff948]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x7ff948]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x7ff948], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0xbc]
push ecx
mov dword [esp + 0x21dfc], 0xffffffff
call fcn.00417420
mov ecx, dword [esp + 0x21df0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x21dd8]
xor ecx, esp
call fcn.005f2c33
mov esp, ebp
pop ebp
ret