Function at 0x48ea10
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4da890
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b4
push ebx
push ebp
mov ebp, dword [esp + 0x1cc]
xor ebx, ebx
push esi
mov dword [esp + 0x14], ebx
cmp dword [ebp], ebx
push edi
jne 0x48ee54
test edx, edx
jne 0x48eb0d
push 0x400000
lea esi, [esp + 0x1c]
call fcn.00412aa0
add esp, 4
lea esi, [ebp + 4]
mov edi, esi
mov dword [esp + 0x1cc], ebx
call fcn.00403880
mov dword [esp + 0x1cc], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48ea9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x104
or eax, ecx
jge 0x48eabf
mov ecx, 0x104
mov eax, esi
call fcn.00403c30
mov eax, dword [esi]
push 0x4e7bf8
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [esi]
test edx, edx
jne 0x48ead7
xor eax, eax
jmp 0x48eaf1
mov eax, edx
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48eae0
sub eax, edi
sar eax, 1
js 0x48eb03
cmp eax, dword [edx - 8]
jg 0x48eb03
mov dword [edx - 0xc], eax
mov ecx, dword [esi]
mov word [ecx + eax*2], 0
jmp 0x48eb17
push 0x80070057
call fcn.00401020
lea esi, [ebp + 4]
mov edi, esi
call fcn.004035b0
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48eba1
call fcn.00415340
test al, al
je 0x48eb7d
cmp dword [0x504dc4], 3
jg 0x48eb7d
push 3
lea edx, [esp + 0xa4]
push edx
mov edi, 0x84
mov ebx, str...packet_publicKInstallConfigLoader.cpp
call fcn.00415400
mov ebx, 1
mov dword [esp + 0x1cc], ebx
mov esi, dword [esi]
push esi
push ecx
add eax, 4
push str.install_config_file_not_exist__file_path_:
push eax
mov dword [esp + 0x28], ebx
call fcn.00418960
add esp, 0xc
push eax
call fcn.00418960
add esp, 8
test bl, 1
mov dword [esp + 0x1cc], 0xffffffff
je 0x48eb9a
lea eax, [esp + 0xa0]
push eax
call fcn.00415470
xor eax, eax
jmp 0x48ee59
mov edx, dword [0x507fec]
mov eax, dword [edx + 0xc]
mov ecx, 0x507fec
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x1cc], 2
mov esi, dword [esi]
push ecx
push esi
call fcn.0048e8d0
test eax, eax
jne 0x48ec74
call fcn.00415340
test al, al
je 0x48ec25
cmp dword [0x504dc4], 3
jg 0x48ec25
push 3
lea edx, [esp + 0xa4]
push edx
mov edi, 0x8b
mov ebx, str...packet_publicKInstallConfigLoader.cpp
call fcn.00415400
add eax, 4
push str.decrypt_install_config_file_failed
mov byte [esp + 0x1d0], 3
mov ebx, 2
push eax
mov dword [esp + 0x20], ebx
call fcn.00418960
add esp, 8
test bl, 2
mov dword [esp + 0x1cc], 2
je 0x48ec42
lea eax, [esp + 0xa0]
push eax
call fcn.00415470
mov dword [esp + 0x1cc], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48ec6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x48ee59
lea ecx, [esp + 0x1c]
push ecx
call fcn.00406460
mov dword [esp + 0x94], 0
mov byte [esp + 0x1cc], 4
mov edx, dword [esp + 0x14]
push edx
lea edi, [esp + 0x20]
call fcn.00410650
test eax, eax
jne 0x48ed31
call fcn.00415340
test al, al
je 0x48ecf3
cmp dword [0x504dc4], 3
jg 0x48ecf3
push 3
lea eax, [esp + 0xa4]
push eax
mov edi, 0x92
mov ebx, str...packet_publicKInstallConfigLoader.cpp
call fcn.00415400
mov ebx, 4
add eax, ebx
push str.parse_config_data_failed__wrong_format
mov byte [esp + 0x1d0], 5
push eax
mov dword [esp + 0x20], ebx
call fcn.00418960
add esp, 8
test bl, 4
mov dword [esp + 0x1cc], 4
je 0x48ed10
lea ecx, [esp + 0xa0]
push ecx
call fcn.00415470
lea esi, [esp + 0x1c]
mov byte [esp + 0x1cc], 2
call fcn.0048ee80
lea eax, [esp + 0x14]
call fcn.004939f0
xor eax, eax
jmp 0x48ee59
push str.packetinstallcfgitem
push ebp
lea ecx, [esp + 0x24]
call fcn.0048e750
test eax, eax
jne 0x48edb2
call fcn.00415340
test al, al
je 0x48ed91
cmp dword [0x504dc4], 3
jg 0x48ed91
push 3
lea edx, [esp + 0xa4]
push edx
mov edi, 0x98
mov ebx, str...packet_publicKInstallConfigLoader.cpp
call fcn.00415400
add eax, 4
push str.parse_install_config_failed
mov byte [esp + 0x1d0], 6
mov ebx, 8
push eax
mov dword [esp + 0x20], ebx
call fcn.00418960
add esp, 8
test bl, 8
mov dword [esp + 0x1cc], 4
je 0x48ed10
lea eax, [esp + 0xa0]
push eax
jmp 0x48ed0b
push str.packetuplivecfgitem
push ebp
lea ecx, [esp + 0x24]
call fcn.0048e750
test eax, eax
jne 0x48ee33
call fcn.00415340
test al, al
je 0x48ee12
cmp dword [0x504dc4], 3
jg 0x48ee12
push 3
lea ecx, [esp + 0x134]
push ecx
mov edi, 0x9e
mov ebx, str...packet_publicKInstallConfigLoader.cpp
call fcn.00415400
add eax, 4
push str.parse_uplive_config_failed
mov byte [esp + 0x1d0], 7
mov ebx, 0x10
push eax
mov dword [esp + 0x20], ebx
call fcn.00418960
add esp, 8
test bl, 0x10
mov dword [esp + 0x1cc], 4
je 0x48ed10
lea edx, [esp + 0x130]
push edx
jmp 0x48ed0b
lea esi, [esp + 0x1c]
mov dword [ebp], 1
mov byte [esp + 0x1cc], 2
call fcn.0048ee80
lea eax, [esp + 0x14]
call fcn.004939f0
mov eax, 1
mov ecx, dword [esp + 0x1c4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c0
ret 4