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

Disassembly:
mov ecx, dword [0x64f96c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4e4887
sub esp, 0x68
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4e477f
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x3c]
test edx, edx
je 0x4e4705
mov ebx, dword [ecx + 0x38]
dec edx
shl edx, 4
mov ebp, dword [ebx + edx + 0xc]
mov esi, dword [ebx + edx + 8]
test ebp, ebp
je 0x4e4705
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], ebp
mov edi, dword [ebx + edx + 4]
mov dword [esp + 0x1c], edi
mov edx, dword [ebx + edx]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x74]
cmp ebx, edi
jne 0x4e4541
cmp eax, ebp
jne 0x4e4541
mov dword [esp], edx
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x4e4529
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 8], edx
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x4e450f
mov eax, dword [esp + 0x6c]
mov edx, dword [eax + 0x40]
mov ebx, dword [eax + 0x3c]
lea ecx, [ebx - 1]
cmp edx, ecx
jb 0x4e4881
mov dword [eax + 0x3c], ecx
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call sym.encoding_xml._printer_.writeIndent
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov byte [esp + 4], 0x3c
call sym.encoding_xml._printer_.WriteByte
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call sym.encoding_xml._printer_.WriteByte
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
call sym.encoding_xml._printer_.WriteString
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov byte [esp + 4], 0x3e
call sym.encoding_xml._printer_.WriteByte
nop
mov eax, dword [esp + 0x6c]
jmp 0x4e4848
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
jmp 0x4e4541
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
cmp eax, ebp
jne 0x4e456a
mov dword [esp], esi
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4e461a
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x51f640]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x51f640]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
lea eax, [0x54793f]
mov dword [esp], eax
mov dword [esp + 4], 0x30
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x68
ret
lea edi, [esp + 0x30]
xor eax, eax
call fcn.0046d218
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov ecx, dword [esp + 8]
lea edx, [0x51f640]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov ecx, dword [esp + 8]
lea edx, [0x51f640]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov ecx, dword [esp + 8]
lea edx, [0x51f640]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov ecx, dword [esp + 8]
lea edx, [0x51f640]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
lea ecx, [0x549376]
mov dword [esp], ecx
mov dword [esp + 4], 0x50
lea ecx, [esp + 0x30]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 4
call sym.fmt.Errorf
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
add esp, 0x68
ret
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x51f640]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0x5455ad]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x68
ret
lea eax, [0x5422e0]
mov dword [esp], eax
mov dword [esp + 4], 0x19
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x68
ret
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], ebx
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x24], ecx
mov ebp, dword [eax + 0x24]
nop
lea esi, [0x520c00]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
lea edx, [0x520c00]
mov dword [esp], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call sym.runtime.mapdelete_faststr
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x24]
lea edx, [0x520c00]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
call sym.runtime.mapdelete_faststr
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x4e4867
mov edx, dword [eax + 0x2c]
lea edx, [edx + ecx*8 - 8]
dec ecx
mov ebx, dword [edx + 4]
mov edx, dword [edx]
mov dword [eax + 0x30], ecx
test ebx, ebx
jne 0x4e47c7
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x68
ret
call sym.runtime.panicSliceAcap
nop
call sym.runtime.morestack_noctxt
jmp sym.encoding_xml._printer_.writeEnd