Function at 0x1000cb40
Capabilities:
Read .ini file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003107c
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x10047410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [0x10058ca0], ebx
je 0x1000cb8e
mov esi, dword [0x1005895c]
push str.SteamMountAppFilesystem_n
call fcn.10006df0
add esp, 4
cmp edi, ebx
je 0x1000cb9d
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov byte [edi + 0xc], bl
cmp byte [0x10058c76], 1
jne 0x1000ce69
mov eax, dword [0x10058d00]
cmp byte [eax], bl
jne 0x1000cbcd
push ebx
push str.AppID_
push str.You_are_trying_to_launch_an_unknown_App_ID__please_specify__appid_on_the_command_line.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp byte [0x10058c77], 1
jne 0x1000cc82
push 0xc
call fcn.1001f870
mov esi, eax
mov dword [ebp - 0x118], esi
mov dword [ebp - 4], ebx
or ebx, 0xffffffff
mov dword [ebp - 4], ebx
mov ecx, dword [0x10058d24]
push 0x1003e770
push ecx
mov dword [0x10058a64], esi
call fcn.1001fdd8
add esp, 0xc
mov dword [esi + 4], eax
test eax, eax
je 0x1000cc19
push esi
call fcn.10009070
call fcn.10009190
mov esi, eax
test esi, esi
je 0x1000ce69
push 0x34
call fcn.1001f870
add esp, 4
mov dword [ebp - 0x118], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x1000cc51
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 8]
push eax
call fcn.10008a90
jmp 0x1000cc53
xor eax, eax
mov dword [ebp - 4], ebx
mov dword [0x10058854], eax
test eax, eax
je 0x1000ce69
mov eax, dword [0x10058d00]
push edi
push 0x1003e738
push eax
call fcn.1002134f
add esp, 4
push eax
call sym.Steam.dll_SteamMountFilesystem
jmp 0x1000ce66
push 0x104
call fcn.10020ea1
push 0x104
mov dword [ebp - 0x11c], eax
call fcn.10020ea1
push 0x104
mov dword [ebp - 0x124], eax
call fcn.10020ea1
mov dword [ebp - 0x118], eax
mov eax, dword [0x10058cf0]
add esp, 0xc
mov dword [ebp - 0x120], 1
jmp 0x1000ccc8
xor ebx, ebx
mov ecx, dword [0x10058cf4]
sub ecx, eax
sar ecx, 2
mov dword [ebp - 0x128], ebx
test ecx, ecx
je 0x1000ce2c
mov edx, dword [ebp - 0x128]
mov ecx, dword [eax + edx*4]
mov edx, dword [ebp - 0x124]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x1000ccf0
mov ecx, dword [ebp - 0x120]
mov edi, dword [ebp - 0x11c]
push 0xa
lea eax, [ebp - 0x114]
push eax
push ecx
mov dword [edi], 0x464347
call fcn.10020982
lea eax, [ebp - 0x114]
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1000cd26
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1000cd32
mov ebx, dword [0x10058834]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [0x10058d00]
push 0x514
call fcn.1001f870
add esp, 4
push ebx
mov ebx, dword [ebp - 0x11c]
push 0x514
mov esi, eax
push esi
push 0x1003e738
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x1000ce14
mov dword [ebp - 0x118], esi
test esi, esi
je 0x1000ce27
mov edx, dword [ebp - 0x124]
lea edi, [edx - 1]
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000cda0
mov ax, word [0x1003e774]
mov word [edi], ax
mov eax, esi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000cdb3
sub eax, esi
lea edi, [edx - 1]
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1000cdc0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
call fcn.1000b850
push 0xff
push 0
push ebx
call fcn.10024a20
mov edx, dword [0x10058cf4]
mov eax, dword [0x10058cf0]
mov ecx, dword [ebp - 0x128]
sub edx, eax
inc ecx
sar edx, 2
add esp, 0xc
mov dword [ebp - 0x128], ecx
cmp ecx, edx
jb 0x1000cce1
jmp 0x1000ce2c
push esi
call fcn.1001f865
add esp, 4
mov dword [ebp - 0x118], 0
mov eax, dword [0x10058cf0]
mov ecx, dword [ebp - 0x120]
inc ecx
mov dword [ebp - 0x120], ecx
cmp ecx, 0x32
jl 0x1000ccc6
mov eax, dword [ebp - 0x11c]
push eax
call fcn.10021a18
mov ecx, dword [ebp - 0x124]
push ecx
call fcn.10021a18
mov edx, dword [ebp - 0x118]
push edx
call fcn.10021a18
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001f521
mov esp, ebp
pop ebp
ret