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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xfc]
cmp eax, dword [ecx + 8]
jbe 0x5d5f77
sub esp, 0x17c
mov eax, dword [esp + 0x1c0]
test eax, eax
jne 0x5d54b6
mov eax, dword [esp + 0x180]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
cmp ecx, 2
je 0x5d5414
mov eax, dword [0xc7fb20]
mov ecx, dword [0xc7fb1c]
mov edx, dword [0xc7fb18]
mov dword [esp + 0x1c4], edx
mov dword [esp + 0x1c8], ecx
mov dword [esp + 0x1cc], eax
add esp, 0x17c
ret
mov ecx, dword [esp + 0x190]
mov dword [esp + 0xf8], ecx
mov ecx, dword [esp + 0x194]
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
lea ecx, [0x8e91e0]
mov dword [esp], ecx
lea ecx, [esp + 0xf8]
mov dword [esp + 4], ecx
call dbg.runtime.convT2E
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], ecx
mov eax, dword [esp + 0x180]
mov dword [esp], eax
lea eax, [0x99ae08]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1d
lea eax, [esp + 0x100]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call dbg.text/template.(*state).errorf
jmp 0x5d53e6
mov ecx, dword [esp + 0x1b8]
mov dword [esp], ecx
mov edx, dword [esp + 0x1bc]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call dbg.reflect.Value.Type
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x1b8]
mov dword [esp], edx
mov edx, dword [esp + 0x1bc]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x1c0]
mov dword [esp + 8], edx
call dbg.text/template.indirect
movzx eax, byte [esp + 0x18]
mov byte [esp + 0x52], al
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x70], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x6c], ebx
mov ebp, ecx
and ecx, 0x1f
mov dword [esp + 0x64], ecx
cmp ecx, 0x14
je 0x5d5f6e
test ebp, 0x100
jne 0x5d5f3c
mov esi, ebp
mov edi, edx
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov edx, dword [esp + 0x190]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x194]
mov dword [esp + 0x10], ebx
call dbg.reflect.Value.MethodByName
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x5d5e6a
mov eax, dword [esp + 0x1a4]
cmp eax, 1
jle 0x5d5e59
mov eax, 1
mov byte [esp + 0x53], al
mov ecx, dword [esp + 0x64]
cmp ecx, 0x15
jne 0x5d5ae8
movzx ecx, byte [esp + 0x52]
test cl, cl
je 0x5d568d
mov ecx, dword [esp + 0x190]
mov dword [esp + 0xd0], ecx
mov edx, dword [esp + 0x194]
mov dword [esp + 0xd4], edx
mov ebx, dword [esp + 0x78]
test ebx, ebx
je 0x5d5ae1
mov ebp, dword [ebx + 4]
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x118], ebp
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x11c], ebp
lea esi, [0x8e91e0]
mov dword [esp], esi
lea edi, [esp + 0xd0]
mov dword [esp + 4], edi
call dbg.runtime.convT2E
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], ecx
mov eax, dword [esp + 0x180]
mov dword [esp], eax
lea ecx, [0x99a313]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x1c
lea ecx, [esp + 0x118]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call dbg.text/template.(*state).errorf
mov eax, dword [esp + 0x190]
mov dword [esp + 0xc8], eax
mov ecx, dword [esp + 0x194]
mov dword [esp + 0xcc], ecx
lea edx, [0x8e91e0]
mov dword [esp], edx
lea ebx, [esp + 0xc8]
mov dword [esp + 4], ebx
call dbg.runtime.convT2E
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dbg.reflect.ValueOf
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x80], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call dbg.reflect.Value.Type
mov eax, dword [esp + 0xc]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x6c]
mov dword [esp], edx
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x58]
mov dword [esp + 8], ebp
call dbg.reflect.Value.Type
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x50]
mov ecx, dword [esp + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x94]
mov edx, dword [edx + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call edx
movzx eax, byte [esp + 0xc]
test al, al
je 0x5d59bc
movzx eax, byte [esp + 0x53]
test al, al
jne 0x5d591a
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x14], ebx
call dbg.reflect.Value.MapIndex
mov eax, dword [esp + 0x20]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x68], edx
test eax, eax
je 0x5d57f8
mov dword [esp + 0x1c4], edx
mov dword [esp + 0x1c8], ecx
mov dword [esp + 0x1cc], eax
add esp, 0x17c
ret
mov ebx, dword [esp + 0x180]
mov ebp, dword [ebx]
mov ebp, dword [ebp + 0xc]
mov ebp, dword [ebp + 4]
test ebp, ebp
je 0x5d57dc
cmp ebp, 1
je 0x5d58c9
cmp ebp, 2
je 0x5d581b
jmp 0x5d57dc
mov ebp, dword [esp + 0x190]
mov dword [esp + 0xa8], ebp
mov ebp, dword [esp + 0x194]
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
lea ebp, [0x8e91e0]
mov dword [esp], ebp
lea ebp, [esp + 0xa8]
mov dword [esp + 4], ebp
call dbg.runtime.convT2E
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov eax, dword [esp + 0x180]
mov dword [esp], eax
lea eax, [0x9996a9]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0xb0]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call dbg.text/template.(*state).errorf
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x68]
jmp 0x5d57dc
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
call dbg.reflect.Value.Type
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x2c]
mov ecx, dword [esp + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dbg.reflect.Zero
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
jmp 0x5d57dc
mov eax, dword [esp + 0x190]
mov dword [esp + 0xb8], eax
mov ecx, dword [esp + 0x194]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
lea edx, [0x8e91e0]
mov dword [esp], edx
lea ebx, [esp + 0xb8]
mov dword [esp + 4], ebx
call dbg.runtime.convT2E
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
mov eax, dword [esp + 0x180]
mov dword [esp], eax
lea ecx, [0x99f565]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x24
lea ecx, [esp + 0xc0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call dbg.text/template.(*state).errorf
jmp 0x5d5786
mov eax, dword [esp + 0x190]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x78]
test eax, eax
je 0x5d59e3
mov eax, dword [eax + 4]
mov dword [esp + 0x94], eax
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
lea ecx, [0x8e91e0]
mov dword [esp], ecx
lea edx, [esp + 0xa0]
mov dword [esp + 4], edx
call dbg.runtime.convT2E
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x180]
mov dword [esp], eax
lea eax, [0x99e392]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x22
lea eax, [esp + 0x108]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call dbg.text/template.(*state).errorf
lea eax, [0x98d06e]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0xb
lea eax, [0x8e91e0]
mov dword [esp], eax
lea eax, [esp + 0x98]
mov dword [esp + 4], eax
call dbg.runtime.convT2E
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.runtime.gopanic
ud2
mov ebp, ebx
jmp 0x5d55e4
cmp ecx, 0x19
jne 0x5d59bc
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 8], ebx
call dbg.reflect.Value.Type
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x3c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x190]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x194]
mov dword [esp + 8], ebx
mov dword [esp], ecx
call eax
lea esi, [esp + 0xc]
lea edi, [esp + 0x148]
call fcn.0044f51e
movzx eax, byte [esp + 0x40]
test al, al
je 0x5d59bc
movzx eax, byte [esp + 0x52]
test al, al
je 0x5d5c31
mov eax, dword [esp + 0x190]
mov dword [esp + 0xf0], eax
mov ecx, dword [esp + 0x194]
mov dword [esp + 0xf4], ecx
mov edx, dword [esp + 0x78]
test edx, edx
je 0x5d5e52
mov ebx, dword [edx + 4]
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x138], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x13c], ebx
lea ebp, [0x8e91e0]
mov dword [esp], ebp
lea esi, [esp + 0xf0]
mov dword [esp + 4], esi
call dbg.runtime.convT2E
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ecx
mov eax, dword [esp + 0x180]
mov dword [esp], eax
lea ecx, [0x99a313]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x1c
lea ecx, [esp + 0x138]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call dbg.text/template.(*state).errorf
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x170]
mov ecx, dword [esp + 0x174]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call dbg.reflect.Value.FieldByIndex
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x154]
test ebx, ebx
je 0x5d5d79
mov ebx, dword [esp + 0x190]
mov dword [esp + 0xe8], ebx
mov ebp, dword [esp + 0x194]
mov dword [esp + 0xec], ebp
mov esi, dword [esp + 0x78]
test esi, esi
je 0x5d5cc2
mov esi, dword [esi + 4]
mov dword [esp + 0x94], esi
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
lea edi, [0x8e91e0]
mov dword [esp], edi
lea edi, [esp + 0xe8]
mov dword [esp + 4], edi
call dbg.runtime.convT2E
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x128], ecx
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x180]
mov dword [esp], eax
lea ecx, [0x9a2da3]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x2b
lea ecx, [esp + 0x128]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call dbg.text/template.(*state).errorf
movzx eax, byte [esp + 0x53]
test al, al
jne 0x5d5db0
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1c4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x1c8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1cc], eax
add esp, 0x17c
ret
mov eax, dword [esp + 0x190]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
lea eax, [0x8e91e0]
mov dword [esp], eax
lea eax, [esp + 0xd8]
mov dword [esp + 4], eax
call dbg.runtime.convT2E
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
mov eax, dword [esp + 0x180]
mov dword [esp], eax
lea eax, [0x9a5c9b]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x32
lea eax, [esp + 0xe0]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call dbg.text/template.(*state).errorf
jmp 0x5d5d82
mov ebx, edx
jmp 0x5d5b88
mov ecx, dword [esp + 0x1b4]
test ecx, ecx
setne al
jmp 0x5d559b
mov ebx, dword [esp + 0x180]
mov dword [esp], ebx
mov ebx, dword [esp + 0x184]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x188]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x18c]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x198]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x19c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1a0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1a4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1a8]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1ac]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1b0]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1b4]
mov dword [esp + 0x40], eax
call dbg.text/template.(*state).evalCall
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x1c4], edx
mov dword [esp + 0x1c8], ecx
mov dword [esp + 0x1cc], eax
add esp, 0x17c
ret
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call dbg.reflect.Value.Addr
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
movzx eax, byte [esp + 0x52]
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x70]
jmp 0x5d554c
mov esi, ebp
mov edi, edx
jmp 0x5d554c
call dbg.runtime.morestack_noctxt
jmp dbg.text/template.(*state).evalField