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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2a91
mov eax, dword fs:[0]
push eax
mov eax, 0x10a0
call fcn.004c47b0
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 esi, dword [ebp + 8]
lea ecx, [ebp - 0x10a8]
mov edi, dword [ebp + 0xc]
call sym.R2ClientInstall.exe_public:_void___thiscall_CMarkupXml::constructor_void_
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004c5d00
lea eax, [ebp - 0x1014]
push eax
call sym.R2ClientInstall.exe_void___cdecl_FileOps::GetMainProgramPath_wchar_t__
lea eax, [ebp - 0x1014]
push 0x5c
push eax
call fcn.004c5a9b
add esp, 0x18
xor ecx, ecx
mov word [eax + 2], cx
nop
movzx eax, word [ebp + ecx - 0x1014]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x812], ax
test ax, ax
jne 0x43d480
xor eax, eax
mov dword [ebp - 0x1034], 0
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x1030], 7
mov word [ebp - 0x1044], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43d4c0
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1044]
call fcn.0040e140
push 0xd
push 0x51e0f0
lea ecx, [ebp - 0x1044]
mov byte [ebp - 4], 1
call fcn.00413350
mov dword [ebp - 0x101c], 0
xor ecx, ecx
mov dword [ebp - 0x1018], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x102c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x101c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1030]
cmp edx, 8
jb 0x43d57a
mov ecx, dword [ebp - 0x1044]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43d570
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43d6fa
push edx
push ecx
call fcn.004c3d01
add esp, 8
xor eax, eax
mov dword [ebp - 0x1034], 0
cmp dword [ebp - 0x1018], 8
mov word [ebp - 0x1044], ax
lea eax, [ebp - 0x102c]
cmovae eax, dword [ebp - 0x102c]
push eax
mov dword [ebp - 0x1030], 7
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43d661
test al, 0x10
jne 0x43d661
cmp dword [ebp - 0x1018], 8
lea eax, [ebp - 0x102c]
lea ecx, [ebp - 0x10a8]
cmovae eax, dword [ebp - 0x102c]
push eax
call sym.R2ClientInstall.exe_public:_bool___thiscall_CMarkupXml::Load_wchar_t_const__
test al, al
je 0x43d69c
push str.HCISystem
lea ecx, [ebp - 0x10a8]
call sym.R2ClientInstall.exe_public:_bool___thiscall_CMarkupXml::FindElem_wchar_t_const__
test al, al
je 0x43d69c
lea ecx, [ebp - 0x10a8]
call sym.R2ClientInstall.exe_public:_bool___thiscall_CMarkupXml::IntoElem_void_
test al, al
je 0x43d69c
push esi
lea ecx, [ebp - 0x10a8]
call sym.R2ClientInstall.exe_public:_bool___thiscall_CMarkupXml::FindElem_wchar_t_const__
test al, al
je 0x43d69c
push edi
push str.Value
push dword [ebp - 0x1064]
lea ecx, [ebp - 0x10a8]
call sym.R2ClientInstall.exe_protected:_bool___thiscall_CMarkupXml::x_SetAttrib_int__wchar_t_const___wchar_t_const__
test al, al
je 0x43d69c
cmp dword [ebp - 0x1018], 8
lea eax, [ebp - 0x102c]
lea ecx, [ebp - 0x10a8]
cmovae eax, dword [ebp - 0x102c]
push eax
call sym.R2ClientInstall.exe_public:_bool___thiscall_CMarkupXml::Save_wchar_t_const__
mov byte [ebp - 0x10a9], 1
mov edx, dword [ebp - 0x1018]
cmp edx, 8
jb 0x43d6af
mov ecx, dword [ebp - 0x102c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43d6a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43d6ff
jmp 0x43d6a5
mov byte [ebp - 0x10a9], 0
jmp 0x43d668
push edx
push ecx
call fcn.004c3d01
add esp, 8
xor eax, eax
mov dword [ebp - 0x101c], 0
lea ecx, [ebp - 0x10a8]
mov dword [ebp - 0x1018], 7
mov word [ebp - 0x102c], ax
call sym.R2ClientInstall.exe_public_virtual:_void___thiscall_CMarkupXml::destructor_void_
mov al, byte [ebp - 0x10a9]
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 8
call fcn.004cac9c
call fcn.004cac9c
int3