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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4695ca
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x48e190]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push esi
push edi
mov eax, dword [0x48e190]
xor eax, esp
push eax
lea eax, [esp + 0x298]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x18]
mov edi, ecx
mov ecx, dword [edi]
mov esi, edx
lea edx, [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
push edx
mov dword [esp + 0x24], esi
call dword [eax + 0x1c]
and dword [esp + 0x2a0], 0
push 0xffffffffffffffff
push esi
xor ebx, ebx
call fcn.0040957e
or dword [esp + 0x2a0], 0xffffffff
push ebx
inc ebx
push ebx
lea esi, [esp + 0x38]
call fcn.00409726
cmp dword [esp + 0x14], 0
je 0x43f1a1
push dword [esp + 0x14]
push dword [esp + 0x24]
call fcn.0040b9d7
push dword [esp + 0x1c]
mov ecx, dword [edi]
mov eax, dword [ecx]
push str.deployVersionedFile__S
call dword [eax + 0xc]
mov esi, eax
call fcn.00409015
mov edx, dword [esp + 0x24]
pop ecx
pop ecx
push dword [ebp + 0x14]
lea eax, [esp + 0x34]
push dword [esp + 0x1c]
mov ecx, edi
push eax
call fcn.0043e6e6
push 0xffffffffffffffff
push dword [esp + 0x14]
mov dword [esp + 0x2a8], ebx
xor ebx, ebx
call fcn.0040957e
or dword [esp + 0x2a0], 0xffffffff
push ebx
push 1
lea esi, [esp + 0x38]
call fcn.00409726
mov ebx, dword [esp + 0x10]
cmp dword [ebx + 0x18], 8
jb 0x43f20e
lea esi, [ebx + 4]
mov eax, dword [esi]
mov dword [esp + 0x10], esi
jmp 0x43f217
lea eax, [ebx + 4]
mov dword [esp + 0x10], eax
mov esi, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43f260
cmp dword [ebx + 0x18], 8
jb 0x43f22a
mov esi, dword [esi]
push esi
push str.File_doesnt_exist:__s
lea esi, [esp + 0x38]
call fcn.0042c7fe
pop ecx
pop ecx
push eax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x2a8], 2
call fcn.00401273
push 0x4813b8
lea eax, [esp + 0x50]
push eax
call fcn.0044bfd3
and dword [esp + 0x14], 0
mov dword [esp + 0x2a0], 3
cmp dword [ebx + 0x18], 8
jb 0x43f278
mov esi, dword [esi]
push esi
push str.Failed_to_open__S
lea esi, [esp + 0x38]
call fcn.0042c7fe
pop ecx
pop ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x2a0], 4
cmp dword [ebx + 0x18], 8
jb 0x43f2a1
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 0x43f2c6
call fcn.00427e31
jmp 0x43f2cc
mov dword [esp + 0x14], eax
xor eax, eax
push eax
mov eax, dword [esp + 0x1c]
call fcn.00429cb2
pop ecx
push esi
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x2a8], 3
call fcn.0040948e
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x43f32b
cmp dword [ebx + 0x18], 8
mov eax, dword [esp + 0x10]
jb 0x43f30a
mov eax, dword [eax]
push dword [esp + 0x1c]
mov ecx, dword [edi]
push eax
push dword [esp + 0x2c]
mov eax, dword [ecx]
push str.File_size_is__d_for__S_from__S
call dword [eax + 0xc]
mov esi, eax
call fcn.00409015
add esp, 0x10
jmp 0x43f377
lea eax, [esp + 0x18]
push eax
call fcn.00429cfb
pop ecx
mov byte [esp + 0x2a0], 5
cmp dword [ebx + 0x18], 8
mov eax, dword [eax]
jb 0x43f34e
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
jmp 0x43f352
mov edx, dword [esp + 0x10]
push dword [esp + 0x1c]
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.00409015
add esp, 0x10
lea eax, [esp + 0x18]
call fcn.0040ebb7
or dword [esp + 0x2a0], 0xffffffff
cmp dword [esp + 0x14], 0
je 0x43f390
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
cmp byte [ebp + 0x1c], 0
je 0x43f3f0
cmp dword [ebx + 0x18], 8
mov eax, dword [esp + 0x10]
jb 0x43f3ab
mov eax, dword [eax]
push eax
lea edi, [esp + 0x78]
call fcn.004428c9
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2a0], 6
cmp dword [eax + 0x18], 8
mov byte [esp + 0x78], 1
jb 0x43f3d4
mov eax, dword [eax + 4]
jmp 0x43f3d7
add eax, 4
push eax
lea esi, [esp + 0x78]
call fcn.00442a53
or dword [esp + 0x2a0], 0xffffffff
mov ecx, esi
call fcn.004429fa
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.00447a6d
mov esp, ebp
pop ebp
ret 0x18