Function at 0x10029ef0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003f0a4
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x1004f0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x71], 0
mov ecx, dword [ebp + 8]
call dword [sym.imp.KwDataDef.dll_public:_class_CLocalResource____thiscall_CSongInfoBase::GetLocalRes_void_]
test eax, eax
je 0x1002a025
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.KwDataDef.dll_public:_class_CLocalResource____thiscall_CSongInfoBase::GetLocalRes_void_]
mov ecx, eax
call dword [sym.imp.KwDataDef.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_CLocalResource::GetPath_void_]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1001d220
movzx ecx, al
test ecx, ecx
jne 0x10029fb8
call fcn.10026490
push eax
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x70]
call fcn.10028870
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x78]
or ecx, 1
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 0x98]
call fcn.100289b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10029fb8
mov dword [ebp - 0x8c], 1
jmp 0x10029fc2
mov dword [ebp - 0x8c], 0
mov dl, byte [ebp - 0x8c]
mov byte [ebp - 0x7a], dl
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x78]
and eax, 1
je 0x10029fe6
and dword [ebp - 0x78], 0xfffffffe
lea ecx, [ebp - 0x70]
call fcn.10028970
movzx ecx, byte [ebp - 0x7a]
test ecx, ecx
je 0x1002a016
push 0x10043df0
mov ecx, dword [ebp + 0x10]
call fcn.10027c40
mov byte [ebp - 0x7b], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100033c0
mov al, byte [ebp - 0x7b]
jmp 0x1002a1c2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100033c0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x64]
call edx
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 5
je 0x1002a05c
cmp dword [ebp - 0x84], 6
je 0x1002a05c
cmp dword [ebp - 0x84], 4
je 0x1002a05c
cmp dword [ebp - 0x84], 7
jne 0x1002a070
push 0x10043e00
mov ecx, dword [ebp + 0x10]
call fcn.10027c40
xor al, al
jmp 0x1002a1c2
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x80]
call fcn.1002c6d0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.1001d220
movzx edx, al
test edx, edx
jne 0x1002a105
mov byte [ebp - 0x72], 0
mov ecx, dword [ebp - 0x80]
add ecx, 0x31c
call fcn.1001d220
movzx eax, al
test eax, eax
jne 0x1002a0e7
mov ecx, dword [ebp - 0x80]
add ecx, 0x31c
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.1000b5d0
add esp, 8
movzx eax, al
test eax, eax
je 0x1002a0e7
mov ecx, dword [ebp - 0x80]
add ecx, 0x31c
push ecx
call dword [sym.imp.KwLib.dll_int___cdecl_KwLib::Dir::IsExistFile_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 4
test eax, eax
je 0x1002a0e7
mov byte [ebp - 0x72], 1
mov edx, dword [ebp + 0x10]
push edx
movzx eax, byte [ebp - 0x72]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x80]
call fcn.1002b1b0
mov byte [ebp - 0x71], al
jmp 0x1002a112
push 0x10043e20
mov ecx, dword [ebp + 0x10]
call fcn.10027c40
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x350], 0
jne 0x1002a16f
movzx ecx, byte [ebp - 0x71]
test ecx, ecx
je 0x1002a16f
movzx edx, byte [ebp + 0xc]
test edx, edx
jne 0x1002a163
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0xc0]
call eax
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x78]
or ecx, 2
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 0x90]
call fcn.1001d220
movzx edx, al
test edx, edx
jne 0x1002a16f
mov dword [ebp - 0x88], 1
jmp 0x1002a179
mov dword [ebp - 0x88], 0
mov al, byte [ebp - 0x88]
mov byte [ebp - 0x7c], al
mov ecx, dword [ebp - 0x78]
and ecx, 2
je 0x1002a196
and dword [ebp - 0x78], 0xfffffffd
lea ecx, [ebp - 0x58]
call fcn.100033c0
movzx edx, byte [ebp - 0x7c]
test edx, edx
je 0x1002a1aa
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x80]
call fcn.1002bdb0
mov cl, byte [ebp - 0x71]
mov byte [ebp - 0x79], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.100033c0
mov al, byte [ebp - 0x79]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003b334
mov esp, ebp
pop ebp
ret 0xc