Function at 0x1000d4b0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10053bae
push eax
mov dword fs:[0], esp
sub esp, 0x548
cmp dword [0x10075670], 0
push ebx
push esi
push edi
jle 0x1000d4ed
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.10016b20
mov dword [ebp - 4], 0
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
test eax, eax
je 0x1000d533
push str._debugsteam2wrapper
push eax
call fcn.10033de0
movzx ecx, byte [0x10075258]
add esp, 8
test eax, eax
mov edx, 1
cmovne ecx, edx
mov byte [0x10075258], cl
push 0
push 1
lea eax, [ebp - 0x38]
push eax
push ecx
mov eax, esp
mov dword [eax], str.steam_vpks.vdf
call fcn.10012f10
add esp, 0x10
test al, al
je 0x1000d67d
push 0x10
call fcn.10032460
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x1000d579
push 0x1005a3cc
mov ecx, eax
call fcn.10017ba0
mov esi, eax
jmp 0x1000d57b
xor esi, esi
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 2
mov edi, esi
test esi, esi
jne 0x1000d5b4
push 0x10
call fcn.10032460
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x1000d5a9
push esi
mov ecx, eax
call fcn.10017b80
mov esi, eax
jmp 0x1000d5ab
xor esi, esi
mov byte [ebp - 4], 2
mov edi, esi
mov dword [ebp - 0x10], esi
push 0
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
push 0x1005a3cc
call fcn.100187f0
test al, al
jne 0x1000d5e0
mov byte [ebp - 4], 4
test edi, edi
je 0x1000d5d9
mov ecx, esi
call fcn.10019e00
xor bl, bl
jmp 0x1000d7eb
lea ecx, [ebp - 0x10]
call fcn.1000cc80
push 0
push 0
push ecx
mov ecx, esp
mov dword [ecx], str.mount
mov ecx, eax
call fcn.10017d60
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.1000cc80
push 0
push 0
push str.spewfileio
mov ecx, eax
call fcn.10017ef0
push eax
call fcn.100180b0
add esp, 0xc
mov byte [0x10075258], al
test esi, esi
je 0x1000d661
mov ecx, esi
call fcn.10017ff0
mov esi, eax
test esi, esi
je 0x1000d65f
push 0x1005646a
push 0
mov ecx, esi
call fcn.10017ef0
push eax
call fcn.10018330
push eax
call fcn.1000d210
add esp, 0xc
mov ecx, esi
call fcn.10018090
mov esi, eax
test esi, esi
jne 0x1000d635
mov bl, 1
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x1000d671
call fcn.10019e00
mov byte [ebp - 4], 0
test bl, bl
jne 0x1000d7e9
mov ecx, dword [0x100749f8]
test ecx, ecx
je 0x1000d70c
mov eax, dword [ecx]
lea edx, [ebp - 0x138]
push 0x40
push edx
push dword [0x100749fc]
call dword [eax + 0x44]
mov edi, eax
test edi, edi
jle 0x1000d70c
xor esi, esi
jmp 0x1000d6b0
mov dword [ebp - 0x10], 0
push dword [ebp + esi*4 - 0x138]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 6
push 0x10074a00
push str._s_vpksdepot__u
push eax
call fcn.10014660
mov eax, dword [ebp - 0x10]
mov ecx, 0x1005646a
test eax, eax
cmovne ecx, eax
push ecx
call fcn.1000d210
add esp, 0x14
mov byte [ebp - 4], 7
call fcn.10023bc0
push 0
push dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
inc esi
cmp esi, edi
jl 0x1000d6b0
jmp 0x1000d7e9
mov dword [ebp - 0x10], 0
push 0x10074a00
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 8
push str._s_vpks
push eax
call fcn.10014660
mov eax, dword [ebp - 0x10]
mov ecx, 0x1005646a
test eax, eax
cmovne ecx, eax
add esp, 8
mov eax, esp
push ecx
lea ecx, [ebp - 0x554]
mov dword [eax], str.depot__dir.vpk
call fcn.100114d0
lea ecx, [ebp - 0x554]
mov byte [ebp - 4], 9
call fcn.10011dc0
test al, al
je 0x1000d7c7
lea ecx, [ebp - 0x554]
call fcn.10012670
push eax
push 0x10074a00
lea eax, [ebp - 0x10]
push str._s_vpks_s
push eax
call fcn.10014660
mov eax, dword [ebp - 0x10]
mov ecx, 0x1005646a
test eax, eax
push str._dir.vpk
cmovne ecx, eax
push ecx
call fcn.1002e0e0
add esp, 0x18
test eax, eax
je 0x1000d7a2
mov byte [eax], 0
mov eax, dword [ebp - 0x10]
mov ecx, 0x1005646a
test eax, eax
cmovne ecx, eax
push ecx
call fcn.1000d210
add esp, 4
lea ecx, [ebp - 0x554]
call fcn.10011dc0
test al, al
jne 0x1000d761
lea ecx, [ebp - 0x554]
call fcn.100118b0
mov byte [ebp - 4], 0xa
call fcn.10023bc0
push 0
push dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov bl, 1
cmp dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xb
jl 0x1000d80f
cmp dword [ebp - 0x38], 0
je 0x1000d80f
call fcn.10023bc0
push 0
push dword [ebp - 0x38]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret