Function at 0x41a030
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4786a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
xor esi, esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 4
cmp dword [0x47b6cc], edi
jne 0x41a2a1
mov eax, dword [0x47b6c8]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
mov esi, eax
cmp esi, edi
jge 0x41a0a2
push esi
push str.Failed_to_create_the_app_domain_setup_HRESULT__0x_x_.
jmp 0x41a28d
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x46cf8c
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
cmp esi, edi
jge 0x41a0c6
push esi
push str.Failed_to_obtain_the_app_domain_setup__HRESULT__0x_x_.
jmp 0x41a28d
mov eax, dword [ebx + 0x90]
mov esi, dword [ebp - 0x14]
cmp eax, edi
jne 0x41a0ff
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 5
mov ecx, dword [esi]
mov edx, dword [ecx + 0x10]
push edi
push esi
call edx
push edi
mov esi, eax
mov byte [ebp - 4], 4
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
jns 0x41a119
push esi
push str.Failed_to_set_the_app_base_for_the_domain__HRESULT__0x_x_.
jmp 0x41a28d
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
jne 0x41a0d6
push 0x8007000e
call fcn.00401680
mov esi, dword [ebx + 0x90]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
push eax
push esi
lea eax, [ebp - 0x20]
push eax
call fcn.00428b30
push str._actions
call edi
push eax
push str._actions
lea ecx, [ebp - 0x20]
push ecx
call fcn.00428b30
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x40]
push ecx
push eax
call edx
mov esi, eax
test esi, esi
jns 0x41a169
push esi
push str.Failed_to_set_the_private_bin_path_for_the_domain__HRESULT__0x_x_.
jmp 0x41a28d
lea eax, [ebx + 0x118]
mov edi, 0x47b778
call fcn.0041db20
mov ecx, dword [0x47b778]
mov eax, 4
push edi
cmp dword [ecx - 0xc], eax
jle 0x41a1ba
lea ecx, [ebp - 0x28]
call fcn.0041e360
push eax
mov ecx, str..dll
mov byte [ebp - 4], 6
call fcn.0041dc60
test eax, eax
lea eax, [ebp - 0x28]
setne byte [ebp - 0xd]
mov byte [ebp - 4], 4
call fcn.0041d790
cmp byte [ebp - 0xd], 0
je 0x41a1c4
push edi
mov edx, str..dll
call fcn.0041e6d0
push 0x47b778
mov edx, str..config
call fcn.0041e6d0
mov esi, dword [ebx + 0x90]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
push eax
push esi
lea edx, [ebp - 0x18]
push edx
call fcn.00428b30
push str._actions_
call edi
push eax
push str._actions_
lea eax, [ebp - 0x18]
push eax
call fcn.00428b30
mov eax, dword [0x47b778]
push eax
mov esi, eax
call edi
push eax
push esi
lea ecx, [ebp - 0x18]
push ecx
call fcn.00428b30
mov esi, dword [ebp - 0x18]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41a240
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x28]
call eax
mov esi, eax
test esi, esi
jns 0x41a240
push esi
push str.Failed_to_set_the_config_file_for_the_domain__HRESULT__0x_x_.
jmp 0x41a28d
mov eax, dword [ebx + 0xb0]
mov ecx, dword [0x47b6c8]
mov edx, dword [ecx]
lea esi, [ebp - 0x24]
push esi
mov esi, dword [ebp - 0x1c]
push 0
push esi
push eax
mov eax, dword [edx + 0x44]
push ecx
call eax
mov esi, eax
test esi, esi
jns 0x41a26d
push esi
push str.Failed_to_create_the_app_domain__HRESULT__0x_x_.
jmp 0x41a28d
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx]
push 0x47b6cc
push 0x46cf9c
push eax
call edx
mov esi, eax
test esi, esi
jns 0x41a2a3
push esi
push str.Failed_to_obtain_the_app_domain__HRESULT__0x_x_.
lea edi, [ebx + 0x100]
mov dword [ebx + 0x104], esi
call fcn.00422e30
add esp, 8
test esi, esi
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
sete bl
test eax, eax
je 0x41a2b9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41a2cc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41a2df
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
mov ecx, dword [ebp - 0x20]
push ecx
call esi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret