Function at 0x1008e6c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10192923
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x101ebb68]
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 eax, dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0x118], eax
xor ebx, ebx
lea ecx, [ebp - 0x144]
mov eax, edi
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x12c], ebx
call fcn.10033560
lea ecx, [ebp - 0x144]
push ecx
lea esi, [ebp - 0x13c]
mov dword [ebp - 4], 1
call fcn.1008f900
push 0x1c
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 8
mov dword [ebp - 0x124], eax
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x1008e752
push eax
call fcn.10024680
jmp 0x1008e754
xor eax, eax
push eax
lea edx, [ebp - 0x114]
mov byte [ebp - 4], 2
push edx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x110], ebx
call fcn.10023d40
mov byte [ebp - 4], 4
cmp dword [edi + 0x64], ebx
jne 0x1008e880
mov eax, dword [ebp - 0x114]
mov dword [eax + 8], ebx
mov ecx, dword [ebp - 0x114]
mov esi, 1
mov dword [ecx + 0xc], esi
mov edx, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x13c]
mov dword [edx + 0x14], ebx
mov eax, dword [ebp - 0x114]
mov byte [eax + 0x18], 1
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [ebp - 0x114]
push eax
call edx
mov edi, dword [ebp - 0x118]
push ebx
push edi
mov dword [edi], ebx
mov dword [edi + 4], ebx
call fcn.10032ed0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x12c], esi
cmp eax, ebx
je 0x1008e80c
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1008e80c
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
or edx, 0xffffffff
lea ecx, [esi + 8]
lock xadd dword [ecx], edx
jne 0x1008e80c
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x138]
cmp esi, ebx
je 0x1008e843
or ecx, 0xffffffff
lea eax, [esi + 4]
lock xadd dword [eax], ecx
jne 0x1008e843
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
or edx, 0xffffffff
lea ecx, [esi + 8]
lock xadd dword [ecx], edx
jne 0x1008e843
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [ebp - 4], bl
mov esi, dword [ebp - 0x140]
cmp esi, ebx
je 0x1008e879
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1008e879
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1008e879
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov eax, edi
jmp 0x1008efa3
lea eax, [edi + 0x54]
push ebx
push eax
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MGCore.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_MGStringUtil::convertANSIToUnicode_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___enum_MGStringUtil::eSrcCodePage_]
add esp, 0xc
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x1008e8a8
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
jne 0x1008e950
mov ecx, dword [ebp - 0x114]
mov dword [ecx + 8], ebx
mov edx, dword [ebp - 0x114]
mov esi, 1
mov dword [edx + 0xc], esi
mov eax, dword [ebp - 0x114]
mov dword [eax + 0x14], ebx
mov ecx, dword [ebp - 0x114]
mov byte [ecx + 0x18], 1
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [ebp - 0x114]
push eax
call edx
mov edi, dword [ebp - 0x118]
push ebx
push edi
mov dword [edi], ebx
mov dword [edi + 4], ebx
call fcn.10032ed0
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x12c], esi
jb 0x1008e91f
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x110]
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp esi, ebx
je 0x1008e80c
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jmp 0x1008e7ed
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov edi, 1
mov dword [ebp - 0x124], 0x5c
call fcn.10014750
xor edx, edx
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
mov byte [ebp - 4], 7
cmp eax, 0xffffffff
je 0x1008ecc2
push 0xffffffffffffffff
lea ecx, [eax + 1]
lea esi, [ebp - 0x48]
lea edx, [ebp - 0x2c]
call fcn.100143f0
mov edi, eax
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 8
call fcn.1000ae80
mov byte [ebp - 4], 7
cmp dword [ebp - 0x34], 8
jb 0x1008e9ce
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push ebx
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.MGCore.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_MGStringUtil::convertUnicodeToANSI_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___enum_MGStringUtil::eSrcCodePage_]
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 9
push 1
push 0x101a5d28
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x88], 0xf
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
call fcn.1000c100
mov byte [ebp - 4], 0xa
mov eax, dword [0x101feda4]
cmp eax, ebx
jne 0x1008ea23
call fcn.10006d40
lea edi, [ebp - 0x48]
mov ecx, eax
call fcn.10062780
lea ecx, [ebp - 0x9c]
push ecx
push eax
lea edx, [ebp - 0xf0]
push edx
mov byte [ebp - 4], 0xb
call fcn.1002c560
push esi
push eax
lea eax, [ebp - 0xd4]
push eax
mov byte [ebp - 4], 0xc
call fcn.1002c560
add esp, 0x18
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xd
call fcn.1000b240
mov esi, 0x10
cmp dword [ebp - 0xc0], esi
jb 0x1008ea84
mov ecx, dword [ebp - 0xd4]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 0xf
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xc4], ebx
mov byte [ebp - 0xd4], bl
cmp dword [ebp - 0xdc], esi
jb 0x1008eab3
mov edx, dword [ebp - 0xf0]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xe0], ebx
mov byte [ebp - 0xf0], bl
cmp dword [ebp - 0x34], esi
jb 0x1008ead7
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x88], esi
jb 0x1008eaf8
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
cmp dword [ebp - 0xf8], esi
jb 0x1008eb22
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xe
call fcn.10037170
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0x64]
call fcn.1000bd90
push 0x64
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [ebp - 0x124], esi
mov byte [ebp - 4], 0xf
cmp esi, ebx
je 0x1008ebab
mov edi, dword [ebp - 0x11c]
sub esp, 8
lea eax, [edi + 0x70]
mov ecx, esp
mov dword [ebp - 0x11c], esp
call fcn.1000f280
mov edx, dword [ebp - 0x130]
push 3
push edi
push 0x1008e560
push edx
lea eax, [ebp - 0x64]
push eax
push esi
call fcn.10083730
jmp 0x1008ebad
xor eax, eax
push eax
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0xe
push ecx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x11c], ebx
call fcn.1002f630
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x120]
call fcn.10083e20
cmp eax, ebx
je 0x1008eca2
mov edx, dword [ebp - 0x114]
mov esi, dword [ebp - 0x13c]
mov byte [edx + 0x18], 1
mov ecx, dword [ebp - 0x114]
mov dword [ecx + 8], ebx
mov edx, dword [ebp - 0x114]
mov dword [edx + 0xc], eax
cmp esi, ebx
je 0x1008ec21
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [ebp - 0x114]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 6
mov ecx, esi
call edx
mov edi, dword [ebp - 0x118]
push ebx
push edi
mov dword [edi], ebx
mov dword [edi + 4], ebx
call fcn.10032ed0
lea eax, [ebp - 0x120]
mov dword [ebp - 0x12c], 1
mov byte [ebp - 4], 0xe
call fcn.100089e0
lea ecx, [ebp - 0xb8]
call fcn.1000c240
lea esi, [ebp - 0x80]
call fcn.1000ba80
lea ecx, [ebp - 0x64]
call fcn.1000c240
lea esi, [ebp - 0x2c]
call fcn.1000ba80
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 2
call fcn.100089e0
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 1
call fcn.100089e0
lea eax, [ebp - 0x144]
mov byte [ebp - 4], bl
call fcn.100089e0
mov eax, edi
jmp 0x1008efa3
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 0xe
call fcn.100089e0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 7
call fcn.1000c240
jmp 0x1008ed23
mov eax, dword [ebp - 0x130]
mov edi, 0x10
cmp dword [eax + 0x14], edi
jb 0x1008ecd4
mov eax, dword [eax]
push eax
push str.Something_is_wrong_with_your_Music_LocalPath_:__s
lea esi, [ebp - 0x10c]
call fcn.1000c270
add esp, 8
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], edi
jb 0x1008ecf3
mov eax, dword [eax]
push str.MUSIC_IMPORT_IMPL
push eax
call dword [sym.imp.MGCore.dll_public:_static_class_MGDecorateLog____cdecl_MGSingleton_class_MGDecorateLog__0_::getInstance_void_]
mov ecx, eax
call dword [sym.imp.MGCore.dll_public:_void___thiscall_MGDecorateLog::trace_char_const___char_const__]
mov byte [ebp - 4], 7
cmp dword [ebp - 0xf8], edi
jb 0x1008ed23
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 0x12
cmp eax, ebx
je 0x1008ed44
push eax
call fcn.100e2dc0
jmp 0x1008ed46
xor eax, eax
push eax
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 7
push ecx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x124], ebx
call fcn.1008fa80
mov byte [ebp - 4], 0x13
mov edi, dword [ebp - 0x128]
lea edx, [ebp - 0x64]
push edx
mov esi, edi
call fcn.100c2b70
mov esi, dword [ebp - 0x124]
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x130], ebx
cmp esi, ebx
je 0x1008edaf
mov edx, esi
call fcn.1000ae40
test al, al
je 0x1008edaf
mov ebx, esi
push edi
lea esi, [ebp - 0x134]
call fcn.10044ae0
mov esi, dword [ebp - 0x124]
xor ebx, ebx
mov byte [ebp - 4], 0x14
mov eax, dword [edi]
mov edx, dword [eax + 4]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, edi
call edx
mov edi, eax
mov byte [ebp - 4], 0x15
mov byte [ebp - 0x11c], bl
mov eax, dword [ebp - 0x11c]
push eax
call fcn.10006c80
add esp, 4
mov ebx, eax
call fcn.100a9df0
mov ecx, dword [ebp - 0x118]
push eax
push ecx
lea ecx, [ebp - 0x134]
call fcn.1008f920
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x12c], 1
jb 0x1008ee12
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 0x13
mov edi, dword [ebp - 0x130]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
test edi, edi
je 0x1008ee5b
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1008ee5b
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1008ee5b
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
mov ebx, 7
mov byte [ebp - 4], bl
test esi, esi
je 0x1008ee90
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1008ee90
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1008ee90
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov esi, 8
cmp dword [ebp - 0x6c], esi
jb 0x1008eea9
mov eax, dword [ebp - 0x80]
push eax
call edi
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x50], 0x10
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], cx
jb 0x1008eec8
mov edx, dword [ebp - 0x64]
push edx
call edi
add esp, 4
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
cmp dword [ebp - 0x18], esi
jb 0x1008eee8
mov eax, dword [ebp - 0x2c]
push eax
call edi
add esp, 4
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x110]
xor ecx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
test esi, esi
je 0x1008ef2f
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x1008ef2f
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1008ef2f
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x138]
test esi, esi
je 0x1008ef66
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1008ef66
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1008ef66
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x140]
test esi, esi
je 0x1008ef9d
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1008ef9d
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1008ef9d
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov eax, dword [ebp - 0x118]
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.10178946
mov esp, ebp
pop ebp
ret 4