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

Disassembly:
mov ecx, dword [0x84d0e8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58dc2c
sub esp, 0x6c
mov eax, 0
mov dword [esp + 0x68], eax
mov byte [esp + 0x2b], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0x8c]
mov ecx, eax
and eax, 0x1f
nop
cmp eax, 0x14
je 0x58d511
mov eax, ecx
jmp 0x58d547
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov edx, dword [esp + 0x88]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sym.reflect.Value.Elem
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x58d53e
mov eax, dword [esp + 0x8c]
mov ecx, eax
mov eax, dword [esp + 0x8c]
and ecx, 0x1f
mov dword [esp + 0x30], ecx
nop
cmp ecx, 0x14
je 0x58d617
mov edx, dword [esp + 0x70]
mov ebx, dword [edx + 4]
inc ebx
mov ebp, dword [edx + 8]
mov esi, dword [edx]
cmp ebp, ebx
jb 0x58d56e
cmp ecx, 0x14
jmp 0x58d5de
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x61df80]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x70]
mov dword [ebx + 8], eax
mov eax, dword [0x84d1a0]
test eax, eax
jne 0x58d5b6
mov eax, dword [esp + 0x30]
cmp eax, 0x14
jmp 0x58d5c9
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x30]
cmp eax, 0x14
mov dword [ebx], ecx
mov eax, dword [esp + 0x8c]
mov esi, ecx
mov ecx, dword [esp + 0x30]
mov ebp, edx
mov edx, ebx
mov ebx, ebp
mov dword [edx + 4], ebx
mov dword [esi + ebx*4 - 4], ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea ebx, [sym.github.com_hashicorp_hcl._decoder_.decode.func1]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], edx
lea ebx, [esp + 0x3c]
mov dword [esp + 0x68], ebx
mov byte [esp + 0x2b], 1
mov ebx, 1
jmp 0x58d620
mov edx, dword [esp + 0x70]
mov ebx, 0
mov byte [esp + 0x2a], bl
ja 0x58d843
cmp ecx, 2
ja 0x58d6be
cmp ecx, 1
je 0x58d646
cmp ecx, 2
je 0x58d6c6
jmp 0x58d95c
mov dword [esp], edx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
call sym.github.com_hashicorp_hcl._decoder_.decodeBool
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
movzx eax, byte [esp + 0x2a]
test al, 1
je 0x58d6ba
and eax, 0xfffffffe
mov byte [esp + 0x2b], al
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
lea ebp, [ecx - 5]
cmp ebp, 1
ja 0x58d73e
mov dword [esp], edx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
call sym.github.com_hashicorp_hcl._decoder_.decodeInt
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
movzx eax, byte [esp + 0x2a]
test al, 1
je 0x58d73a
and eax, 0xfffffffe
mov byte [esp + 0x2b], al
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
lea ebp, [ecx - 0xd]
cmp ebp, 1
jbe 0x58d7cb
cmp ecx, 0x14
jne 0x58d95c
mov dword [esp], edx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
call sym.github.com_hashicorp_hcl._decoder_.decodeInterface
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
movzx eax, byte [esp + 0x2a]
test al, 1
je 0x58d7c7
and eax, 0xfffffffe
mov byte [esp + 0x2b], al
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov dword [esp], edx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
call sym.github.com_hashicorp_hcl._decoder_.decodeFloat
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
movzx eax, byte [esp + 0x2a]
test al, 1
je 0x58d83f
and eax, 0xfffffffe
mov byte [esp + 0x2b], al
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
cmp ecx, 0x16
ja 0x58d941
cmp ecx, 0x15
jne 0x58d8c9
mov dword [esp], edx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
call sym.github.com_hashicorp_hcl._decoder_.decodeMap
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
movzx eax, byte [esp + 0x2a]
test al, 1
je 0x58d8c5
and eax, 0xfffffffe
mov byte [esp + 0x2b], al
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov dword [esp], edx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
call sym.github.com_hashicorp_hcl._decoder_.decodePtr
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
movzx eax, byte [esp + 0x2a]
test al, 1
je 0x58d93d
and eax, 0xfffffffe
mov byte [esp + 0x2b], al
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
cmp ecx, 0x17
je 0x58dbab
cmp ecx, 0x18
je 0x58db33
cmp ecx, 0x19
je 0x58dabb
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
call eax
lea edi, [esp + 0x54]
lea esi, [esp + 4]
call fcn.0046c53e
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x619a20]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym.runtime.convT32
mov eax, dword [esp + 4]
lea ecx, [0x61df80]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
lea eax, [0x65eca2]
mov dword [esp], eax
mov dword [esp + 4], 0x23
lea eax, [esp + 0x44]
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 dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
lea edx, [0x62b9c0]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [0x84d1a0]
mov edi, dword [esp + 4]
mov dword [esp + 0x34], edi
test eax, eax
je 0x58da6f
mov eax, edi
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x38]
mov dword [edi], ecx
mov edx, dword [eax + 0x18]
mov dword [edi + 4], edx
lea edx, [0x63d020]
mov dword [esp], edx
mov dword [esp + 4], eax
lea edx, [esp + 0x54]
mov dword [esp + 8], edx
call sym.runtime.wbMove
mov edi, dword [esp + 0x34]
lea esi, [esp + 0x54]
call fcn.0046c53e
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 0x18], eax
lea eax, [0x6aab3c]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
movzx eax, byte [esp + 0x2a]
test al, 1
je 0x58dab7
and eax, 0xfffffffe
mov byte [esp + 0x2b], al
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov dword [esp], edx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
call sym.github.com_hashicorp_hcl._decoder_.decodeStruct
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
movzx eax, byte [esp + 0x2a]
test al, 1
je 0x58db2f
and eax, 0xfffffffe
mov byte [esp + 0x2b], al
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov dword [esp], edx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
call sym.github.com_hashicorp_hcl._decoder_.decodeString
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
movzx eax, byte [esp + 0x2a]
test al, 1
je 0x58dba7
and eax, 0xfffffffe
mov byte [esp + 0x2b], al
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov dword [esp], edx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
call sym.github.com_hashicorp_hcl._decoder_.decodeSlice
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
movzx eax, byte [esp + 0x2a]
test al, 1
je 0x58dc1f
and eax, 0xfffffffe
mov byte [esp + 0x2b], al
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
call sym.runtime.morestack_noctxt
jmp sym.github.com_hashicorp_hcl._decoder_.decode