Function at 0x10015a50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004f227
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa68
mov eax, dword [0x1006e3e8]
mov dword [esp + 0x48], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x2c], edi
cmp eax, 0xffffffff
jne 0x10015ac9
lea eax, [esp + 0xc0]
push eax
push 0xd698
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
test eax, eax
jne 0x10015abf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10015abf
mov dword [0x1006e3e8], 0x3a8
mov eax, 0x3a8
jmp 0x10015ac9
mov eax, 0xd698
mov dword [0x1006e3e8], eax
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x58]
push eax
call fcn.10004760
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x10015ae1
mov eax, dword [eax]
push str.r__ccsUNICODE
push eax
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.MSVCR120.dll__wfopen_s]
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 0xc
cmp dword [esp + 0x6c], 8
mov esi, eax
jb 0x10015b0d
push dword [esp + 0x58]
call ebx
add esp, 4
test esi, esi
je 0x10015b2a
xor al, al
mov ecx, dword [esp + 0xa74]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp + 8]
cmp byte [esi], 0
jne 0x10015b36
xor ecx, ecx
jmp 0x10015b49
mov ecx, esi
lea edx, [ecx + 1]
jmp 0x10015b40
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10015b40
sub ecx, edx
push ecx
push esi
mov ecx, edi
call fcn.10001a10
mov eax, dword [edi + 0x60]
lea ecx, [edi + 0x60]
xor edi, edi
mov dword [ecx + 4], eax
push 0x104
lea eax, [esp + 0x170]
mov dword [esp + 0x54], ecx
push edi
push eax
mov dword [esp + 0xb0], 0
mov dword [esp + 0x40], edi
mov dword [esp + 0x174], edi
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], edi
mov byte [esp + 0x88], 0
push 0x800
lea eax, [esp + 0x274]
mov dword [esp + 0xa80], edi
push edi
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x270]
push dword [esp + 0x54]
push 0x400
push eax
call dword [sym.imp.MSVCR120.dll_fgetws]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100165b6
jmp 0x10015bf0
mov eax, dword [0x1006e3e8]
cmp eax, 0xffffffff
jne 0x10015c34
lea eax, [esp + 0x38]
push eax
push 0xd698
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
test eax, eax
jne 0x10015c2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10015c2a
mov dword [0x1006e3e8], 0x3a8
mov eax, 0x3a8
jmp 0x10015c34
mov eax, 0xd698
mov dword [0x1006e3e8], eax
push eax
mov edx, esi
lea ecx, [esp + 0x5c]
call fcn.100047c0
add esp, 4
mov edx, eax
mov byte [esp + 0xa7c], 1
cmp dword [edx + 0x14], 0x10
jb 0x10015c55
mov edx, dword [edx]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
cmp byte [edx], 0
jne 0x10015c73
xor ecx, ecx
jmp 0x10015c81
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10015c78
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.10001a10
mov byte [esp + 0xa7c], 3
cmp dword [esp + 0x6c], 0x10
jb 0x10015ca4
push dword [esp + 0x58]
call ebx
add esp, 4
push 1
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
call dword [sym.imp.MSVCP120.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_bool_]
add esp, 4
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xa0]
mov byte [esp + 0xa7c], 4
push eax
lea ecx, [esp + 0x14]
call fcn.10005110
add esp, 4
lea ecx, [esp + 0xa0]
push ecx
mov ecx, eax
call fcn.100051c0
mov byte [esp + 0xa80], 3
add esp, 4
mov ecx, dword [esp + 0xa0]
mov esi, eax
test ecx, ecx
je 0x10015d1f
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x10015d1f
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
lea eax, [esp + 0x10]
cmp eax, esi
je 0x10015d33
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.100018e0
cmp dword [esp + 0xa4], 0
jne 0x10015e4d
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
push 9
cmovae eax, dword [esp + 0x14]
push str.PERFORMER
push eax
call dword [sym.imp.MSVCR120.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x10015dc7
push 1
push eax
push 0x100538a4
lea ecx, [esp + 0x1c]
call fcn.10004040
push 1
push ecx
push 0x100538a4
lea ecx, [esp + 0x1c]
mov edi, eax
call fcn.10004140
mov ecx, eax
cmp edi, 0xffffffff
je 0x10015dc7
cmp ecx, 0xffffffff
je 0x10015dc7
cmp edi, ecx
je 0x10015dc7
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
add ecx, eax
cmp dword [esp + 0x24], 0x10
push ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
inc eax
add eax, edi
push eax
lea ecx, [ecx + 0x48]
call fcn.10002a10
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
push 5
cmovae eax, dword [esp + 0x14]
push str.TITLE
push eax
call dword [sym.imp.MSVCR120.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x10015e4d
push 1
push eax
push 0x100538a4
lea ecx, [esp + 0x1c]
call fcn.10004040
push 1
push ecx
push 0x100538a4
lea ecx, [esp + 0x1c]
mov edi, eax
call fcn.10004140
mov ecx, eax
cmp edi, 0xffffffff
je 0x10015e4d
cmp ecx, 0xffffffff
je 0x10015e4d
cmp edi, ecx
je 0x10015e4d
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
add ecx, eax
cmp dword [esp + 0x24], 0x10
push ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
inc eax
add eax, edi
push eax
lea ecx, [ecx + 0x30]
call fcn.10002a10
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
push 4
cmovae eax, dword [esp + 0x14]
push str.FILE
push eax
call dword [sym.imp.MSVCR120.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x10015f6d
push 1
push eax
push 0x100538a4
lea ecx, [esp + 0x1c]
call fcn.10004040
push 1
push ecx
push 0x100538a4
lea ecx, [esp + 0x1c]
mov edi, eax
call fcn.10004140
mov edx, eax
cmp edi, 0xffffffff
je 0x10015ecb
cmp edx, 0xffffffff
je 0x10015ecb
cmp edi, edx
je 0x10015ecb
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
add edx, eax
cmp dword [esp + 0x24], 0x10
cmovae ecx, dword [esp + 0x10]
inc ecx
add ecx, edi
jmp 0x10015f20
push 1
push 4
push 0x100538b8
lea ecx, [esp + 0x1c]
call fcn.100042a0
mov esi, eax
lea ecx, [esp + 0x10]
push 1
push esi
push 0x100538b8
mov dword [esp + 0x3c], esi
call fcn.10004220
cmp esi, 0xffffffff
je 0x10015f6d
cmp eax, 0xffffffff
je 0x10015f6d
cmp dword [esp + 0x24], 0x10
lea edx, [esp + 0x10]
mov ecx, esi
cmovae edx, dword [esp + 0x10]
add edx, eax
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
add ecx, eax
cmp dword [esp + 0x9c], 0x10
lea esi, [esp + 0x88]
mov eax, dword [esp + 0x98]
cmovae esi, dword [esp + 0x88]
add eax, esi
lea esi, [esp + 0x88]
cmp dword [esp + 0x9c], 0x10
push edx
cmovae esi, dword [esp + 0x8c]
push ecx
push eax
push esi
lea ecx, [esp + 0x98]
call fcn.10002a50
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
push 5
cmovae eax, dword [esp + 0x14]
push str.TRACK
push eax
call dword [sym.imp.MSVCR120.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x10015fa1
inc dword [esp + 0x34]
mov dword [esp + 0xa4], 1
jmp 0x10015faf
cmp dword [esp + 0xa4], 0
je 0x10016183
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
push 5
cmovae eax, dword [esp + 0x14]
push str.TITLE
push eax
call dword [sym.imp.MSVCR120.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x10016099
push 1
push eax
push 0x100538a4
lea ecx, [esp + 0x1c]
call fcn.10004040
push 1
push ecx
push 0x100538a4
lea ecx, [esp + 0x1c]
mov edi, eax
call fcn.10004140
mov ecx, eax
cmp edi, 0xffffffff
je 0x10016099
cmp ecx, 0xffffffff
je 0x10016099
cmp edi, ecx
je 0x10016099
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
mov byte [esp + 0xa7c], 5
lea eax, [esp + 0x10]
cmp dword [esp + 0x24], 0x10
cmovae eax, dword [esp + 0x10]
add ecx, eax
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
inc eax
push ecx
add eax, edi
lea ecx, [esp + 0x3c]
push eax
call fcn.10002a10
cmp dword [esp + 0x4c], 0x10
lea eax, [esp + 0x38]
push 0x7f
cmovae eax, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x178]
push eax
call dword [sym.imp.MSVCR120.dll_strncpy]
add esp, 0xc
mov byte [esp + 0xa7c], 3
cmp dword [esp + 0x4c], 0x10
jb 0x10016099
push dword [esp + 0x38]
call ebx
add esp, 4
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
push 9
cmovae eax, dword [esp + 0x14]
push str.PERFORMER
push eax
call dword [sym.imp.MSVCR120.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x10016183
push 1
push eax
push 0x100538a4
lea ecx, [esp + 0x1c]
call fcn.10004040
push 1
push ecx
push 0x100538a4
lea ecx, [esp + 0x1c]
mov edi, eax
call fcn.10004140
mov ecx, eax
cmp edi, 0xffffffff
je 0x10016183
cmp ecx, 0xffffffff
je 0x10016183
cmp edi, ecx
je 0x10016183
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
mov byte [esp + 0xa7c], 6
lea eax, [esp + 0x10]
cmp dword [esp + 0x24], 0x10
cmovae eax, dword [esp + 0x10]
add ecx, eax
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
inc eax
push ecx
add eax, edi
lea ecx, [esp + 0x3c]
push eax
call fcn.10002a10
cmp dword [esp + 0x4c], 0x10
lea eax, [esp + 0x38]
push 0x7f
cmovae eax, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x1f8]
push eax
call dword [sym.imp.MSVCR120.dll_strncpy]
add esp, 0xc
mov byte [esp + 0xa7c], 3
cmp dword [esp + 0x4c], 0x10
jb 0x10016183
push dword [esp + 0x38]
call ebx
add esp, 4
mov edi, dword [esp + 0x34]
cmp edi, 1
jle 0x100163c8
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
push 8
cmovae eax, dword [esp + 0x14]
push str.INDEX_00
push eax
call dword [sym.imp.MSVCR120.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x100163c5
push 8
push eax
push str.INDEX_00
lea ecx, [esp + 0x1c]
call fcn.10004040
push 0xffffffffffffffff
add eax, 9
lea ecx, [esp + 0x14]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.10003d40
mov byte [esp + 0xa7c], 7
cmp dword [esp + 0x48], 8
jb 0x100163ad
push 2
push 0
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x44]
call fcn.10003d40
mov byte [esp + 0xa7c], 8
lea eax, [esp + 0x70]
cmp dword [esp + 0x84], 0x10
mov edi, dword [sym.imp.MSVCR120.dll_atoi]
cmovae eax, dword [esp + 0x70]
push eax
call edi
add esp, 4
mov dword [esp + 0x30], eax
lea eax, [esp + 0x150]
lea ecx, [esp + 0x38]
push 2
push 3
push eax
call fcn.10003d40
mov esi, eax
lea eax, [esp + 0x70]
cmp eax, esi
je 0x10016281
cmp dword [esp + 0x84], 0x10
jb 0x1001625c
push dword [esp + 0x70]
call ebx
add esp, 4
push esi
lea ecx, [esp + 0x74]
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
call fcn.10001880
cmp dword [esp + 0x164], 0x10
jb 0x10016297
push dword [esp + 0x150]
call ebx
add esp, 4
cmp dword [esp + 0x84], 0x10
lea eax, [esp + 0x70]
cmovae eax, dword [esp + 0x70]
push eax
call edi
add esp, 4
lea ecx, [esp + 0x38]
mov edi, eax
lea eax, [esp + 0x150]
push 2
push 6
push eax
call fcn.10003d40
mov esi, eax
lea eax, [esp + 0x70]
cmp eax, esi
je 0x10016307
cmp dword [esp + 0x84], 0x10
jb 0x100162e2
push dword [esp + 0x70]
call ebx
add esp, 4
push esi
lea ecx, [esp + 0x74]
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
call fcn.10001880
cmp dword [esp + 0x164], 0x10
jb 0x1001631d
push dword [esp + 0x150]
call ebx
add esp, 4
cmp dword [esp + 0x84], 0x10
lea eax, [esp + 0x70]
cmovae eax, dword [esp + 0x70]
push eax
call dword [sym.imp.MSVCR120.dll_atoi]
mov ecx, dword [esp + 0x34]
add esp, 4
shl ecx, 4
sub ecx, dword [esp + 0x30]
lea ecx, [edi + ecx*4]
mov edi, dword [esp + 0x34]
imul esi, ecx, 0x3e8
add edi, 0xfffffffe
add esi, eax
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x3e0f83e1
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jge 0x10016396
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x60]
imul eax, edi, 0x108
mov edi, dword [esp + 0x34]
sub esi, dword [eax + ecx]
imul eax, edi, 0x108
mov dword [eax + ecx - 0x20c], esi
jmp 0x1001639a
mov edi, dword [esp + 0x34]
cmp dword [esp + 0x84], 0x10
jb 0x100163ad
push dword [esp + 0x70]
call ebx
add esp, 4
mov byte [esp + 0xa7c], 3
cmp dword [esp + 0x4c], 0x10
jb 0x100163c5
push dword [esp + 0x38]
call ebx
add esp, 4
cmp edi, 1
jl 0x10016563
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
push 8
cmovae eax, dword [esp + 0x14]
push str.INDEX_01
push eax
call dword [sym.imp.MSVCR120.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x10016563
push 8
push eax
push str.INDEX_01
lea ecx, [esp + 0x1c]
call fcn.10004040
push 0xffffffffffffffff
add eax, 9
lea ecx, [esp + 0x14]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.10003d40
cmp dword [esp + 0x48], 8
jb 0x10016553
xor edi, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], edi
mov byte [esp + 0xa7c], 0xa
lea eax, [esp + 0xc0]
cmp dword [esp + 0x4c], 0x10
lea ecx, [esp + 0x38]
push eax
cmovae ecx, dword [esp + 0x3c]
call fcn.10004820
mov ecx, dword [esp + 0xc8]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0xc4]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x100164d4
cmp dword [esi + 0x14], 0x10
jb 0x10016496
mov eax, dword [esi]
jmp 0x10016498
mov eax, esi
push eax
call dword [sym.imp.MSVCR120.dll_atoi]
lea ecx, [esi + 0x18]
add esp, 4
cmp dword [ecx + 0x14], 0x10
mov edi, eax
jb 0x100164af
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.MSVCR120.dll_atoi]
lea ecx, [esi + 0x30]
mov dword [esp + 0x34], eax
add esp, 4
cmp dword [ecx + 0x14], 0x10
jb 0x100164c8
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.MSVCR120.dll_atoi]
add esp, 4
jmp 0x100164d6
xor eax, eax
mov edx, dword [esp + 0x30]
mov ecx, edi
shl ecx, 4
sub ecx, edi
lea ecx, [edx + ecx*4]
imul ecx, ecx, 0x3e8
add ecx, eax
lea eax, [esp + 0x168]
mov dword [esp + 0x168], ecx
mov ecx, dword [esp + 0x50]
push eax
call fcn.10003f10
push 0x108
lea eax, [esp + 0x16c]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
test esi, esi
je 0x10016553
push dword [esp + 0xc4]
push esi
call fcn.10004580
push esi
call ebx
add esp, 4
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
cmp dword [esp + 0x4c], 0x10
jb 0x10016563
push dword [esp + 0x38]
call ebx
add esp, 4
mov byte [esp + 0xa7c], 0
cmp dword [esp + 0x24], 0x10
jb 0x1001657b
push dword [esp + 0x10]
call ebx
add esp, 4
push 0x800
lea eax, [esp + 0x274]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x270]
push dword [esp + 0x54]
push 0x400
push eax
call dword [sym.imp.MSVCR120.dll_fgetws]
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10015bf0
push dword [esp + 0x54]
call dword [sym.imp.MSVCR120.dll_fclose]
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x13c]
add esp, 4
call fcn.10004a30
lea eax, [esp + 0x88]
mov byte [esp + 0xa7c], 0xb
push eax
lea edx, [esp + 0x13c]
lea ecx, [esp + 0x124]
call fcn.10004ac0
add esp, 4
mov byte [esp + 0xa7c], 0xc
lea ecx, [esp + 0x120]
cmp dword [esp + 0x134], 0x10
cmovae ecx, dword [esp + 0x120]
call fcn.10004f70
test al, al
jne 0x10016a3d
cmp dword [esp + 0x9c], 0x10
lea edx, [esp + 0x88]
lea ecx, [esp + 0xc0]
cmovae edx, dword [esp + 0x88]
call fcn.10004b70
mov byte [esp + 0xa7c], 0xd
lea edx, [esp + 0x88]
cmp dword [esp + 0x9c], 0x10
lea ecx, [esp + 0xa8]
cmovae edx, dword [esp + 0x88]
call fcn.10004c20
push 0x10053860
push 0
call dword [sym.imp.MSVCR120.dll__create_locale]
mov esi, eax
mov dword [esp + 0x38], esi
push esi
lea edx, [esp + 0xb4]
mov byte [esp + 0xa88], 0xf
lea ecx, [esp + 0x64]
call fcn.10004c80
mov edi, eax
add esp, 0xc
lea eax, [esp + 0xa8]
cmp eax, edi
je 0x100166ef
cmp dword [esp + 0xbc], 0x10
jb 0x100166c4
push dword [esp + 0xa8]
call ebx
add esp, 4
push edi
lea ecx, [esp + 0xac]
mov dword [esp + 0xc0], 0xf
mov dword [esp + 0xbc], 0
mov byte [esp + 0xac], 0
call fcn.10001880
cmp dword [esp + 0x6c], 0x10
jb 0x100166ff
push dword [esp + 0x58]
call ebx
add esp, 4
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
mov byte [esp + 0xa7c], 0xe
test esi, esi
je 0x1001672a
push esi
call dword [sym.imp.MSVCR120.dll___free_locale]
add esp, 4
lea eax, [esp + 0xc0]
push eax
lea edx, [esp + 0x13c]
lea ecx, [esp + 0x5c]
call fcn.10004ac0
add esp, 4
push str..wav
mov edx, eax
mov byte [esp + 0xa80], 0x10
lea ecx, [esp + 0x10c]
call fcn.10004d50
add esp, 4
mov byte [esp + 0xa7c], 0x12
cmp dword [esp + 0x6c], 0x10
jb 0x1001677b
push dword [esp + 0x58]
call ebx
add esp, 4
lea eax, [esp + 0xc0]
mov dword [esp + 0x6c], 0xf
push eax
lea edx, [esp + 0x13c]
mov dword [esp + 0x6c], 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5c], 0
call fcn.10004ac0
add esp, 4
push str..ape
mov edx, eax
mov byte [esp + 0xa80], 0x13
lea ecx, [esp + 0xdc]
call fcn.10004d50
add esp, 4
mov byte [esp + 0xa7c], 0x15
cmp dword [esp + 0x4c], 0x10
jb 0x100167e1
push dword [esp + 0x38]
call ebx
add esp, 4
lea eax, [esp + 0xc0]
mov dword [esp + 0x4c], 0xf
push eax
lea edx, [esp + 0x13c]
mov dword [esp + 0x4c], 0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x3c], 0
call fcn.10004ac0
add esp, 4
push str..flac
mov edx, eax
mov byte [esp + 0xa80], 0x16
lea ecx, [esp + 0xf4]
call fcn.10004d50
add esp, 4
mov byte [esp + 0xa7c], 0x18
cmp dword [esp + 0x6c], 0x10
jb 0x10016847
push dword [esp + 0x58]
call ebx
add esp, 4
mov edx, str..wav
mov dword [esp + 0x6c], 0xf
lea ecx, [esp + 0xa8]
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
call fcn.10004df0
test al, al
je 0x100168d6
cmp dword [esp + 0x11c], 0x10
lea ecx, [esp + 0x108]
cmovae ecx, dword [esp + 0x108]
call fcn.10004f70
test al, al
je 0x100168d6
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x108]
lea ecx, [esi + 0x18]
cmp ecx, eax
je 0x100168ad
push 0xffffffffffffffff
push 0
push eax
call fcn.100018e0
lea ecx, [esp + 0xf0]
call fcn.10001850
lea ecx, [esp + 0xd8]
call fcn.10001850
lea ecx, [esp + 0x108]
call fcn.10001850
jmp 0x100169f1
mov edx, str..ape
lea ecx, [esp + 0xa8]
call fcn.10004df0
test al, al
je 0x1001691f
cmp dword [esp + 0xec], 0x10
lea ecx, [esp + 0xd8]
cmovae ecx, dword [esp + 0xd8]
call fcn.10004f70
test al, al
je 0x1001691f
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0xd8]
lea ecx, [esi + 0x18]
cmp ecx, eax
je 0x100168ad
jmp 0x100168a3
mov edx, str..flac
lea ecx, [esp + 0xa8]
call fcn.10004df0
test al, al
je 0x1001696f
cmp dword [esp + 0x104], 0x10
lea ecx, [esp + 0xf0]
cmovae ecx, dword [esp + 0xf0]
call fcn.10004f70
test al, al
je 0x1001696f
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0xf0]
lea ecx, [esi + 0x18]
cmp ecx, eax
je 0x100168ad
jmp 0x100168a3
cmp dword [esp + 0x104], 0x10
jb 0x10016985
push dword [esp + 0xf0]
call ebx
add esp, 4
cmp dword [esp + 0xec], 0x10
mov dword [esp + 0x104], 0xf
mov dword [esp + 0x100], 0
mov byte [esp + 0xf0], 0
jb 0x100169b9
push dword [esp + 0xd8]
call ebx
add esp, 4
cmp dword [esp + 0x11c], 0x10
mov dword [esp + 0xec], 0xf
mov dword [esp + 0xe8], 0
mov byte [esp + 0xd8], 0
jb 0x100169ed
push dword [esp + 0x108]
call ebx
add esp, 4
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0xbc], 0x10
jb 0x10016a07
push dword [esp + 0xa8]
call ebx
add esp, 4
cmp dword [esp + 0xd4], 0x10
mov dword [esp + 0xbc], 0xf
mov dword [esp + 0xb8], 0
mov byte [esp + 0xa8], 0
jb 0x10016a59
push dword [esp + 0xc0]
call ebx
add esp, 4
jmp 0x10016a59
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x120]
lea ecx, [esi + 0x18]
cmp ecx, eax
je 0x10016a59
push 0xffffffffffffffff
push 0
push eax
call fcn.100018e0
cmp dword [esi + 0x28], 0
je 0x10016ae4
mov esi, dword [esp + 0x50]
mov eax, 0x3e0f83e1
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10016ae4
mov ecx, dword [esi + 4]
mov eax, 0x3e0f83e1
sub ecx, dword [esi]
xor edi, edi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
dec eax
add eax, edx
je 0x10016add
mov ebx, dword [esp + 0x50]
xor esi, esi
mov ecx, dword [ebx]
add ecx, esi
cmp dword [ecx + 4], 0
jne 0x10016ab5
mov eax, dword [ecx + 0x108]
sub eax, dword [ecx]
mov dword [ecx + 4], eax
mov ecx, dword [ebx + 4]
mov eax, 0x3e0f83e1
sub ecx, dword [ebx]
inc edi
imul ecx
add esi, 0x108
sar edx, 6
mov eax, edx
shr eax, 0x1f
dec eax
add eax, edx
cmp edi, eax
jb 0x10016aa0
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov byte [esp + 0x2b], 1
jmp 0x10016ae9
mov byte [esp + 0x2b], 0
cmp dword [esp + 0x134], 0x10
jb 0x10016aff
push dword [esp + 0x120]
call ebx
add esp, 4
cmp dword [esp + 0x14c], 0x10
mov dword [esp + 0x134], 0xf
mov dword [esp + 0x130], 0
mov byte [esp + 0x120], 0
jb 0x10016b33
push dword [esp + 0x138]
call ebx
add esp, 4
cmp dword [esp + 0x9c], 0x10
mov dword [esp + 0x14c], 0xf
mov dword [esp + 0x148], 0
mov byte [esp + 0x138], 0
jb 0x10016b67
push dword [esp + 0x88]
call ebx
add esp, 4
mov ecx, dword [esp + 0xa74]
mov al, byte [esp + 0x2b]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4