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

Disassembly:
sub esp, 0x80
push ebx
push ebp
push esi
mov esi, dword [esp + 0x90]
mov dword [esp + 0x18], ecx
mov byte [esp + 0x13], 0
push edi
add esi, 5
je 0x100162c6
nop
mov al, byte [esi]
test al, al
je 0x100162c6
movsx eax, al
push eax
call dword [sym.imp.msvcrt.dll_isspace]
add esp, 4
test eax, eax
jne 0x100162c1
mov al, byte [esi]
cmp al, 0xa
je 0x100162c1
cmp al, 0xd
jne 0x100162c6
add esi, 1
jne 0x100162a0
lea eax, [esp + 0x60]
mov dword [esp + 0x50], 0x10059da0
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0x58], 0
push eax
push esi
mov dword [esp + 0x64], 0
mov word [esp + 0x68], 0
mov dword [esp + 0x2c], 0x10059da0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov word [esp + 0x38], 0
mov dword [esp + 0x8c], 0x10059da0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov word [esp + 0x98], 0
mov dword [esp + 0x4c], 0x10059da0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov word [esp + 0x58], 0
mov dword [esp + 0x3c], 0x10059da0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov word [esp + 0x48], 0
mov dword [esp + 0x7c], 0x10059da0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov word [esp + 0x88], 0
mov dword [esp + 0x6c], 0x10059da0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov word [esp + 0x78], 0
call fcn.100159c0
mov ebx, dword [sym.imp.msvcrt.dll_free]
mov esi, eax
test esi, esi
je 0x10016658
mov ebp, dword [esp + 0x70]
push str.bootstrapInfoId
push ebp
call dword [sym.imp.msvcrt.dll__stricmp]
mov edi, dword [esp + 0x68]
add esp, 8
test eax, eax
jne 0x1001644c
test edi, edi
je 0x10016438
push edi
call dword [sym.imp.msvcrt.dll_strlen]
mov ebx, eax
mov byte [esp + 0x60], 0
add esp, 4
test ebx, ebx
jle 0x1001643d
lea eax, [ebx + 1]
cmp dword [esp + 0x58], eax
jae 0x1001641f
push eax
lea ecx, [esp + 0x54]
call fcn.10003580
test eax, eax
je 0x1001643d
mov eax, dword [esp + 0x50]
push ebx
push edi
push eax
mov dword [esp + 0x60], ebx
mov byte [ebx + eax], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1001644c
mov byte [esp + 0x5c], 0
mov eax, dword [esp + 0x50]
mov dword [esp + 0x54], 0
mov byte [eax], 0
push 0x10054468
push ebp
call dword [sym.imp.msvcrt.dll__stricmp]
add esp, 8
test eax, eax
jne 0x100164bc
test edi, edi
je 0x100164a8
push edi
call dword [sym.imp.msvcrt.dll_strlen]
mov ebx, eax
mov byte [esp + 0x30], 0
add esp, 4
test ebx, ebx
jle 0x100164ad
lea eax, [ebx + 1]
cmp dword [esp + 0x28], eax
jae 0x1001648f
push eax
lea ecx, [esp + 0x24]
call fcn.10003580
test eax, eax
je 0x100164ad
mov eax, dword [esp + 0x20]
push ebx
push edi
push eax
mov dword [esp + 0x30], ebx
mov byte [ebx + eax], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x100164bc
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], 0
mov byte [eax], 0
push 0x1005446c
push ebp
call dword [sym.imp.msvcrt.dll__stricmp]
add esp, 8
test eax, eax
jne 0x1001652c
test edi, edi
je 0x10016518
push edi
call dword [sym.imp.msvcrt.dll_strlen]
mov ebx, eax
mov byte [esp + 0x50], 0
add esp, 4
test ebx, ebx
jle 0x1001651d
lea eax, [ebx + 1]
cmp dword [esp + 0x48], eax
jae 0x100164ff
push eax
lea ecx, [esp + 0x44]
call fcn.10003580
test eax, eax
je 0x1001651d
mov eax, dword [esp + 0x40]
push ebx
push edi
push eax
mov dword [esp + 0x50], ebx
mov byte [ebx + eax], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1001652c
mov byte [esp + 0x4c], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], 0
mov byte [eax], 0
push str.bitrate
push ebp
call dword [sym.imp.msvcrt.dll__stricmp]
add esp, 8
test eax, eax
jne 0x1001659c
test edi, edi
je 0x10016588
push edi
call dword [sym.imp.msvcrt.dll_strlen]
mov ebx, eax
mov byte [esp + 0x40], 0
add esp, 4
test ebx, ebx
jle 0x1001658d
lea eax, [ebx + 1]
cmp dword [esp + 0x38], eax
jae 0x1001656f
push eax
lea ecx, [esp + 0x34]
call fcn.10003580
test eax, eax
je 0x1001658d
mov eax, dword [esp + 0x30]
push ebx
push edi
push eax
mov dword [esp + 0x40], ebx
mov byte [ebx + eax], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1001659c
mov byte [esp + 0x3c], 0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], 0
mov byte [eax], 0
test esi, esi
je 0x100165c6
mov al, byte [esi]
test al, al
je 0x100165c6
movsx eax, al
push eax
call dword [sym.imp.msvcrt.dll_isspace]
add esp, 4
test eax, eax
jne 0x100165c1
mov al, byte [esi]
cmp al, 0xa
je 0x100165c1
cmp al, 0xd
jne 0x100165c6
add esi, 1
jne 0x100165a0
mov al, byte [esi]
mov ebx, dword [sym.imp.msvcrt.dll_free]
cmp al, 0x2f
je 0x100166ed
cmp al, 0x3e
je 0x100166f2
cmp edi, 0x10059da0
je 0x100165ec
push edi
call ebx
add esp, 4
cmp ebp, 0x10059da0
je 0x100165fa
push ebp
call ebx
add esp, 4
lea eax, [esp + 0x60]
mov dword [esp + 0x70], 0x10059da0
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0x78], 0
push eax
push esi
mov dword [esp + 0x84], 0
mov word [esp + 0x88], 0
mov dword [esp + 0x6c], 0x10059da0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov word [esp + 0x78], 0
call fcn.100159c0
mov esi, eax
test esi, esi
jne 0x100163d4
mov eax, dword [esp + 0x60]
cmp eax, 0x10059da0
je 0x10016669
push eax
call ebx
add esp, 4
mov eax, dword [esp + 0x70]
cmp eax, 0x10059da0
je 0x1001667a
push eax
call ebx
add esp, 4
mov edi, 5
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
mov ebx, dword [sym.imp.msvcrt.dll_free]
cmp eax, 0x10059da0
je 0x1001669a
push eax
call ebx
add esp, 4
mov eax, dword [esp + 0x40]
cmp eax, 0x10059da0
je 0x100166ab
push eax
call ebx
add esp, 4
mov eax, dword [esp + 0x80]
cmp eax, 0x10059da0
je 0x100166bf
push eax
call ebx
add esp, 4
cmp ebp, 0x10059da0
je 0x100166cd
push ebp
call ebx
add esp, 4
mov eax, dword [esp + 0x50]
cmp eax, 0x10059da0
je 0x100166de
push eax
call ebx
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 4
mov byte [esp + 0x17], 1
cmp edi, 0x10059da0
je 0x10016700
push edi
call ebx
add esp, 4
cmp ebp, 0x10059da0
je 0x1001670e
push ebp
call ebx
add esp, 4
add esi, 1
je 0x10016739
mov al, byte [esi]
test al, al
je 0x10016739
movsx eax, al
push eax
call dword [sym.imp.msvcrt.dll_isspace]
add esp, 4
test eax, eax
jne 0x10016734
mov al, byte [esi]
cmp al, 0xa
je 0x10016734
cmp al, 0xd
jne 0x10016739
add esi, 1
jne 0x10016713
mov ebx, dword [esp + 0x94]
mov edi, esi
sub edi, ebx
cmp byte [esp + 0x17], 0
jne 0x10016984
push 0x10054440
push esi
call dword [sym.imp.msvcrt.dll_strstr]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x1001667f
push 0x3c
push esi
call dword [sym.imp.msvcrt.dll_strchr]
add esp, 8
test eax, eax
je 0x100168fd
cmp eax, ebp
jae 0x100168fd
lea esi, [eax + 1]
test esi, esi
je 0x100167b6
jmp 0x10016790
mov al, byte [esi]
test al, al
je 0x100167b6
movsx eax, al
push eax
call dword [sym.imp.msvcrt.dll_isspace]
add esp, 4
test eax, eax
jne 0x100167b1
mov al, byte [esi]
cmp al, 0xa
je 0x100167b1
cmp al, 0xd
jne 0x100167b6
add esi, 1
jne 0x10016790
lea eax, [esp + 0x60]
mov dword [esp + 0x70], 0x10059da0
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0x78], 0
push eax
push esi
mov dword [esp + 0x84], 0
mov word [esp + 0x88], 0
mov dword [esp + 0x6c], 0x10059da0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov word [esp + 0x78], 0
call fcn.10015af0
mov ebx, dword [esp + 0x70]
mov edi, eax
mov esi, dword [esp + 0x60]
test edi, edi
je 0x100168cc
push str.metadata
push ebx
call dword [sym.imp.msvcrt.dll__stricmp]
add esp, 8
test eax, eax
jne 0x1001687d
test esi, esi
je 0x10016873
push esi
call dword [sym.imp.msvcrt.dll_strlen]
mov ebp, eax
add esp, 4
test ebp, ebp
jle 0x10016873
lea eax, [ebp + 1]
test eax, eax
je 0x1001685b
push eax
lea ecx, [esp + 0x84]
call fcn.10003580
test eax, eax
je 0x10016873
mov ecx, dword [esp + 0x80]
push ebp
push esi
push ecx
mov byte [ecx + ebp], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1001687d
mov ecx, dword [esp + 0x80]
mov byte [ecx], 0
push 0x10054440
push edi
call dword [sym.imp.msvcrt.dll_strstr]
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x100168cc
sub edi, dword [esp + 0x94]
cmp esi, 0x10059da0
je 0x100168af
push esi
mov esi, dword [sym.imp.msvcrt.dll_free]
call esi
add esp, 4
jmp 0x100168b5
mov esi, dword [sym.imp.msvcrt.dll_free]
cmp ebx, 0x10059da0
je 0x1001667f
push ebx
call esi
add esp, 4
jmp 0x1001667f
cmp esi, 0x10059da0
je 0x100168e2
push esi
mov esi, dword [sym.imp.msvcrt.dll_free]
call esi
add esp, 4
jmp 0x100168e8
mov esi, dword [sym.imp.msvcrt.dll_free]
cmp ebx, 0x10059da0
je 0x100168f6
push ebx
call esi
add esp, 4
mov ebx, dword [esp + 0x94]
lea esi, [ebp + 2]
test esi, esi
je 0x1001692a
mov al, byte [esi]
test al, al
je 0x1001692a
movsx eax, al
push eax
call dword [sym.imp.msvcrt.dll_isspace]
add esp, 4
test eax, eax
jne 0x10016925
mov al, byte [esi]
cmp al, 0xa
je 0x10016925
cmp al, 0xd
jne 0x1001692a
add esi, 1
jne 0x10016904
push 5
push str.media
push esi
call dword [sym.imp.msvcrt.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x10016948
mov edi, ebp
sub edi, ebx
jmp 0x1001667f
add esi, 5
je 0x10016976
lea ecx, [ecx]
mov al, byte [esi]
test al, al
je 0x10016976
movsx eax, al
push eax
call dword [sym.imp.msvcrt.dll_isspace]
add esp, 4
test eax, eax
jne 0x10016971
mov al, byte [esi]
cmp al, 0xa
je 0x10016971
cmp al, 0xd
jne 0x10016976
add esi, 1
jne 0x10016950
mov edi, esi
sub edi, ebx
cmp byte [esi], 0x3e
jne 0x1001667f
inc edi
push 0x68
call dword [sym.imp.msvcrt.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x1001667f
mov eax, dword [esp + 0x30]
mov dword [esi], 0x10059da0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov word [esi + 0xc], 0
mov dword [esi + 0x10], 0x10059da0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov word [esi + 0x1c], 0
mov dword [esi + 0x20], 0x10059da0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov word [esi + 0x2c], 0
mov dword [esi + 0x30], 0x10059da0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov word [esi + 0x3c], 0
mov dword [esi + 0x40], 0x10059da0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov word [esi + 0x4c], 0
mov dword [esi + 0x50], 0x10059da0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov word [esi + 0x5c], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x60], 0
test eax, eax
je 0x10016a9b
push eax
call dword [sym.imp.msvcrt.dll_strlen]
mov ecx, eax
mov byte [esi + 0x5c], 0
add esp, 4
mov dword [esp + 0x18], ecx
test ecx, ecx
jle 0x10016a9f
lea eax, [ecx + 1]
cmp dword [esi + 0x58], eax
jae 0x10016a81
push eax
lea ecx, [esi + 0x50]
call fcn.10003580
test eax, eax
je 0x10016a9f
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x50]
push ecx
push dword [esp + 0x34]
mov dword [esi + 0x54], ecx
push eax
mov byte [ecx + eax], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x10016aac
mov byte [esi + 0x5c], 0
mov eax, dword [esi + 0x50]
mov dword [esi + 0x54], 0
mov byte [eax], 0
mov eax, dword [esp + 0x50]
test eax, eax
je 0x10016af7
push eax
call dword [sym.imp.msvcrt.dll_strlen]
mov ebx, eax
mov byte [esi + 0x3c], 0
add esp, 4
test ebx, ebx
jle 0x10016afb
lea eax, [ebx + 1]
cmp dword [esi + 0x38], eax
jae 0x10016add
push eax
lea ecx, [esi + 0x30]
call fcn.10003580
test eax, eax
je 0x10016afb
mov eax, dword [esi + 0x30]
push ebx
push dword [esp + 0x54]
mov dword [esi + 0x34], ebx
push eax
mov byte [ebx + eax], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x10016b08
mov byte [esi + 0x3c], 0
mov eax, dword [esi + 0x30]
mov dword [esi + 0x34], 0
mov byte [eax], 0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x10016b54
push eax
call dword [sym.imp.msvcrt.dll_strlen]
mov ebp, eax
mov byte [esi + 0x4c], 0
add esp, 4
lea ebx, [esi + 0x40]
test ebp, ebp
jle 0x10016b5b
lea eax, [ebp + 1]
cmp dword [ebx + 8], eax
jae 0x10016b3b
push eax
mov ecx, ebx
call fcn.10003580
test eax, eax
je 0x10016b5b
mov eax, dword [ebx]
push ebp
push dword [esp + 0x44]
mov dword [ebx + 4], ebp
push eax
mov byte [eax + ebp], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x10016b67
lea ebx, [esi + 0x40]
mov byte [ebx + 0xc], 0
mov eax, dword [ebx]
mov dword [ebx + 4], 0
mov byte [eax], 0
mov eax, dword [esp + 0x80]
test eax, eax
je 0x10016bba
push eax
call dword [sym.imp.msvcrt.dll_strlen]
mov ebp, eax
mov byte [esi + 0x1c], 0
add esp, 4
lea ebx, [esi + 0x10]
test ebp, ebp
jle 0x10016bc1
lea eax, [ebp + 1]
cmp dword [ebx + 8], eax
jae 0x10016b9d
push eax
mov ecx, ebx
call fcn.10003580
test eax, eax
je 0x10016bc1
mov eax, dword [ebx]
mov ecx, dword [esp + 0x80]
push ebp
push ecx
mov dword [ebx + 4], ebp
push eax
mov byte [eax + ebp], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x10016bcd
lea ebx, [esi + 0x10]
mov byte [ebx + 0xc], 0
mov eax, dword [ebx]
mov dword [ebx + 4], 0
mov byte [eax], 0
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x10016c13
push ebp
call dword [sym.imp.msvcrt.dll_strlen]
mov ebx, eax
mov byte [esi + 0xc], 0
add esp, 4
test ebx, ebx
jle 0x10016c17
lea eax, [ebx + 1]
cmp dword [esi + 8], eax
jae 0x10016bfd
push eax
mov ecx, esi
call fcn.10003580
test eax, eax
je 0x10016c17
mov eax, dword [esi]
push ebx
push ebp
mov dword [esi + 4], ebx
push eax
mov byte [eax + ebx], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x10016c23
mov byte [esi + 0xc], 0
mov eax, dword [esi]
mov dword [esi + 4], 0
mov byte [eax], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x10016c46
mov eax, dword [ecx + 0x64]
test eax, eax
je 0x10016c3e
mov ecx, eax
mov eax, dword [ecx + 0x64]
test eax, eax
jne 0x10016c35
mov dword [ecx + 0x64], esi
jmp 0x10016683
mov dword [eax + 0x34], esi
jmp 0x10016683