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

Disassembly:
mov ecx, dword [0x911770]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x618832
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 0x618681
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x7c]
cmp eax, 5
jge 0x618400
xor ebp, ebp
jmp 0x618435
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea ecx, [0x6e8e20]
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 0x618444
mov ecx, dword [esp + 0x78]
jmp 0x6184f5
lea eax, [0x6a8c40]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x6e934a]
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 0x61847d
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
jmp 0x6184f5
lea eax, [0x6a8c40]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
lea ecx, [0x6e934a]
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 [0x911a40]
test ecx, ecx
je 0x6184c3
mov ecx, dword [eax]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
lea ecx, [0x6e8e16]
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, [0x8f19d0]
mov dword [esp], ecx
lea ecx, [0x6a6280]
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, [0x8f19f0]
mov dword [esp], ecx
lea ecx, [0x6a6280]
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, [0x911800]
mov dword [esp], eax
call sym.sync._Mutex_.Lock
lea eax, [sym.mime.setExtensionType.deferwrap1]
mov dword [esp + 0x60], eax
lea eax, [0x911800]
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, [0x8f1a10]
mov dword [esp], edx
lea ebx, [0x6a6280]
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 0x618661
mov eax, dword [esp + 0xc]
lea ecx, [0x69c260]
cmp eax, ecx
jne 0x618812
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x61866d
lea ecx, [0x69c260]
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 0x61869e
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
inc esi
lea ecx, [0x69c260]
cmp ebx, esi
jle 0x61870c
lea edi, [edx + esi*8]
mov ecx, dword [edi + 4]
cmp ecx, ebp
jne 0x618697
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 0x6186e5
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 0x618697
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 0x618749
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x6a6280]
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, [0x69c260]
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 [0x911a40]
lea esi, [edx + ebx*8 - 8]
test ebp, ebp
jne 0x61876f
mov ebp, dword [esp + 0x48]
jmp 0x61877f
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, [0x8f1a10]
mov dword [esp], ecx
lea ecx, [0x6a6280]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
lea ecx, [0x69c260]
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, [0x6a7400]
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