Function at 0x429090
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478ef8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x49f008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004067b0
mov ecx, eax
test ecx, ecx
jne 0x4290cd
push 0x80004005
call fcn.004064f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00429810
test al, al
jne 0x429107
push str.Load_String_Bundle:_Get_Base_Dir_fail_
push 0x48b494
call fcn.00430910
mov edi, dword [ebp - 0x10]
add esp, 8
xor esi, esi
jmp 0x4291fc
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.004284f0
push 0x2f
lea ecx, [ebp - 0x10]
call fcn.004284f0
call fcn.004067b0
mov ecx, eax
test ecx, ecx
jne 0x429130
push 0x80004005
call fcn.004064f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
call fcn.00429930
push eax
lea eax, [ebp - 0x18]
push str.I18n_luBaseStringBundle.xml
push eax
call fcn.00415030
mov ebx, dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
add esp, 0xc
push dword [ebx - 0xc]
push ebx
call fcn.00414e00
mov edi, dword [ebp - 0x10]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42918a
push edi
push str.Load_String_Bundle:_no_exist___s
push 0x48b494
call fcn.00430910
add esp, 0xc
xor esi, esi
jmp 0x4291e0
lea ecx, [ebp - 0x70]
call fcn.004372f0
push ecx
push edi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.004373d0
test al, al
jne 0x4291ab
push str.Load_String_Bundle:_Load_File_fail_
jmp 0x4291c9
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x4291c4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
test eax, eax
jne 0x42922f
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x4291b2
push str.Load_String_Bundle:_Get_Root_Element_fail_
push 0x48b494
call fcn.00430910
add esp, 8
xor esi, esi
lea ecx, [ebp - 0x70]
call fcn.00428200
mov byte [ebp - 4], 0
add ebx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x4291fc
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x42921b
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
test eax, eax
je 0x4291c4
mov ecx, eax
call fcn.0041bda0
mov dword [ebp - 0x20], eax
test eax, eax
je 0x429383
mov ebx, eax
or edi, 0xffffffff
push 0x493410
lea ecx, [ebx + 0x2c]
call fcn.00438100
test eax, eax
je 0x42926d
mov eax, dword [eax + 0x18]
add eax, 8
mov dword [ebp - 0x1c], eax
jmp 0x429274
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x42928c
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
je 0x42928c
mov esi, dword [eax + 0x20]
add esi, 8
jmp 0x42928e
xor esi, esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42935a
test esi, esi
je 0x42935a
push ecx
mov edx, eax
lea ecx, [ebp - 0x14]
call fcn.0042ff90
mov edx, esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.0042ff90
add esp, 4
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
mov ecx, 0x4a1f30
call fcn.004159b0
mov esi, eax
cmp esi, dword [0x4a1f30]
je 0x4292ea
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00407600
test al, al
je 0x429312
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push ecx
push eax
push ecx
call fcn.0042d0e0
push eax
add eax, 0x10
mov ecx, 0x4a1f30
push eax
push esi
lea eax, [ebp - 0x24]
push eax
call fcn.00415b80
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
lea ecx, [esi + 0x14]
push eax
call fcn.004137d0
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42933c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42935a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebx + 0x28]
test esi, esi
je 0x429373
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
test eax, eax
jne 0x42938d
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x429361
xor ebx, ebx
test ebx, ebx
jne 0x429251
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
mov esi, 1
jmp 0x4291d8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ebx, eax
jmp 0x429375