Function at 0x41a240
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x49e7a1
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x4bc7dc]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bc7dc]
xor eax, esp
push eax
lea eax, [esp + 0x18c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x19c]
xor edi, edi
mov dword [esp + 0x18], edi
cmp dword [eax + 0x14], 8
mov dword [esp + 0x1c], ecx
jb 0x41a294
mov eax, dword [eax]
lea edx, [esp + 0x14]
push edx
mov ecx, eax
call fcn.00402450
lea eax, [esp + 0x14]
push eax
mov ebx, 1
lea ecx, [esp + 0x1c]
push ebx
push ecx
mov dword [esp + 0x1a0], edi
call fcn.0040cd90
add esp, 0xc
mov esi, eax
mov byte [esp + 0x194], bl
mov eax, dword [esi]
cmp dword [eax - 4], ebx
jle 0x41a2d9
mov edx, dword [eax - 0xc]
push edx
push esi
call fcn.00403640
mov eax, dword [esi]
xor ecx, ecx
mov word [esp + 0x130], cx
mov ebp, 7
mov ecx, eax
mov dword [esp + 0x144], ebp
mov dword [esp + 0x140], edi
lea esi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x41a300
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x134]
call fcn.0040ca50
mov byte [esp + 0x194], 2
xor edx, edx
mov word [esp + 0x114], dx
push edi
or eax, 0xffffffff
mov ecx, esi
lea edx, [esp + 0x118]
mov dword [esp + 0x12c], ebp
mov dword [esp + 0x128], edi
call fcn.0040c720
mov esi, 8
mov byte [esp + 0x194], 4
cmp dword [esp + 0x144], esi
jb 0x41a374
mov eax, dword [esp + 0x130]
push eax
call fcn.0047fe1e
add esp, 4
xor ecx, ecx
mov dword [esp + 0x144], ebp
mov dword [esp + 0x140], edi
mov word [esp + 0x130], cx
mov byte [esp + 0x194], 5
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a3b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x194], 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 0x41a3dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x114]
cmp dword [esp + 0x128], esi
jae 0x41a3f3
lea eax, [esp + 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41a426
mov dword [esp + 0x194], eax
cmp dword [esp + 0x128], esi
jb 0x41a41f
mov ecx, dword [esp + 0x114]
push ecx
call fcn.0047fe1e
add esp, 4
xor al, al
jmp 0x41a5e4
xor edx, edx
push 0x18
mov eax, str.pack_file_items.manifest
lea esi, [esp + 0x150]
mov dword [esp + 0x164], ebp
mov dword [esp + 0x160], edi
mov word [esp + 0x150], dx
call fcn.0040ca50
lea eax, [esp + 0x168]
push eax
mov ebx, esi
lea ecx, [esp + 0x118]
mov byte [esp + 0x198], 9
call fcn.00475170
mov ecx, eax
xor ebx, ebx
push ebx
or eax, 0xffffffff
lea edx, [esp + 0x118]
mov byte [esp + 0x198], 0xa
call fcn.0040c720
mov esi, 8
mov byte [esp + 0x194], 9
cmp dword [esp + 0x17c], esi
jb 0x41a4b1
mov ecx, dword [esp + 0x168]
push ecx
call fcn.0047fe1e
add esp, 4
xor edx, edx
mov byte [esp + 0x194], 6
mov dword [esp + 0x17c], ebp
mov dword [esp + 0x178], ebx
mov word [esp + 0x168], dx
cmp dword [esp + 0x160], esi
jb 0x41a4ea
mov eax, dword [esp + 0x14c]
push eax
call fcn.0047fe1e
add esp, 4
mov eax, dword [esp + 0x114]
cmp dword [esp + 0x128], esi
jae 0x41a501
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0x68]
push ecx
call fcn.0041cd50
lea edx, [esp + 0x64]
lea eax, [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], edx
mov dword [esp + 0x3c], vtable.google::protobuf::io::CopyingInputStreamAdaptor.0
mov dword [esp + 0x40], eax
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 + 0x1c]
mov byte [esp + 0x194], 0xc
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.004267f0
lea ecx, [esp + 0x2c]
push ecx
mov bl, al
mov byte [esp + 0x198], 0xb
call fcn.00427c60
lea ecx, [esp + 0xcc]
mov byte [esp + 0x194], 6
call fcn.0041ceb0
lea edx, [esp + 0xcc]
push edx
mov dword [esp + 0xd0], vtable.std::ios_base.0
call fcn.0047f3f3
add esp, 4
mov dword [esp + 0x194], 0xffffffff
cmp dword [esp + 0x128], 8
jb 0x41a5e2
mov eax, dword [esp + 0x114]
push eax
call fcn.0047fe1e
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x18c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.0047fe29
add esp, 0x184
ret