Function at 0x42c980
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ef01
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x58f070]
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.004e06d0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00412e90
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.00412ae0
push ecx
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.004e0b60
mov byte [ebp - 4], 1
add esp, 4
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x42ca44
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004132e0
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.00412ae0
push ecx
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call fcn.004e0b60
mov byte [ebp - 4], 1
add esp, 4
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x42ca93
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004132e0
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 0x42cf97
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
push eax
call esi
test eax, eax
je 0x42cf97
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.00412e90
xorps xmm0, xmm0
mov dword [ebp - 0xe0], 0x58fc60
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0xdc], 0x180
mov dword [ebp - 0xd8], 0x58fc58
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.004dc770
test al, al
jne 0x42cbc4
mov eax, fcn.0042a940
test eax, eax
je 0x42cbbd
push str.Could_not_initialize_C3Config_sig_file_as_XML_data
push 0x55c340
push 0x55c340
push str.ApplicationContext
push str.Bootstrapper
push 0x28
call fcn.0042a940
add esp, 0x18
xor bl, bl
jmp 0x42cf5b
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.00412950
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x20]
call fcn.004dfaf0
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 8
call fcn.00412890
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.0052456f
add esp, 0xc
mov dword [ebp - 0xe8], eax
lea ecx, [ebp - 0x140]
mov dword [ebp - 0xe4], edx
push str._Signature_CheckSum
call fcn.00412950
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x20]
call fcn.004dfaf0
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 8
call fcn.00412890
lea ecx, [ebp - 0x120]
call fcn.004e6f60
test eax, eax
je 0x42cccb
mov ecx, fcn.0042a940
test ecx, ecx
je 0x42ccc4
push eax
push str.Signature_validation_failed_for_C3Config_file__OCE_Return_status_:__lu
push 0x55c340
push 0x55c340
push str.ApplicationContext
push str.Bootstrapper
push 0x28
call fcn.0042a940
add esp, 0x1c
xor bl, bl
jmp 0x42cf2b
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm0
call fcn.004dc690
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x3c]
call fcn.004dc770
test al, al
jne 0x42cd29
mov eax, fcn.0042a940
test eax, eax
je 0x42cd22
push str.Could_not_initialize_C3Config_xml
push 0x55c340
push 0x55c340
push str.ApplicationContext
push str.Bootstrapper
push 0x28
call fcn.0042a940
add esp, 0x18
xor bl, bl
jmp 0x42cf23
push str._C3Config_config_namespace__namewam.bootstrapper__property
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 0
call fcn.00412950
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.004dd950
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0xe
call fcn.00412890
mov esi, dword [ebp - 0x30]
test esi, esi
sete al
test al, al
jne 0x42cee7
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x42cee7
xor edi, edi
test ebx, ebx
jle 0x42cee3
mov eax, dword [ebp - 0x124]
add eax, 0xe4
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 0x42cdbe
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004ddc70
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 0x42cdee
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004ddfa0
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 0x42ce3a
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea ecx, [ebp - 0x3c]
call fcn.004df320
push 0x560d48
lea ecx, [ebp - 0x168]
call fcn.00412950
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00417150
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x124]
add eax, 0x28
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.004171f0
mov ecx, dword [ebp - 0x150]
lea eax, [ebp - 0xa4]
add ecx, 0x28
cmp ecx, eax
je 0x42cea8
push 0xffffffffffffffff
push 0
push eax
call fcn.00412e90
lea ecx, [ebp - 0x168]
call fcn.00412890
lea ecx, [ebp - 0xa4]
call fcn.00412890
lea ecx, [ebp - 0x8c]
call fcn.004144a0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42ceda
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc edi
cmp edi, ebx
jl 0x42cda7
mov bl, 1
jmp 0x42cf15
mov eax, fcn.0042a940
test eax, eax
je 0x42cf13
push str.No_wam_property_node_found_in_C3Config_xml
push 0x55c340
push 0x55c340
push str.ApplicationContext
push str.Bootstrapper
push 0x28
call fcn.0042a940
add esp, 0x18
xor bl, bl
mov byte [ebp - 4], 0xb
test esi, esi
je 0x42cf23
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x3c]
call fcn.004dc700
mov eax, dword [ebp - 0x70]
cmp eax, 0x10
jb 0x42cf46
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.00408d20
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 0x42cf74
mov ecx, esi
xor esi, esi
test ecx, ecx
je 0x42cf74
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp byte [ebp - 0x18], 0
je 0x42cf80
call dword [sym.imp.ole32.dll_CoUninitialize]
test esi, esi
je 0x42cf8a
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x120]
call fcn.0042d000
jmp 0x42cf99
xor bl, bl
mov eax, dword [ebp - 0x40]
cmp eax, 8
jb 0x42cfae
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.004132e0
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 0x42cfd7
inc ecx
push ecx
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x6c]
call fcn.004132e0
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.0050ce8d
mov esp, ebp
pop ebp
ret