Function at 0x1000cb80
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10052f2e
push eax
mov dword fs:[0], esp
sub esp, 0x54c
cmp dword [0x10074654], 0
push ebx
push esi
push edi
jle 0x1000cbbd
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 - 0x3c]
call fcn.10016470
mov dword [ebp - 4], 0
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
test eax, eax
je 0x1000cc03
push str._debugsteam2wrapper
push eax
call fcn.10033180
movzx ecx, byte [0x10074238]
add esp, 8
test eax, eax
mov edx, 1
cmovne ecx, edx
mov byte [0x10074238], cl
push 0
push 1
lea eax, [ebp - 0x3c]
push eax
push ecx
mov eax, esp
mov dword [eax], str.steam_vpks.vdf
call fcn.10012690
add esp, 0x10
test al, al
je 0x1000cd4d
push 0x10
call fcn.10031800
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x1000cc49
push 0x1005937c
mov ecx, eax
call fcn.10017320
mov esi, eax
jmp 0x1000cc4b
xor esi, esi
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 2
mov edi, esi
test esi, esi
jne 0x1000cc84
push 0x10
call fcn.10031800
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x1000cc79
push esi
mov ecx, eax
call fcn.10017300
mov esi, eax
jmp 0x1000cc7b
xor esi, esi
mov byte [ebp - 4], 2
mov edi, esi
mov dword [ebp - 0x10], esi
push 0
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
push 0x1005937c
call fcn.10017f70
test al, al
jne 0x1000ccb0
mov byte [ebp - 4], 4
test edi, edi
je 0x1000cca9
mov ecx, esi
call fcn.10019570
xor bl, bl
jmp 0x1000cebd
lea ecx, [ebp - 0x10]
call fcn.1000c4a0
push 0
push 0
push ecx
mov ecx, esp
mov dword [ecx], str.mount
mov ecx, eax
call fcn.100174e0
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.1000c4a0
push 0
push 0
push str.spewfileio
mov ecx, eax
call fcn.10017670
push eax
call fcn.10017830
add esp, 0xc
mov byte [0x10074238], al
test esi, esi
je 0x1000cd31
mov ecx, esi
call fcn.10017770
mov esi, eax
test esi, esi
je 0x1000cd2f
push 0x1005546a
push 0
mov ecx, esi
call fcn.10017670
push eax
call fcn.10017ab0
push eax
call fcn.1000c850
add esp, 0xc
mov ecx, esi
call fcn.10017810
mov esi, eax
test esi, esi
jne 0x1000cd05
mov bl, 1
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x1000cd41
call fcn.10019570
mov byte [ebp - 4], 0
test bl, bl
jne 0x1000cebb
mov ecx, dword [0x100739d8]
test ecx, ecx
je 0x1000cde0
mov eax, dword [ecx]
lea edx, [ebp - 0x13c]
push 0x40
push edx
push dword [0x100739dc]
call dword [eax + 0x44]
mov edi, eax
test edi, edi
jle 0x1000cde0
xor esi, esi
jmp 0x1000cd80
mov dword [ebp - 0x10], 0
push dword [ebp + esi*4 - 0x13c]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 6
push 0x100739e0
push str._s_vpksdepot__u
push eax
call fcn.10013fb0
mov eax, dword [ebp - 0x10]
mov ecx, 0x1005546a
test eax, eax
cmovne ecx, eax
push ecx
call fcn.1000c850
add esp, 0x14
mov byte [ebp - 4], 7
call fcn.10023250
push 0
push dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
inc esi
mov byte [ebp - 4], 0
cmp esi, edi
jl 0x1000cd80
jmp 0x1000cebb
mov dword [ebp - 0x10], 0
push 0x100739e0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 8
push str._s_vpks
push eax
call fcn.10013fb0
mov eax, dword [ebp - 0x10]
mov ecx, 0x1005546a
test eax, eax
cmovne ecx, eax
add esp, 8
mov eax, esp
push ecx
lea ecx, [ebp - 0x558]
mov dword [eax], str.depot__dir.vpk
call fcn.10010d50
lea ecx, [ebp - 0x558]
mov byte [ebp - 4], 9
call fcn.10011520
test al, al
je 0x1000ce9b
lea ecx, [ebp - 0x558]
call fcn.10011e20
push eax
push 0x100739e0
lea eax, [ebp - 0x10]
push str._s_vpks_s
push eax
call fcn.10013fb0
mov eax, dword [ebp - 0x10]
mov ecx, 0x1005546a
test eax, eax
push str._dir.vpk
cmovne ecx, eax
push ecx
call fcn.1002d760
add esp, 0x18
test eax, eax
je 0x1000ce76
mov byte [eax], 0
mov eax, dword [ebp - 0x10]
mov ecx, 0x1005546a
test eax, eax
cmovne ecx, eax
push ecx
call fcn.1000c850
add esp, 4
lea ecx, [ebp - 0x558]
call fcn.10011520
test al, al
jne 0x1000ce35
lea ecx, [ebp - 0x558]
call fcn.100110d0
mov byte [ebp - 4], 0xa
call fcn.10023250
push 0
push dword [ebp - 0x10]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov bl, 1
lea ecx, [ebp - 0x3c]
call fcn.100106a0
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