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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x48]
cmp eax, dword [ecx + 8]
jbe 0x6d5d09
sub esp, 0xc8
lea edi, [esp + 0x78]
xor eax, eax
call fcn.0044f080
mov eax, dword [esp + 0xd8]
xor ecx, ecx
mov edx, ecx
lea ebx, [esp + 0x78]
mov ebp, 0x40
mov esi, edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], esi
mov edi, dword [esp + 0xd0]
cmp eax, edi
jge 0x6d5ccb
jae 0x6d5cc4
mov esi, dword [esp + 0xcc]
movzx edx, byte [esi + eax]
mov dword [esp + 0x4c], edx
lea ebx, [eax + 1]
and edx, 0xc0
mov ebp, dword [esp + 0x4c]
test ebp, 0xc0
jne 0x6d5b59
test ebp, ebp
je 0x6d5aa8
lea eax, [ebp + eax + 1]
mov dword [esp + 0x4c], eax
cmp eax, edi
jg 0x6d5a6a
mov edx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0xb8], edx
mov dword [esp + 0x30], ebp
cmp ebx, eax
jge 0x6d5a00
cmp ebx, edi
jae 0x6d59f9
movzx ecx, byte [esi + ebx]
mov byte [esp + 0x28], cl
cmp cl, 0x22
ja 0x6d59a5
cmp cl, 0xd
ja 0x6d5934
cmp cl, 9
jne 0x6d56cb
mov ecx, dword [esp + 0x2c]
lea esi, [ecx + 2]
cmp esi, ebp
jg 0x6d5689
mov word [edx + ecx], 0x745c
inc ebx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0xcc]
jmp 0x6d5628
lea edi, [0x8e94a0]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call dbg.runtime.growslice
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea esi, [eax + 2]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0xd0]
jmp 0x6d5671
cmp cl, 0xd
jne 0x6d5725
mov ecx, dword [esp + 0x2c]
lea esi, [ecx + 2]
cmp esi, ebp
jg 0x6d56e3
mov word [edx + ecx], 0x725c
jmp 0x6d5677
lea edi, [0x8e94a0]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call dbg.runtime.growslice
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea esi, [eax + 2]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0xd0]
jmp 0x6d56db
lea esi, [ecx - 0x20]
xchg esi, eax
cmp al, 0x5f
xchg esi, eax
jae 0x6d578b
mov esi, dword [esp + 0x2c]
lea edi, [esi + 1]
cmp edi, ebp
jg 0x6d574b
mov byte [edx + esi], cl
mov esi, edi
mov edi, dword [esp + 0xd0]
jmp 0x6d5677
lea eax, [0x8e94a0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edi
call dbg.runtime.growslice
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edi, [eax + 1]
mov eax, dword [esp + 0x4c]
movzx ecx, byte [esp + 0x28]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x2c]
jmp 0x6d573a
mov word [esp + 0x29], 0
mov byte [esp + 0x2b], 0
lea esi, [esp + 0x29]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 3
movzx ecx, cl
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xa
call dbg.strconv.AppendInt
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xbc], ecx
mov edx, dword [esp + 0x2c]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x30]
cmp ebx, ebp
jg 0x6d58ec
mov esi, dword [esp + 0xb8]
mov byte [esi + edx], 0x5c
xor edx, edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x2c], ebx
lea edi, [eax - 3]
xchg edi, ebx
neg ebx
xchg edi, ebx
cmp edx, edi
jge 0x6d5864
lea edi, [ebx + 1]
cmp edi, ebp
jg 0x6d5822
mov byte [esi + ebx], 0x30
inc edx
mov ebx, edi
jmp 0x6d57fd
lea ecx, [0x8e94a0]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edi
call dbg.runtime.growslice
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edi, [eax + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x2c]
jmp 0x6d5819
xor edx, edx
mov dword [esp + 0x48], edx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x2c], ebx
cmp edx, eax
jge 0x6d58d9
movzx edi, byte [ecx]
xchg edi, eax
mov byte [esp + 0x27], al
xchg edi, eax
lea eax, [ebx + 1]
cmp eax, ebp
jg 0x6d5898
xchg edi, eax
mov byte [esi + ebx], al
xchg edi, eax
inc ecx
inc edx
mov ebx, eax
mov eax, dword [esp + 0x44]
jmp 0x6d5866
lea edx, [0x8e94a0]
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call dbg.runtime.growslice
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
inc eax
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x2c]
movzx edi, byte [esp + 0x27]
jmp 0x6d5889
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x2c]
mov edx, esi
jmp 0x6d573d
lea esi, [0x8e94a0]
mov dword [esp], esi
mov esi, dword [esp + 0xb8]
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call dbg.runtime.growslice
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0x2c]
jmp 0x6d57f7
cmp cl, 0x20
jne 0x6d599a
mov esi, dword [esp + 0x2c]
lea edi, [esi + 2]
cmp edi, ebp
jg 0x6d595a
mov byte [edx + esi], 0x5c
mov byte [edx + esi + 1], cl
mov esi, edi
mov edi, dword [esp + 0xd0]
jmp 0x6d5677
lea eax, [0x8e94a0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edi
call dbg.runtime.growslice
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edi, [eax + 2]
mov eax, dword [esp + 0x4c]
movzx ecx, byte [esp + 0x28]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x2c]
jmp 0x6d5944
cmp cl, 0x22
jne 0x6d5725
jmp 0x6d5939
cmp cl, 0x2e
ja 0x6d59dd
lea esi, [ecx - 0x28]
xchg esi, eax
cmp al, 1
xchg esi, eax
ja 0x6d59c0
mov esi, dword [esp + 0xcc]
jmp 0x6d5939
cmp cl, 0x2e
jne 0x6d59d1
mov esi, dword [esp + 0xcc]
jmp 0x6d5939
mov esi, dword [esp + 0xcc]
jmp 0x6d5725
cmp cl, 0x3b
je 0x6d5939
cmp cl, 0x40
je 0x6d5939
cmp cl, 0x5c
jne 0x6d59d1
jmp 0x6d5939
call dbg.runtime.panicindex
ud2
mov ebx, dword [esp + 0x2c]
lea esi, [ebx + 1]
cmp esi, ebp
jg 0x6d5a28
mov byte [edx + ebx], 0x2e
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x50], eax
mov eax, edx
mov edx, esi
mov esi, ebx
mov ebx, eax
mov eax, dword [esp + 0x50]
jmp 0x6d55b1
lea edi, [0x8e94a0]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call dbg.runtime.growslice
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0xd0]
jmp 0x6d5a0b
mov eax, dword [0xc77334]
mov ecx, dword [0xc77330]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
add esp, 0xc8
ret
test ecx, ecx
jne 0x6d5b50
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x6d5b1d
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x30]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call dbg.runtime.slicebytetostring
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
add esp, 0xc8
ret
lea eax, [esp + 0x58]
mov dword [esp], eax
lea eax, [0x985b60]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call dbg.runtime.stringtoslicebyte
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x38]
jmp 0x6d5ac7
mov ebx, dword [esp + 0x38]
jmp 0x6d5ab0
cmp edx, 0xc0
jne 0x6d5c86
cmp ebx, edi
jge 0x6d5c48
jae 0x6d5c41
movzx edx, byte [esi + eax + 1]
test ecx, ecx
jne 0x6d5c38
add eax, 2
inc ecx
cmp ecx, 0xa
jg 0x6d5bac
xor ebp, 0xc0
shl ebp, 8
or ebp, edx
mov edx, dword [esp + 0xb8]
mov esi, dword [esp + 0x2c]
mov ebx, eax
mov eax, ebp
mov ebp, dword [esp + 0x30]
jmp 0x6d5a13
lea eax, [0x9063a0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0xc0], eax
mov dword [eax + 4], 0x1d
mov ecx, dword [0xc93940]
test ecx, ecx
jne 0x6d5c1d
lea ecx, [0x99b18b]
mov dword [eax], ecx
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0xe4], ecx
lea ecx, [0xc48440]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
add esp, 0xc8
ret
mov dword [esp], eax
lea ecx, [0x99b18b]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0xc0]
jmp 0x6d5bde
mov eax, dword [esp + 0x38]
jmp 0x6d5b83
call dbg.runtime.panicindex
ud2
mov eax, dword [0xc77330]
mov ecx, dword [0xc77334]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ecx
add esp, 0xc8
ret
mov eax, dword [0xc77394]
mov ecx, dword [0xc77390]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
add esp, 0xc8
ret
call dbg.runtime.panicindex
ud2
mov eax, dword [0xc77334]
mov ecx, dword [0xc77330]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
add esp, 0xc8
ret
call dbg.runtime.morestack_noctxt
jmp dbg.github.com/miekg/dns.UnpackDomainName