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

Disassembly:
mov ecx, dword [0x8c8664]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5f9162
sub esp, 0x6c
mov eax, 0
mov dword [esp + 0x68], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
call sym.mime.ParseMediaType
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test eax, eax
jne 0x5f8fb1
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x7c]
cmp eax, 5
jge 0x5f8d20
xor ebp, ebp
jmp 0x5f8d55
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea ecx, [0x6ad13b]
mov dword [esp + 4], ecx
mov dword [esp + 8], 5
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
mov ebp, eax
mov eax, dword [esp + 0x7c]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5f8d64
mov ecx, dword [esp + 0x78]
jmp 0x5f8e15
lea eax, [0x6745c0]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x6ad5da]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 7
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test eax, eax
je 0x5f8d9d
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
jmp 0x5f8e15
lea eax, [0x6745c0]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
lea ecx, [0x6ad5da]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 7
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
mov dword [eax + 4], 5
mov ecx, dword [0x8c87a0]
test ecx, ecx
je 0x5f8de3
mov ecx, dword [eax]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
lea ecx, [0x6ad131]
mov dword [eax], ecx
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call sym.mime.FormatMediaType
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, eax
mov eax, ecx
mov ecx, edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
call sym.strings.ToLower
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x888d60]
mov dword [esp], ecx
lea ecx, [0x672480]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call sym.sync._Map_.Swap
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x888d80]
mov dword [esp], ecx
lea ecx, [0x672480]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call sym.sync._Map_.Swap
lea eax, [0x8c8680]
mov dword [esp], eax
call sym.sync._Mutex_.Lock
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [sym.mime.setExtensionType.deferwrap1]
mov dword [esp + 0x60], eax
lea eax, [0x8c8680]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x68], eax
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0x40]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x5c], ecx
lea edx, [0x888da0]
mov dword [esp], edx
lea ebx, [0x672480]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x58]
mov dword [esp + 8], ebp
call sym.sync._Map_.Load
movzx eax, byte [esp + 0x14]
test al, al
je 0x5f8f91
mov eax, dword [esp + 0xc]
lea ecx, [0x66a7c0]
cmp eax, ecx
jne 0x5f9142
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x5f8f9d
lea ecx, [0x66a7c0]
xor eax, eax
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
mov ebp, dword [esp + 0x30]
xor esi, esi
jmp 0x5f8fce
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
inc esi
lea ecx, [0x66a7c0]
cmp ebx, esi
jle 0x5f903c
lea edi, [edx + esi*8]
mov ecx, dword [edi + 4]
cmp ecx, ebp
jne 0x5f8fc7
mov dword [esp + 0x38], esi
mov eax, dword [edi]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5f9015
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x38]
jmp 0x5f8fc7
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
inc ebx
cmp eax, ebx
jae 0x5f9079
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x672480]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea ecx, [0x66a7c0]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], eax
lea esi, [edx + ebx*8 - 4]
mov dword [esi], ebp
mov ebp, dword [0x8c87a0]
lea esi, [edx + ebx*8 - 8]
test ebp, ebp
jne 0x5f909f
mov ebp, dword [esp + 0x48]
jmp 0x5f90af
call sym.runtime.gcWriteBarrier2
mov ebp, dword [esp + 0x48]
mov dword [edi], ebp
mov ecx, dword [esi]
mov dword [edi + 4], ecx
mov dword [esi], ebp
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
lea ecx, [0x888da0]
mov dword [esp], ecx
lea ecx, [0x672480]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
lea ecx, [0x66a7c0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call sym.sync._Map_.Swap
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x6737e0]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeE
nop
call sym.runtime.deferreturn
add esp, 0x6c
ret
call sym.runtime.morestack_noctxt
jmp sym.mime.setExtensionType