Function at 0x14020e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x518
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
call dword [eax + 0x32c]
mov eax, dword [esi + 0x440]
lea ebx, [esi + 0x434]
dec eax
js 0x140212e
mov edx, eax
lea ebp, [eax + 1]
shl edx, 7
mov edi, dword [ebx]
mov ecx, 0x20
add edi, edx
mov eax, 0xdddddddd
sub edx, 0x80
dec ebp
rep stosd dword es:[edi], eax
jne 0x1402115
xor ebp, ebp
mov dword [ebx + 0xc], ebp
mov dword [esi + 0x430], ebp
mov ecx, dword [0x1459904]
push ebp
push str._steam
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x140233e
push 0x18
call fcn.01415ae0
add esp, 4
cmp eax, ebp
je 0x1402174
push str.hlds_steamgames
mov ecx, eax
call fcn.014147d0
mov edi, eax
mov dword [esp + 0x20], edi
jmp 0x140217a
mov dword [esp + 0x20], ebp
mov edi, ebp
mov eax, dword [edi]
push ebp
push str.hlds_steamgames.vdf
mov dword [esp + 0x1c], eax
call fcn.01406340
push eax
mov eax, dword [esp + 0x20]
mov ecx, edi
call dword [eax + 8]
test al, al
je 0x1402337
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
mov ebp, eax
test ebp, ebp
je 0x1402337
mov edx, dword [ebp]
push 0xffffffffffffffff
push str.appID
mov ecx, ebp
call dword [edx + 0x28]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 0
call fcn.01406310
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push str.HKEY_CURRENT_USERSoftwareValveSteamOffline
mov ecx, eax
call dword [edx + 0x3c]
mov edi, dword [esp + 0x14]
mov edx, dword [esi + 0x10c]
mov eax, dword [ebp]
cmp edi, 1
mov edi, dword [edx]
push ebp
mov ecx, ebp
sete byte [esp + 0x17]
call dword [eax]
mov ecx, dword [esi + 0x10c]
push eax
call dword [edi + 0x310]
mov edx, dword [ebp]
mov esi, eax
mov ecx, ebp
mov dword [esp + 0x14], esi
call dword [edx]
lea edi, [esp + 0x68]
mov cl, byte [eax]
inc eax
mov byte [edi], cl
inc edi
test cl, cl
jne 0x1402219
mov eax, dword [ebp]
push 0x145ff20
push str.gamedir
mov ecx, ebp
call dword [eax + 0x30]
lea edx, [esp + 0x28]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x1402239
mov edi, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
cmp edi, eax
jl 0x1402260
push 0
mov ecx, ebx
call fcn.01402ca0
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
cmp ecx, eax
jge 0x140224d
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx]
inc eax
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0xc], eax
sub eax, edi
dec eax
test eax, eax
jle 0x1402290
shl eax, 7
push eax
mov edx, edi
lea eax, [edi + 1]
shl edx, 7
shl eax, 7
add edx, ecx
add eax, ecx
push edx
push eax
call fcn.014314a0
add esp, 0xc
mov eax, dword [ebx]
shl edi, 7
add edi, eax
je 0x14022a8
mov ecx, 0x20
lea esi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
mov edx, dword [ebp]
push 0
push str.default
mov ecx, ebp
call dword [edx + 0x28]
test eax, eax
je 0x14022e3
mov eax, dword [ebp]
push 0
push str.cacheID
mov ecx, ebp
call dword [eax + 0x28]
mov ecx, dword [esp + 0x18]
push esi
mov dword [ecx + 0x430], eax
mov ecx, dword [ecx + 0x10c]
mov edx, dword [ecx]
call dword [edx + 0x33c]
mov edi, dword [esp + 0x24]
cmp edi, 0xffffffff
je 0x140231d
mov al, byte [esp + 0x13]
test al, al
je 0x140231d
call fcn.01406340
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx + 0xc8]
test al, al
jne 0x140231d
mov eax, dword [esp + 0x18]
push 0
push esi
mov ecx, dword [eax + 0x10c]
mov edx, dword [ecx]
call dword [edx + 0x324]
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x24]
mov esi, dword [esp + 0x18]
mov ebp, eax
test ebp, ebp
jne 0x14021ae
mov edi, dword [esp + 0x20]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x60]
mov dword [esp + 0x1c], 0
call fcn.01406340
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push 0
push ecx
push 0x14594ec
mov ecx, eax
call dword [edx + 0x6c]
mov edi, eax
test edi, edi
je 0x1402596
cmp byte [edi], 0x2e
je 0x140257b
call fcn.01406340
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x74]
test al, al
je 0x140257b
push edi
push str._sliblist.gam
lea edx, [esp + 0x130]
push 0x3ff
push edx
call fcn.0142f280
add esp, 0x10
call fcn.01406340
mov edx, dword [eax]
lea ecx, [esp + 0x128]
push ecx
mov ecx, eax
call dword [edx + 0x20]
test al, al
je 0x140257b
lea edx, [esp + 0xa8]
push 0x80
push edx
lea eax, [esp + 0x130]
push str.type
push eax
mov ecx, esi
call fcn.014025c0
test al, al
je 0x1402403
lea ecx, [esp + 0xa8]
push str.singleplayer_only
push ecx
call fcn.01448a60
add esp, 8
test eax, eax
je 0x140257b
mov edx, edi
mov eax, edi
neg edx
lea ebp, [esp + edx + 0x68]
mov cl, byte [eax]
mov byte [eax + ebp], cl
inc eax
test cl, cl
jne 0x140240d
mov eax, edi
lea edx, [esp + edx + 0x28]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x140241d
lea edx, [esp + 0x68]
push 0x40
push edx
lea eax, [esp + 0x130]
push str.game
push eax
mov ecx, esi
call fcn.014025c0
mov eax, dword [ebx + 0xc]
xor edi, edi
test eax, eax
jle 0x140247c
xor ebp, ebp
mov eax, dword [ebx]
lea ecx, [esp + 0x28]
add eax, ebp
push eax
push ecx
call fcn.01448a60
add esp, 8
test eax, eax
je 0x1402473
mov eax, dword [ebx + 0xc]
inc edi
add ebp, 0x80
cmp edi, eax
jl 0x140244d
jmp 0x140247c
cmp edi, 0xffffffff
jne 0x140257b
push 0x18
call fcn.01415ae0
add esp, 4
test eax, eax
je 0x14024a2
lea edx, [esp + 0x28]
lea ecx, [esp + 0x68]
push edx
push str.gamedir
push ecx
mov ecx, eax
call fcn.014147f0
jmp 0x14024a4
xor eax, eax
mov ecx, dword [esi + 0x10c]
push eax
lea eax, [esp + 0x6c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x310]
mov edi, dword [ebx + 0xc]
mov ebp, eax
mov eax, dword [ebx + 4]
cmp edi, eax
jl 0x140250e
mov ecx, dword [ebx + 8]
test ecx, ecx
jne 0x14024d6
test eax, eax
mov ecx, eax
jne 0x14024d6
mov ecx, 1
add eax, ecx
mov dword [ebx + 4], eax
mov eax, dword [ebx]
test eax, eax
je 0x14024f3
mov ecx, dword [ebx + 4]
shl ecx, 7
push ecx
push eax
call fcn.0142fa80
add esp, 8
jmp 0x1402502
mov edx, dword [ebx + 4]
shl edx, 7
push edx
call fcn.0142f5e0
add esp, 4
mov ecx, dword [ebx + 0xc]
mov dword [ebx], eax
mov eax, dword [ebx + 4]
cmp ecx, eax
jge 0x14024c4
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx]
inc eax
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0xc], eax
sub eax, edi
dec eax
test eax, eax
jle 0x140253e
shl eax, 7
push eax
mov eax, edi
lea edx, [edi + 1]
shl eax, 7
shl edx, 7
add eax, ecx
add edx, ecx
push eax
push edx
call fcn.014314a0
add esp, 0xc
mov eax, dword [ebx]
shl edi, 7
add edi, eax
je 0x1402556
mov ecx, 0x20
lea esi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x28]
push str.valve
push eax
call fcn.01448a60
add esp, 8
test eax, eax
jne 0x140257b
mov ecx, dword [esi + 0x10c]
push ebp
mov edx, dword [ecx]
call dword [edx + 0x33c]
call fcn.01406340
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x70]
mov edi, eax
test edi, edi
jne 0x1402368
call fcn.01406340
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x78]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x518
ret