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

Disassembly:
mov ecx, dword [0x6e9808]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x52f092
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 0x52eee1
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x7c]
cmp eax, 5
jge 0x52ec60
xor ebp, ebp
jmp 0x52ec95
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea ecx, [0x58afb3]
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 0x52eca4
mov ecx, dword [esp + 0x78]
jmp 0x52ed55
lea eax, [0x563180]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x58b408]
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 0x52ecdd
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
jmp 0x52ed55
lea eax, [0x563180]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
lea ecx, [0x58b408]
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 [0x6e9960]
test ecx, ecx
je 0x52ed23
mov ecx, dword [eax]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
lea ecx, [0x58afa9]
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, [0x6ca6e0]
mov dword [esp], ecx
lea ecx, [0x561840]
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, [0x6ca700]
mov dword [esp], ecx
lea ecx, [0x561840]
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, [0x6e9890]
mov dword [esp], eax
call sym.sync._Mutex_.Lock
lea eax, [sym.mime.setExtensionType.deferwrap1]
mov dword [esp + 0x60], eax
lea eax, [0x6e9890]
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, [0x6ca720]
mov dword [esp], edx
lea ebx, [0x561840]
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 0x52eec1
mov eax, dword [esp + 0xc]
lea ecx, [0x55c1a0]
cmp eax, ecx
jne 0x52f072
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x52eecd
lea ecx, [0x55c1a0]
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 0x52eefe
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
inc esi
lea ecx, [0x55c1a0]
cmp ebx, esi
jle 0x52ef6c
lea edi, [edx + esi*8]
mov ecx, dword [edi + 4]
cmp ecx, ebp
jne 0x52eef7
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 0x52ef45
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 0x52eef7
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 0x52efa9
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x561840]
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, [0x55c1a0]
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 [0x6e9960]
lea esi, [edx + ebx*8 - 8]
test ebp, ebp
jne 0x52efcf
mov ebp, dword [esp + 0x48]
jmp 0x52efdf
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, [0x6ca720]
mov dword [esp], ecx
lea ecx, [0x561840]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
lea ecx, [0x55c1a0]
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, [0x562760]
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