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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x539839
sub esp, 0x8c
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp + 4], ecx
call dbg.mime.ParseMediaType
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
test eax, eax
jne 0x539806
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x9c]
cmp eax, 5
jge 0x5397c0
xor ebp, ebp
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5396f6
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov edx, dword [esp + 0x94]
mov dword [esp + 4], edx
call dbg.strings.ToLower
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x70], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x74], ebx
lea ebp, [0x604c20]
mov dword [esp], ebp
lea esi, [esp + 0x78]
mov dword [esp + 4], esi
call dbg.runtime.convT2Estring
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
lea edx, [0x604c20]
mov dword [esp], edx
lea ebx, [esp + 0x70]
mov dword [esp + 4], ebx
call dbg.runtime.convT2Estring
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x788fc0]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
call dbg.sync.(*Map).Store
mov eax, dword [esp + 0x40]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x64], edx
lea edx, [0x604c20]
mov dword [esp], edx
lea ebx, [esp + 0x68]
mov dword [esp + 4], ebx
call dbg.runtime.convT2Estring
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
lea edx, [0x604c20]
mov dword [esp], edx
lea ebx, [esp + 0x60]
mov dword [esp + 4], ebx
call dbg.runtime.convT2Estring
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x788fe0]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
call dbg.sync.(*Map).Store
lea eax, [0x79b5b8]
mov dword [esp], eax
call dbg.sync.(*Mutex).Lock
lea eax, [0x79b5b8]
mov dword [esp + 8], eax
mov dword [esp], 4
lea eax, [0x65b07c]
mov dword [esp + 4], eax
call dbg.runtime.deferproc
test eax, eax
jne 0x5396e9
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x54], ecx
lea edx, [0x788fa0]
mov dword [esp], edx
lea ebx, [0x604c20]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x50]
mov dword [esp + 8], ebp
call dbg.sync.(*Map).Load
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test al, al
je 0x5396d8
lea eax, [0x5f7720]
cmp ecx, eax
jne 0x539821
mov ecx, dword [edx]
mov ebx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x4c], ecx
mov ebp, ecx
xor esi, esi
jmp 0x53951a
add ecx, 8
inc esi
lea eax, [0x5f7720]
mov ebp, dword [esp + 0x4c]
cmp esi, ebx
jge 0x53958d
mov edi, dword [ecx]
mov eax, dword [ecx + 4]
mov ebp, dword [esp + 0x2c]
cmp eax, ebp
jne 0x53950c
mov dword [esp + 0x34], esi
mov dword [esp + 0x44], ecx
mov dword [esp], edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
call dbg.runtime.eqstring
movzx eax, byte [esp + 0x10]
test al, al
jne 0x53956a
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
jmp 0x53950c
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
nop
call dbg.runtime.deferreturn
add esp, 0x8c
ret
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], ecx
lea ecx, [ebx + 1]
cmp ecx, edx
jg 0x53969c
lea esi, [ebp + ebx*8 + 4]
mov edi, dword [esp + 0x2c]
mov dword [esi], edi
mov esi, dword [0x79b700]
lea ebx, [ebp + ebx*8]
test esi, esi
jne 0x53966f
mov esi, dword [esp + 0x40]
mov dword [ebx], esi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
lea eax, [0x604c20]
mov dword [esp], eax
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
call dbg.runtime.convT2Estring
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
lea edx, [0x5f7720]
mov dword [esp], edx
lea edx, [esp + 0x80]
mov dword [esp + 4], edx
call dbg.runtime.convT2Eslice
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x788fa0]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
call dbg.sync.(*Map).Store
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
nop
call dbg.runtime.deferreturn
add esp, 0x8c
ret
mov dword [esp + 0x44], ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
mov dword [esp], ebx
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x44]
jmp 0x5395ca
lea eax, [0x604c20]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call dbg.runtime.growslice
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 1]
lea eax, [0x5f7720]
mov ebx, dword [esp + 0x24]
jmp 0x5395a8
lea eax, [0x5f7720]
xor ebx, ebx
xor edx, edx
xor ecx, ecx
jmp 0x5394fa
nop
call dbg.runtime.deferreturn
add esp, 0x8c
ret
lea eax, [0x606fa0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea ecx, [0x64626d]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 7
call dbg.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test eax, eax
je 0x539738
mov ebx, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
jmp 0x53930b
lea eax, [0x606fa0]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
lea ecx, [0x64626d]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 7
call dbg.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
mov dword [eax + 4], 5
mov ecx, dword [0x79b700]
test ecx, ecx
jne 0x5397ac
lea ecx, [0x645d8c]
mov dword [eax], ecx
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
call dbg.mime.FormatMediaType
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
jmp 0x53930b
mov dword [esp], eax
lea eax, [0x645d8c]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
jmp 0x53977d
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], 5
lea ecx, [0x645d78]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 5
call dbg.runtime.eqstring
movzx ebp, byte [esp + 0x10]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
jmp 0x5392fa
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ebp
nop
call dbg.runtime.deferreturn
add esp, 0x8c
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x604520]
mov dword [esp + 8], eax
call dbg.runtime.panicdottypeE
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.mime.setExtensionType