Function at 0x435cdf
Capabilities:
Check if file exists
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45dc0a
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x47e180]
xor eax, esp
mov dword [esp + 0x27c], eax
push esi
push edi
mov eax, dword [0x47e180]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov edi, ecx
mov ecx, dword [edi]
mov esi, edx
lea edx, [esp + 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [ecx]
push edx
mov dword [esp + 0x20], esi
call dword [eax + 0x1c]
and dword [esp + 0x298], 0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.00408794
or dword [esp + 0x298], 0xffffffff
push 0
push 1
lea esi, [esp + 0x28]
call fcn.00408944
cmp dword [esp + 0x10], 0
je 0x435d83
push dword [esp + 0x10]
push dword [esp + 0x20]
call fcn.004074fd
push dword [esp + 0x14]
mov ecx, dword [edi]
mov eax, dword [ecx]
push str.deployVersionedFile__S
call dword [eax + 0xc]
mov esi, eax
call fcn.004081d4
mov edx, dword [esp + 0x1c]
pop ecx
pop ecx
push dword [ebp + 0x14]
lea eax, [esp + 0x24]
push dword [esp + 0x10]
mov ecx, edi
push eax
call fcn.004352cb
xor esi, esi
push 0xffffffffffffffff
inc esi
push 0
mov ecx, ebx
mov dword [esp + 0x2a0], esi
call fcn.00408794
or dword [esp + 0x298], 0xffffffff
push 0
push esi
lea esi, [esp + 0x28]
call fcn.00408944
cmp dword [ebx + 0x18], 8
jb 0x435ded
lea esi, [ebx + 4]
mov eax, dword [esi]
mov dword [esp + 0xc], esi
jmp 0x435df6
lea eax, [ebx + 4]
mov dword [esp + 0xc], eax
mov esi, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x435e3f
cmp dword [ebx + 0x18], 8
jb 0x435e09
mov esi, dword [esi]
push esi
push str.File_doesnt_exist:__s
lea esi, [esp + 0x28]
call fcn.004244cd
pop ecx
pop ecx
push eax
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x2a0], 2
call fcn.00401273
push 0x4720a0
lea eax, [esp + 0x48]
push eax
call fcn.00441753
and dword [esp + 0x10], 0
mov dword [esp + 0x298], 3
cmp dword [ebx + 0x18], 8
jb 0x435e57
mov esi, dword [esi]
push esi
push str.Failed_to_open__S
lea esi, [esp + 0x28]
call fcn.004244cd
pop ecx
pop ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov byte [esp + 0x298], 4
cmp dword [ebx + 0x18], 8
jb 0x435e80
mov eax, dword [eax]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x435ea5
call fcn.0041f9f5
jmp 0x435eab
mov dword [esp + 0x10], eax
xor eax, eax
push eax
mov eax, dword [esp + 0x1c]
call fcn.004208a2
pop ecx
push esi
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x2a0], 3
call fcn.0040860c
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x435f0a
cmp dword [ebx + 0x18], 8
mov eax, dword [esp + 0xc]
jb 0x435ee9
mov eax, dword [eax]
push dword [esp + 0x14]
mov ecx, dword [edi]
push eax
push dword [esp + 0x44]
mov eax, dword [ecx]
push str.File_size_is__d_for__S_from__S
call dword [eax + 0xc]
mov esi, eax
call fcn.004081d4
add esp, 0x10
jmp 0x435f56
lea eax, [esp + 0x18]
push eax
call fcn.004208eb
pop ecx
mov byte [esp + 0x298], 5
cmp dword [ebx + 0x18], 8
mov eax, dword [eax]
jb 0x435f2d
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
jmp 0x435f31
mov edx, dword [esp + 0xc]
push dword [esp + 0x14]
mov ecx, dword [edi]
push eax
mov eax, dword [ecx]
push edx
push str.Failed_to_get_file_size_for__S:__S_from__S
call dword [eax + 0xc]
mov esi, eax
call fcn.004081d4
add esp, 0x10
lea eax, [esp + 0x18]
call fcn.0040d5c6
or dword [esp + 0x298], 0xffffffff
cmp dword [esp + 0x10], 0
je 0x435f6f
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x14]
cmp byte [ebp + 0x18], 0
je 0x435fcd
cmp dword [ebx + 0x18], 8
mov eax, dword [esp + 0xc]
jb 0x435f88
mov eax, dword [eax]
push eax
lea edi, [esp + 0x70]
call fcn.0043847b
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x298], 6
cmp dword [eax + 0x18], 8
mov byte [esp + 0x70], 1
jb 0x435fb1
mov eax, dword [eax + 4]
jmp 0x435fb4
add eax, 4
push eax
lea esi, [esp + 0x70]
call fcn.004385e1
or dword [esp + 0x298], 0xffffffff
mov ecx, esi
call fcn.00438588
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x27c]
xor ecx, esp
call fcn.0043d7ed
mov esp, ebp
pop ebp
ret 0x14