Function at 0x403cd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x492bf1
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x4ae7cc]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push esi
push edi
mov eax, dword [0x4ae7cc]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x499520
mov dword [esp + 0x1c], eax
call fcn.00402a80
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push 1
xor ebx, ebx
push eax
mov dword [esp + 0x1a4], ebx
call fcn.00419990
add esp, 0xc
mov esi, eax
mov byte [esp + 0x198], 1
mov eax, dword [esi]
cmp dword [eax - 4], 1
jle 0x403d5f
mov ecx, dword [eax - 0xc]
push ecx
push esi
call fcn.004028c0
mov eax, dword [esi]
mov edi, 7
xor edx, edx
mov ecx, eax
mov dword [esp + 0x180], edi
mov dword [esp + 0x17c], ebx
mov word [esp + 0x16c], dx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x403d83
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x170]
call fcn.004072c0
mov byte [esp + 0x198], 2
xor eax, eax
mov word [esp + 0x118], ax
push ebx
or eax, 0xffffffff
mov ecx, esi
lea edx, [esp + 0x11c]
mov dword [esp + 0x130], edi
mov dword [esp + 0x12c], ebx
call fcn.00402520
mov esi, 8
mov byte [esp + 0x198], 4
cmp dword [esp + 0x180], esi
jb 0x403df7
mov ecx, dword [esp + 0x16c]
push ecx
call fcn.00475405
add esp, 4
xor edx, edx
mov dword [esp + 0x180], edi
mov dword [esp + 0x17c], ebx
mov word [esp + 0x16c], dx
mov byte [esp + 0x198], 5
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x198], 6
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 0x403e5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 8
cmp dword [eax + 0x14], esi
jb 0x403e6d
mov eax, dword [eax]
xor ecx, ecx
mov word [esp + 0x134], cx
mov ecx, eax
mov dword [esp + 0x148], edi
mov dword [esp + 0x144], ebx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x403e90
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x138]
call fcn.004072c0
lea edx, [esp + 0x150]
push edx
mov ebx, esi
lea ecx, [esp + 0x11c]
mov byte [esp + 0x19c], 7
call fcn.00410a40
mov ecx, eax
xor edi, edi
mov ebx, 8
push edi
or eax, 0xffffffff
lea edx, [esp + 0x11c]
mov byte [esp + 0x19c], bl
call fcn.00402520
mov byte [esp + 0x198], 7
cmp dword [esp + 0x164], ebx
jb 0x403f0b
mov eax, dword [esp + 0x150]
push eax
call fcn.00475405
add esp, 4
xor ecx, ecx
mov esi, 7
mov byte [esp + 0x198], 6
mov dword [esp + 0x164], esi
mov dword [esp + 0x160], edi
mov word [esp + 0x150], cx
cmp dword [esp + 0x148], ebx
jb 0x403f49
mov edx, dword [esp + 0x134]
push edx
call fcn.00475405
add esp, 4
xor eax, eax
mov dword [esp + 0x148], esi
mov word [esp + 0x134], ax
push 0x18
mov eax, str.pack_file_items.manifest
lea esi, [esp + 0x138]
mov dword [esp + 0x148], edi
call fcn.004072c0
lea ecx, [esp + 0x150]
push ecx
mov ebx, esi
lea ecx, [esp + 0x11c]
mov byte [esp + 0x19c], 9
call fcn.00410a40
mov ecx, eax
xor ebx, ebx
push ebx
or eax, 0xffffffff
lea edx, [esp + 0x11c]
mov byte [esp + 0x19c], 0xa
call fcn.00402520
mov esi, 8
mov byte [esp + 0x198], 9
cmp dword [esp + 0x164], esi
jb 0x403fd4
mov edx, dword [esp + 0x150]
push edx
call fcn.00475405
add esp, 4
xor eax, eax
mov byte [esp + 0x198], 6
mov dword [esp + 0x164], 7
mov dword [esp + 0x160], ebx
mov word [esp + 0x150], ax
cmp dword [esp + 0x148], esi
jb 0x404011
mov ecx, dword [esp + 0x134]
push ecx
call fcn.00475405
add esp, 4
mov eax, dword [esp + 0x118]
cmp dword [esp + 0x12c], esi
jae 0x404028
lea eax, [esp + 0x118]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40404a
mov dword [esp + 0x198], 0xffffffff
cmp dword [esp + 0x12c], esi
jmp 0x404131
mov eax, dword [esp + 0x118]
cmp dword [esp + 0x12c], esi
jae 0x404061
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.00404d60
lea ecx, [esp + 0x64]
lea edx, [esp + 0x30]
mov dword [esp + 0x2c], vtable.google::protobuf::io::IstreamInputStream.0
mov dword [esp + 0x30], vtable.google::protobuf::io::IstreamInputStream::CopyingIstreamInputStream.0
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], vtable.google::protobuf::io::CopyingInputStreamAdaptor.0
mov dword [esp + 0x40], edx
mov word [esp + 0x44], bx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 0x2000
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov esi, dword [esp + 0x18]
mov byte [esp + 0x198], 0xc
add esi, 0x24
lea ecx, [esp + 0x2c]
lea edi, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x28], bl
call fcn.00423ed0
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x19c], 0xb
call fcn.00420f60
lea ecx, [esp + 0xcc]
mov byte [esp + 0x198], 6
call fcn.00404ec0
lea ecx, [esp + 0xcc]
push ecx
mov dword [esp + 0xd0], vtable.std::ios_base.0
call fcn.004746d7
add esp, 4
mov dword [esp + 0x198], 0xffffffff
cmp dword [esp + 0x12c], 8
jb 0x404143
mov edx, dword [esp + 0x118]
push edx
call fcn.00475405
add esp, 4
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.00475410
mov esp, ebp
pop ebp
ret 4