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

Disassembly:
push 0x260
mov eax, 0x471ad8
call fcn.004490ad
mov dword [ebp - 0x264], ecx
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x28]
mov ecx, dword [ecx]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x260], eax
mov al, byte [ebp + 0x14]
mov byte [ebp - 0x268], al
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
push eax
mov ecx, edi
call fcn.004052c7
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00409095
test ebx, ebx
je 0x43b60b
push ebx
call fcn.0040b34f
pop ecx
push eax
push ebx
mov ecx, edi
call fcn.0040943d
mov al, byte [0x49e0ae]
test al, al
je 0x43b62b
push dword [ebp - 0x25c]
movzx eax, al
push str.deployVersionedFile__S
push eax
call fcn.00410bbc
add esp, 0xc
push dword [ebp - 0x268]
mov ecx, dword [ebp - 0x264]
lea eax, [ebp - 0x28]
push dword [ebp - 0x260]
push dword [ebp - 0x25c]
push eax
call fcn.0043b83b
push eax
mov ecx, esi
call fcn.004052c7
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00409095
push 8
pop ebx
cmp dword [esi + 0x14], ebx
jb 0x43b66c
mov eax, dword [esi]
jmp 0x43b66e
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43b6bc
cmp dword [esi + 0x14], ebx
jb 0x43b680
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x40]
push str.File_doesnt_exist:__s
push eax
call fcn.0040efce
add esp, 0xc
and dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x43b69e
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040487f
push 0x4939d8
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], vtable.std::runtime_error.0
push eax
call fcn.0044b5d4
and dword [ebp - 0x26c], 0
and dword [ebp - 0x268], 0
mov dword [ebp - 4], 1
cmp dword [esi + 0x14], ebx
jb 0x43b6da
mov eax, dword [esi]
jmp 0x43b6dc
mov eax, esi
push eax
lea eax, [ebp - 0x40]
push str.Failed_to_open__S
push eax
call fcn.0040efce
add esp, 0xc
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], ebx
jb 0x43b6fb
mov ecx, dword [esi]
jmp 0x43b6fd
mov ecx, esi
push eax
xor ebx, ebx
push ebx
push ebx
push 0x80
push 3
push 1
push connect
push ecx
lea ecx, [ebp - 0x26c]
call fcn.0043b06d
push eax
call fcn.00415803
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00409040
mov ebx, dword [ebp - 0x26c]
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x43b77b
mov cl, byte [0x49e0ae]
test cl, cl
je 0x43b7ce
cmp dword [esi + 0x14], 8
jb 0x43b75c
mov eax, dword [esi]
jmp 0x43b75e
mov eax, esi
push dword [ebp - 0x25c]
push eax
push dword [ebp - 0x18]
movzx eax, cl
push str.File_size_is__d_for__S_from__S
push eax
call fcn.00410bbc
add esp, 0x14
jmp 0x43b7ce
cmp byte [0x49e0ae], 0
je 0x43b7ce
lea eax, [ebp - 0x260]
push eax
call fcn.00413de3
pop ecx
cmp dword [esi + 0x14], 8
mov ecx, dword [eax]
mov byte [ebp - 4], 3
jb 0x43b7a1
mov eax, dword [esi]
jmp 0x43b7a3
mov eax, esi
push dword [ebp - 0x25c]
push ecx
push eax
movzx eax, byte [0x49e0ae]
push str.Failed_to_get_file_size_for__S:__S_from__S
push eax
call fcn.00410bbc
mov ecx, dword [ebp - 0x260]
add esp, 0x14
lea ecx, [ecx - 0x10]
call fcn.0040e40e
or dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x43b7dd
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp byte [ebp + 0x20], 0
je 0x43b833
cmp dword [esi + 0x14], 8
jb 0x43b7f8
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x258]
call fcn.0043fd01
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], 4
mov byte [ebp - 0x254], 1
jb 0x43b81a
mov edi, dword [edi]
push 0
push edi
lea ecx, [ebp - 0x258]
call fcn.004407e0
lea ecx, [ebp - 0x258]
call fcn.0043fe1e
call fcn.00449057
ret 0x1c