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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x571825
sub esp, 0x60
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call dbg.mime.ParseMediaType
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
test ebp, ebp
jne 0x571813
mov ebx, dword [esp + 0x70]
cmp ebx, 5
jge 0x5717d3
xor ebp, ebp
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x571701
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ebx
mov ebp, dword [esp + 0x64]
mov dword [esp], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 4], esi
call dbg.strings.ToLower
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
lea edx, [0x7e38f0]
mov dword [esp], edx
call dbg.sync.(*RWMutex).Lock
lea eax, [0x7e38f0]
mov dword [esp + 8], eax
mov dword [esp], 4
lea eax, [0x648c60]
mov dword [esp + 4], eax
call dbg.runtime.deferproc
test eax, eax
jne 0x5716f7
mov eax, dword [esp + 0x64]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x54], eax
lea eax, [0x5fe6e0]
mov dword [esp], eax
mov ecx, dword [0x7d18c4]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 8], ecx
call dbg.runtime.mapassign
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov edx, dword [0x7e38e0]
test edx, edx
jne 0x5716da
mov edx, dword [esp + 0x6c]
mov dword [eax], edx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x48], eax
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x4c], ebx
lea ebp, [0x5fe6e0]
mov dword [esp], ebp
mov ebp, dword [0x7d18c8]
mov dword [esp + 4], ebp
lea ebp, [esp + 0x48]
mov dword [esp + 8], ebp
call dbg.runtime.mapassign
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov ecx, dword [0x7e38e0]
test ecx, ecx
jne 0x5716c5
mov ecx, dword [esp + 0x6c]
mov dword [eax], ecx
lea eax, [0x5fe3e0]
mov dword [esp], eax
mov ecx, dword [0x7d18c0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0xc], edx
call dbg.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov eax, dword [eax]
xor edx, edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], eax
cmp edx, ecx
jge 0x571536
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
mov esi, dword [esp + 0x24]
cmp ebp, esi
je 0x571675
add eax, 8
inc edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], eax
cmp edx, ecx
jl 0x571515
mov eax, dword [esp + 0x34]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
lea edx, [0x5fe3e0]
mov dword [esp], edx
mov ebx, dword [0x7d18c0]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call dbg.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 8]
lea ebx, [edx + 1]
cmp ebx, eax
jg 0x57163d
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], eax
mov ebp, edx
shl edx, 3
mov esi, dword [esp + 0x24]
mov dword [ecx + edx + 4], esi
mov esi, dword [0x7e38e0]
lea ebp, [ecx + ebp*8]
test esi, esi
jne 0x57161c
mov ebp, dword [esp + 0x38]
mov dword [ecx + edx], ebp
lea edx, [0x5fe3e0]
mov dword [esp], edx
mov edx, dword [0x7d18c0]
mov dword [esp + 4], edx
lea edx, [esp + 0x40]
mov dword [esp + 8], edx
call dbg.runtime.mapassign
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [0x7e38e0]
test ecx, ecx
jne 0x57160a
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
nop
call dbg.runtime.deferreturn
add esp, 0x60
ret
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
jmp 0x5715f0
mov dword [esp], ebp
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x2c]
jmp 0x5715ae
lea ebp, [0x5fc520]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call dbg.runtime.growslice
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, edx
mov edx, dword [esp + 0x2c]
jmp 0x571581
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
call dbg.runtime.eqstring
movzx eax, byte [esp + 0x10]
test al, al
jne 0x5716ab
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x571526
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
nop
call dbg.runtime.deferreturn
add esp, 0x60
ret
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
jmp 0x5714d2
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
jmp 0x571483
nop
call dbg.runtime.deferreturn
add esp, 0x60
ret
lea ebp, [0x5fe6e0]
mov dword [esp], ebp
mov dword [esp + 4], eax
lea esi, [0x638a2f]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 7
call dbg.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test eax, eax
je 0x571741
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x70]
jmp 0x5713ce
lea eax, [0x638a2f]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 7
lea eax, [0x5fe6e0]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
lea edx, [esp + 0x58]
mov dword [esp + 8], edx
call dbg.runtime.mapassign
mov eax, dword [esp + 0xc]
mov dword [eax + 4], 5
mov ecx, dword [0x7e38e0]
test ecx, ecx
jne 0x5717bf
lea ecx, [0x6384c1]
mov dword [eax], ecx
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
call dbg.mime.FormatMediaType
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
jmp 0x5713d2
mov dword [esp], eax
lea eax, [0x6384c1]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
jmp 0x57178e
mov ebp, dword [esp + 0x6c]
mov dword [esp], ebp
mov dword [esp + 4], 5
lea esi, [0x6384a8]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 5
call dbg.runtime.eqstring
movzx ebp, byte [esp + 0x10]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x70]
jmp 0x5713c4
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebx
nop
call dbg.runtime.deferreturn
add esp, 0x60
ret
call dbg.runtime.morestack_noctxt
jmp dbg.mime.setExtensionType