Function at 0x429f70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f486
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x4c8748]
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 esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test esi, esi
je 0x42a408
cmp word [esi], 0
je 0x42a408
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42a408
push 0x104
lea ebx, [edi + 0xc]
push ebx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x434], ebx
push 0x104
push eax
call fcn.0048118b
push 0x104
push esi
push 0x104
push ebx
call fcn.0048118b
push 0x5c
push ebx
call fcn.00479ad4
push 0x208
push 0
lea esi, [eax + 2]
lea eax, [ebp - 0x420]
push eax
call fcn.00478960
push esi
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.0047c673
add esp, 0x40
lea ecx, [ebp - 0x42c]
xor eax, eax
mov word [esi], ax
cmp dword [edi + 0x21c], eax
push ecx
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x42c], eax
mov eax, dword [edi]
push ecx
je 0x42a059
push str.config.xml
jmp 0x42a060
lea ecx, [ebp - 0x420]
push ecx
push edi
call dword [eax + 0x40]
mov dword [ebp - 0x430], eax
test eax, eax
je 0x42a3ee
cmp dword [ebp - 0x428], 0
je 0x42a3ee
cmp dword [ebp - 0x42c], 0
je 0x42a3ee
push 0x24
call fcn.00477045
add esp, 4
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42a0b8
mov ecx, eax
call fcn.004560a0
mov ebx, eax
mov dword [ebp - 0x43c], eax
jmp 0x42a0c0
xor ebx, ebx
mov dword [ebp - 0x43c], ebx
push 0x70
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x20], edi
call fcn.00477045
add esp, 4
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x42a0f4
mov ecx, eax
call fcn.0042bc00
mov dword [ebp - 0x438], eax
jmp 0x42a0fc
xor ecx, ecx
mov dword [ebp - 0x438], ecx
push dword [ebp - 0x428]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov esi, eax
lea ecx, [esi + 2]
push ecx
call fcn.00477075
push esi
push dword [ebp - 0x430]
mov dword [ebp - 0x424], eax
push eax
call fcn.00478b30
mov eax, dword [ebp - 0x424]
add esp, 0x10
mov word [eax + esi], 0
lea ecx, [eax + 2]
mov esi, dword [ebp - 0x438]
push 0
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xc]
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x42a162
push eax
call fcn.0047707e
add esp, 4
push dword [ebp - 0x42c]
mov eax, dword [edi]
push dword [ebp - 0x428]
push edi
call dword [eax + 0x44]
push str.directui
mov ecx, esi
call fcn.0042ccf0
mov dword [ebp - 0x440], eax
lea ecx, [ebp - 0x440]
push str.theme
lea eax, [ebp - 0x424]
push eax
call fcn.0042ccc0
mov ecx, eax
call fcn.0042a460
push eax
mov ecx, ebx
call fcn.00456e40
test eax, eax
jne 0x42a1e6
mov ecx, ebx
call fcn.00456140
push 0x24
push ebx
call fcn.00476d79
mov eax, dword [esi]
add esp, 8
mov ecx, esi
push 1
call dword [eax]
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x104
push dword [ebp - 0x434]
jmp 0x42a400
push 0x28
call fcn.00477045
add esp, 4
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x42a20c
mov ecx, eax
call fcn.00457190
mov ebx, eax
jmp 0x42a20e
xor ebx, ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x42c]
push ecx
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], 0xffffffff
push ecx
push str.DirectUI.js
push edi
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x42c], 0
call dword [eax + 0x40]
mov dword [ebp - 0x424], eax
test eax, eax
je 0x42a3ab
cmp dword [ebp - 0x42c], 0
je 0x42a3ab
mov ecx, dword [ebp - 0x428]
test ecx, ecx
je 0x42a3ab
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov esi, eax
lea ecx, [esi + 0x80]
push ecx
call fcn.00477075
push esi
push 0
push eax
mov dword [ebp - 0x430], eax
call fcn.00478960
mov eax, dword [ebp - 0x430]
push esi
push dword [ebp - 0x424]
push eax
call fcn.00478b30
mov eax, dword [ebp - 0x430]
add esp, 0x1c
mov word [eax + esi], 0
lea esi, [eax + 2]
push str._r_nCollectGarbage____r_n
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
mov ecx, ebx
call fcn.00457800
mov eax, dword [ebp - 0x430]
test eax, eax
je 0x42a2db
push eax
call fcn.0047707e
add esp, 4
push edi
push str.winManager
mov ecx, ebx
call fcn.004573b0
mov esi, dword [ebp - 0x43c]
mov ecx, ebx
push esi
push str.resManager
call fcn.004573b0
mov ecx, dword [edi + 0x214]
test ecx, ecx
je 0x42a30b
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [edi + 0x224]
mov dword [ebp - 0x434], eax
test eax, eax
je 0x42a332
mov ecx, eax
call fcn.00457300
push 0x28
push dword [ebp - 0x434]
call fcn.00476d79
add esp, 8
mov eax, dword [edi + 0x218]
mov dword [ebp - 0x434], eax
test eax, eax
je 0x42a359
mov ecx, eax
call fcn.00456140
push 0x24
push dword [ebp - 0x434]
call fcn.00476d79
add esp, 8
mov ecx, dword [ebp - 0x438]
mov dword [edi + 0x214], ecx
mov dword [edi + 0x218], esi
mov dword [edi + 0x224], ebx
mov ecx, dword [edi + 0x22c]
mov eax, dword [ecx]
mov dword [ebp - 0x424], eax
cmp eax, ecx
je 0x42a3a4
mov ecx, dword [eax + 0x14]
call fcn.00422120
lea ecx, [ebp - 0x424]
call fcn.0041b4c0
mov eax, dword [ebp - 0x424]
cmp eax, dword [edi + 0x22c]
jne 0x42a383
mov eax, 1
jmp 0x42a40a
mov esi, dword [ebp - 0x43c]
mov ecx, esi
call fcn.00456140
push 0x24
push esi
call fcn.00476d79
mov ecx, dword [ebp - 0x438]
add esp, 8
mov eax, dword [ecx]
push 1
call dword [eax]
test ebx, ebx
je 0x42a1ca
mov ecx, ebx
call fcn.00457300
push 0x28
push ebx
call fcn.00476d79
add esp, 8
jmp 0x42a1ca
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x104
push ebx
call fcn.0048118b
add esp, 0x10
xor eax, eax
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.0047702f
mov esp, ebp
pop ebp
ret 8