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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2adb
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x56b114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xa4]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xac], eax
call sym.R2ClientInstall.exe_public:_void___thiscall_CMarkupXml::constructor_void_
mov ecx, esi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43d777
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.0040e140
push 0xd
push 0x51e0f0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00413350
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x43d813
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43d809
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43d95e
push edx
push ecx
call fcn.004c3d01
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x14], 8
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 7
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43d8d4
test al, 0x10
jne 0x43d8d4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xa4]
cmovae eax, dword [ebp - 0x28]
push eax
call sym.R2ClientInstall.exe_public:_bool___thiscall_CMarkupXml::Load_wchar_t_const__
test al, al
je 0x43d909
push str.HCISystem
lea ecx, [ebp - 0xa4]
call sym.R2ClientInstall.exe_public:_bool___thiscall_CMarkupXml::FindElem_wchar_t_const__
test al, al
je 0x43d909
lea ecx, [ebp - 0xa4]
call sym.R2ClientInstall.exe_public:_bool___thiscall_CMarkupXml::IntoElem_void_
test al, al
je 0x43d909
push edi
lea ecx, [ebp - 0xa4]
call sym.R2ClientInstall.exe_public:_bool___thiscall_CMarkupXml::FindElem_wchar_t_const__
test al, al
je 0x43d909
push dword [ebp - 0xac]
lea ecx, [ebp - 0xa4]
push str.Value
push dword [ebp - 0x60]
call sym.R2ClientInstall.exe_protected:_bool___thiscall_CMarkupXml::x_SetAttrib_int__wchar_t_const___wchar_t_const__
test al, al
je 0x43d909
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xa4]
cmovae eax, dword [ebp - 0x28]
push eax
call sym.R2ClientInstall.exe_public:_bool___thiscall_CMarkupXml::Save_wchar_t_const__
mov byte [ebp - 0xa5], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x43d91c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43d912
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43d963
jmp 0x43d912
mov byte [ebp - 0xa5], 0
jmp 0x43d8db
push edx
push ecx
call fcn.004c3d01
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call sym.R2ClientInstall.exe_public_virtual:_void___thiscall_CMarkupXml::destructor_void_
mov al, byte [ebp - 0xa5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c360c
mov esp, ebp
pop ebp
ret 0xc
call fcn.004cac9c
call fcn.004cac9c
int3