Function at 0x4228c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5934f1
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x124], ecx
xor eax, eax
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x6c], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], eax
mov word [ebp - 0x54], ax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.00500d00
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00414130
push 0xc
xor eax, eax
mov dword [ebp - 0x18], 7
push str.C3Config.xml
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00413c10
push ecx
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.00500ee0
mov byte [ebp - 4], 1
add esp, 4
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x422984
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00414580
push 0xc
xor eax, eax
mov dword [ebp - 0x18], 7
push str.C3Config.sig
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00413c10
push ecx
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call fcn.00500ee0
mov byte [ebp - 4], 1
add esp, 4
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4229d3
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00414580
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x6c]
push eax
call esi
test eax, eax
je 0x422ed7
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
push eax
call esi
test eax, eax
je 0x422ed7
xor eax, eax
mov dword [ebp - 0x108], 7
mov dword [ebp - 0x10c], 0
mov word [ebp - 0x11c], ax
mov dword [ebp - 0xf0], 0xf
mov dword [ebp - 0xf4], eax
mov byte [ebp - 0x104], al
mov dword [ebp - 0xb4], 0xf
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0xc8], al
push 0xffffffffffffffff
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x11c]
push eax
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00414130
xorps xmm0, xmm0
mov dword [ebp - 0xe0], 0x60abc0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0xdc], 0x180
mov dword [ebp - 0xd8], 0x60abb8
mov dword [ebp - 0xd4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0xa8], 0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x20]
call fcn.00509ab0
test al, al
jne 0x422b04
mov eax, fcn.00420d90
test eax, eax
je 0x422afd
push str.Could_not_initialize_C3Config_sig_file_as_XML_data
push 0x5c0ec0
push 0x5c0ec0
push str.ApplicationContext
push str.Bootstrapper
push 0x28
call fcn.00420d90
add esp, 0x18
xor bl, bl
jmp 0x422e9b
mov dword [ebp - 0x70], 0xf
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x84], 0
push str._Signature_FileSize
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 8
call fcn.00413890
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x20]
call fcn.0050dbb0
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 8
call fcn.004137d0
cmp dword [ebp - 0x70], 0x10
lea ecx, [ebp - 0xac]
push 0
lea eax, [ebp - 0x84]
mov dword [ebp - 0xac], 0
cmovae eax, dword [ebp - 0x84]
push ecx
push eax
call fcn.00578e6c
add esp, 0xc
mov dword [ebp - 0xe8], eax
lea ecx, [ebp - 0x140]
mov dword [ebp - 0xe4], edx
push str._Signature_CheckSum
call fcn.00413890
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x20]
call fcn.0050dbb0
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 8
call fcn.004137d0
lea ecx, [ebp - 0x120]
call fcn.00510520
test eax, eax
je 0x422c0b
mov ecx, fcn.00420d90
test ecx, ecx
je 0x422c04
push eax
push str.Signature_validation_failed_for_C3Config_file__OCE_Return_status_:__lu
push 0x5c0ec0
push 0x5c0ec0
push str.ApplicationContext
push str.Bootstrapper
push 0x28
call fcn.00420d90
add esp, 0x1c
xor bl, bl
jmp 0x422e6b
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm0
call fcn.005099d0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x3c]
call fcn.00509ab0
test al, al
jne 0x422c69
mov eax, fcn.00420d90
test eax, eax
je 0x422c62
push str.Could_not_initialize_C3Config_xml
push 0x5c0ec0
push 0x5c0ec0
push str.ApplicationContext
push str.Bootstrapper
push 0x28
call fcn.00420d90
add esp, 0x18
xor bl, bl
jmp 0x422e63
push str._C3Config_config_namespace__namewam.bootstrapper__property
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 0
call fcn.00413890
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0050ac90
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0xe
call fcn.004137d0
mov esi, dword [ebp - 0x30]
test esi, esi
sete al
test al, al
jne 0x422e27
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x422e27
xor edi, edi
test ebx, ebx
jle 0x422e23
mov eax, dword [ebp - 0x124]
add eax, 0xfc
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x14], 0
push edi
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x422cfe
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0050afb0
push ecx
mov byte [ebp - 4], 0xf
mov ecx, esp
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
movq qword [ebp - 0x8c], xmm0
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x422d2e
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0050b2e0
xor eax, eax
mov dword [ebp - 0x90], 7
mov dword [ebp - 0x94], 0
mov word [ebp - 0xa4], ax
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x11
push eax
mov eax, dword [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x422d7a
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea ecx, [ebp - 0x3c]
call fcn.0050d3e0
push 0x5c3028
lea ecx, [ebp - 0x168]
call fcn.00413890
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00424460
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x124]
add eax, 0x28
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.00429940
mov ecx, dword [ebp - 0x150]
lea eax, [ebp - 0xa4]
add ecx, 0x28
cmp ecx, eax
je 0x422de8
push 0xffffffffffffffff
push 0
push eax
call fcn.00414130
lea ecx, [ebp - 0x168]
call fcn.004137d0
lea ecx, [ebp - 0xa4]
call fcn.004137d0
lea ecx, [ebp - 0x8c]
call fcn.00422fe0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x422e1a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc edi
cmp edi, ebx
jl 0x422ce7
mov bl, 1
jmp 0x422e55
mov eax, fcn.00420d90
test eax, eax
je 0x422e53
push str.No_wam_property_node_found_in_C3Config_xml
push 0x5c0ec0
push 0x5c0ec0
push str.ApplicationContext
push str.Bootstrapper
push 0x28
call fcn.00420d90
add esp, 0x18
xor bl, bl
mov byte [ebp - 4], 0xb
test esi, esi
je 0x422e63
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x3c]
call fcn.00509a40
mov eax, dword [ebp - 0x70]
cmp eax, 0x10
jb 0x422e86
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.00408330
mov dword [ebp - 0x70], 0xf
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x84], 0
mov byte [ebp - 4], 0x13
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x422eb4
mov ecx, esi
xor esi, esi
test ecx, ecx
je 0x422eb4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp byte [ebp - 0x18], 0
je 0x422ec0
call dword [sym.imp.ole32.dll_CoUninitialize]
test esi, esi
je 0x422eca
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x120]
call fcn.00422f40
jmp 0x422ed9
xor bl, bl
mov eax, dword [ebp - 0x40]
cmp eax, 8
jb 0x422eee
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.00414580
mov ecx, dword [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
cmp ecx, 8
jb 0x422f17
inc ecx
push ecx
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x6c]
call fcn.00414580
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret