Function at 0x42f540
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e6a41
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x67d070]
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.0049c1b0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00407550
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.00407060
push ecx
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.0049c840
mov byte [ebp - 4], 1
add esp, 4
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x42f604
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00407b40
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.00407060
push ecx
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call fcn.0049c840
mov byte [ebp - 4], 1
add esp, 4
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x42f653
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00407b40
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 0x42fb57
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
push eax
call esi
test eax, eax
je 0x42fb57
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.00407550
xorps xmm0, xmm0
mov dword [ebp - 0xe0], 0x67dc50
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0xdc], 0x180
mov dword [ebp - 0xd8], 0x67dc48
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.004a8220
test al, al
jne 0x42f784
mov eax, fcn.0042c970
test eax, eax
je 0x42f77d
push str.Could_not_initialize_C3Config_sig_file_as_XML_data
push 0x622628
push 0x622628
push str.ApplicationContext
push str.WAMB
push 0x28
call fcn.0042c970
add esp, 0x18
xor bl, bl
jmp 0x42fb1b
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.00406e60
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x20]
call fcn.004ac650
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 8
call fcn.00406e20
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.005c799d
add esp, 0xc
mov dword [ebp - 0xe8], eax
lea ecx, [ebp - 0x140]
mov dword [ebp - 0xe4], edx
push str._Signature_CheckSum
call fcn.00406e60
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x20]
call fcn.004ac650
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 8
call fcn.00406e20
lea ecx, [ebp - 0x120]
call fcn.004b6850
test eax, eax
je 0x42f88b
mov ecx, fcn.0042c970
test ecx, ecx
je 0x42f884
push eax
push str.Signature_validation_failed_for_C3Config_file__OCE_Return_status_:__lu
push 0x622628
push 0x622628
push str.ApplicationContext
push str.WAMB
push 0x28
call fcn.0042c970
add esp, 0x1c
xor bl, bl
jmp 0x42faeb
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm0
call fcn.004a8140
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x3c]
call fcn.004a8220
test al, al
jne 0x42f8e9
mov eax, fcn.0042c970
test eax, eax
je 0x42f8e2
push str.Could_not_initialize_C3Config_xml
push 0x622628
push 0x622628
push str.ApplicationContext
push str.WAMB
push 0x28
call fcn.0042c970
add esp, 0x18
xor bl, bl
jmp 0x42fae3
push str._C3Config_config_namespace__namewam.bootstrapper__property
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 0
call fcn.00406e60
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.004a9400
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0xe
call fcn.00406e20
mov esi, dword [ebp - 0x30]
test esi, esi
sete al
test al, al
jne 0x42faa7
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x42faa7
xor edi, edi
test ebx, ebx
jle 0x42faa3
mov eax, dword [ebp - 0x124]
add eax, 0x140
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 0x42f97e
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004a9720
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 0x42f9ae
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004a9a50
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 0x42f9fa
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea ecx, [ebp - 0x3c]
call fcn.004abe80
push 0x625f68
lea ecx, [ebp - 0x168]
call fcn.00406e60
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x8c]
call fcn.004310b0
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x124]
add eax, 0x28
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.00435b90
mov ecx, dword [ebp - 0x150]
lea eax, [ebp - 0xa4]
add ecx, 0x28
cmp ecx, eax
je 0x42fa68
push 0xffffffffffffffff
push 0
push eax
call fcn.00407550
lea ecx, [ebp - 0x168]
call fcn.00406e20
lea ecx, [ebp - 0xa4]
call fcn.00406e20
lea ecx, [ebp - 0x8c]
call fcn.0042c740
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42fa9a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc edi
cmp edi, ebx
jl 0x42f967
mov bl, 1
jmp 0x42fad5
mov eax, fcn.0042c970
test eax, eax
je 0x42fad3
push str.No_wam_property_node_found_in_C3Config_xml
push 0x622628
push 0x622628
push str.ApplicationContext
push str.WAMB
push 0x28
call fcn.0042c970
add esp, 0x18
xor bl, bl
mov byte [ebp - 4], 0xb
test esi, esi
je 0x42fae3
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x3c]
call fcn.004a81b0
mov eax, dword [ebp - 0x70]
cmp eax, 0x10
jb 0x42fb06
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.00407440
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 0x42fb34
mov ecx, esi
xor esi, esi
test ecx, ecx
je 0x42fb34
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp byte [ebp - 0x18], 0
je 0x42fb40
call dword [sym.imp.ole32.dll_CoUninitialize]
test esi, esi
je 0x42fb4a
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x120]
call fcn.0042fbc0
jmp 0x42fb59
xor bl, bl
mov eax, dword [ebp - 0x40]
cmp eax, 8
jb 0x42fb6e
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.00407b40
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 0x42fb97
inc ecx
push ecx
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x6c]
call fcn.00407b40
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.00599c70
mov esp, ebp
pop ebp
ret