Function at 0x422360
Capabilities:
Get steam token

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
xor esi, esi
push 0x435000
mov dword [ebp - 0x24], esi
nop
call 0x6ff643d3
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
inc edx
movzx eax, dx
movzx ebx, ax
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
nop
call 0x6ff5b100
push eax
mov dword [ebp - 8], eax
call fcn.004221a0
mov edi, dword [ebp + 0x18]
or eax, 0xffffffff
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x82
rep stosd dword es:[edi], eax
add esp, 0xc
xor eax, eax
test ebx, ebx
jle 0x4223e3
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 8]
movzx edx, word [edx + eax*2]
mov word [ecx + edx*2], ax
inc eax
cmp eax, ebx
jl 0x4223d3
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push 0x1c
lea eax, [ebp - 0x44]
push eax
push edi
push ecx
call 0x18d0c73
nop
test eax, eax
je 0x42259e
nop
mov eax, dword [ebp - 0x30]
cmp eax, 4
je 0x422411
cmp eax, 0x40
jne 0x422565
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], eax
cmp eax, 0x64000
jb 0x42250b
mov dword [ebp - 0xc], ecx
jmp 0x422433
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
cdq
add eax, edi
adc edx, dword [ebp + 0x10]
push 0
push 0x64000
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0x14]
push edx
push eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
push eax
call 0x18d0e1e
nop
test eax, eax
je 0x4224eb
xor esi, esi
xor eax, eax
test ebx, ebx
je 0x422495
mov edx, esi
cmp edx, 0x64000
jae 0x422495
mov ecx, dword [ebp - 8]
mov edi, dword [ebp + 0x14]
movzx ecx, word [ecx + eax*2]
movzx edi, byte [edx + edi]
cmp cx, di
je 0x42248f
mov edi, 0x100
cmp cx, di
jne 0x422495
inc eax
inc edx
cmp eax, ebx
jb 0x42246a
cmp eax, ebx
je 0x4224d9
lea edx, [ebx + esi]
cmp edx, 0x64000
jae 0x4224eb
mov ecx, dword [ebp + 0x14]
lea eax, [ebx + esi]
movzx edx, byte [eax + ecx]
mov ecx, dword [ebp + 0x18]
movsx eax, word [ecx + edx*2]
cmp eax, 0xffffffff
jne 0x4224c9
movsx eax, word [ecx + 0x200]
mov ecx, ebx
sub ecx, eax
add esi, ecx
jmp 0x4224cf
mov edx, ebx
sub edx, eax
add esi, edx
cmp esi, 0x64000
jb 0x422462
jmp 0x4224eb
xor edx, edx
add esi, dword [ebp - 0x1c]
adc edx, dword [ebp - 0x18]
mov eax, esi
or eax, edx
jne 0x4225ae
mov eax, dword [ebp - 4]
inc dword [ebp - 0x10]
add dword [ebp - 0xc], 0x64000
sub eax, 0x64000
mov dword [ebp - 4], eax
cmp eax, 0x64000
jae 0x422430
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
imul eax, eax, 0x64000
cdq
push 0
mov esi, eax
add esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edi, edx
mov edx, dword [ebp + 0x14]
adc edi, dword [ebp + 0x10]
push ecx
push edx
push esi
push eax
call 0x18d0e1e
nop
test eax, eax
jne 0x42253f
xor esi, esi
mov dword [ebp - 0x24], esi
jmp 0x422565
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
push edx
push eax
push edi
mov edi, dword [ebp - 0x14]
push esi
push ecx
call fcn.004222c0
add esp, 0x18
mov esi, eax
or eax, edx
mov dword [ebp - 0x24], edx
jne 0x4225ae
mov edi, dword [ebp + 0xc]
add edi, dword [ebp - 0x38]
mov eax, dword [ebp + 0x10]
adc eax, 0
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x10], eax
cmp eax, 0xfff
ja 0x4225b7
jb 0x422585
cmp edi, 0xffffffff
ja 0x4225b7
mov edx, dword [ebp + 8]
push 0x1c
lea ecx, [ebp - 0x44]
push ecx
push edi
push edx
call 0x18d0c73
nop
test eax, eax
jne 0x422400
mov eax, dword [ebp - 8]
push eax
call 0x6ff5b0f3
nop
mov edx, dword [ebp - 0x24]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret