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

Disassembly:
mov ecx, dword [0x84d0e8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x586a89
sub esp, 0xb0
mov eax, 0
mov dword [esp + 0xac], eax
mov byte [esp + 0x2b], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea eax, [0x65514a]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x619a20]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
lea eax, [0x6aa128]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
lea edx, [esp + 0x9c]
mov dword [esp + 4], edx
mov dword [esp + 8], 2
mov dword [esp + 0xc], 2
call sym.github.com_hashicorp_hcl_hcl_parser._Parser_.printTrace
mov eax, dword [esp + 0xb4]
inc dword [eax + 0x64]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea ecx, [sym.github.com_hashicorp_hcl_hcl_parser._Parser_.objectItem.deferwrap1]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
lea ecx, [esp + 0x78]
mov dword [esp + 0xac], ecx
mov byte [esp + 0x2b], 1
mov dword [esp], eax
call sym.github.com_hashicorp_hcl_hcl_parser._Parser_.objectKey
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x30], ebp
test eax, eax
je 0x586537
cmp dword [0x802640], edx
je 0x5864e8
xor esi, esi
jmp 0x586521
mov dword [esp + 0x64], ebx
mov dword [esp + 0x34], edx
mov eax, dword [0x802644]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x30]
mov esi, eax
mov eax, dword [esp + 0x2c]
xchg esi, eax
test al, al
xchg esi, eax
je 0x586535
test eax, eax
mov edx, 0
mov ebx, 0
jmp 0x586537
test eax, eax
je 0x586560
test edx, edx
je 0x586557
mov esi, dword [esp + 0xb4]
cmp dword [esi + 4], 0x13
jne 0x586567
mov dword [esi + 4], 1
xor edx, edx
xor ebx, ebx
jmp 0x586567
mov esi, dword [esp + 0xb4]
jmp 0x586567
mov esi, dword [esp + 0xb4]
test edx, edx
jne 0x58685c
lea eax, [0x63b540]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], edx
mov edx, dword [0x84d1a0]
test edx, edx
jne 0x58659f
mov edx, dword [esp + 0x5c]
jmp 0x5865aa
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0x5c]
mov dword [edi], edx
mov dword [eax], edx
mov ebx, dword [esp + 0xb4]
mov ebp, dword [ebx + 0x58]
test ebp, ebp
je 0x5865db
mov esi, dword [0x84d1a0]
test esi, esi
je 0x5865d1
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebp
mov esi, dword [ebx + 0x58]
mov dword [edi + 4], esi
mov dword [eax + 0x28], ebp
mov dword [ebx + 0x58], 0
mov dword [esp + 0x58], eax
mov ebp, dword [ebx + 4]
cmp ebp, 0xf
je 0x5866d0
cmp ebp, 0x14
je 0x586621
lea eax, [0x619a20]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x2c]
mov ebx, edx
xor ebp, ebp
xor esi, esi
jmp 0x586897
mov ebp, dword [0x84d1a0]
lea edi, [eax + 0xc]
lea esi, [ebx + 8]
test ebp, ebp
je 0x58665e
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], edi
lea eax, [0x63d020]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
call sym.runtime.wbMove
mov ebx, dword [esp + 0xb4]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
call fcn.0046c53e
mov dword [esp], ebx
call sym.github.com_hashicorp_hcl_hcl_parser._Parser_.object
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x58]
mov dword [ebp + 0x20], eax
mov eax, dword [0x84d1a0]
test eax, eax
je 0x586699
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov eax, dword [ebp + 0x24]
mov dword [edi + 4], eax
mov dword [ebp + 0x24], edx
test ecx, ecx
je 0x586713
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], ebx
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
call eax
add esp, 0xb0
ret
mov dword [esp], ebx
call sym.github.com_hashicorp_hcl_hcl_parser._Parser_.objectType
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
lea ebx, [0x6aaef8]
mov ebp, dword [esp + 0x58]
mov dword [ebp + 0x20], ebx
mov ebx, dword [0x84d1a0]
test ebx, ebx
je 0x586708
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebx, dword [ebp + 0x24]
mov dword [edi + 4], ebx
mov dword [ebp + 0x24], ecx
test eax, eax
jne 0x58682c
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
je 0x586748
mov edx, dword [0x84d1a0]
test edx, edx
je 0x58673e
call sym.runtime.gcWriteBarrier3
mov dword [edi], ecx
mov edx, dword [ebp + 0x2c]
mov dword [edi + 4], edx
mov edx, dword [eax + 0x5c]
mov dword [edi + 8], edx
mov dword [ebp + 0x2c], ecx
mov dword [eax + 0x5c], 0
mov dword [esp], eax
call sym.github.com_hashicorp_hcl_hcl_parser._Parser_.scan
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x58675c
xor eax, eax
jmp 0x5867a0
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ecx, dword [ecx + 0x10]
mov dword [esp], edx
call ecx
lea edi, [esp + 0x80]
lea esi, [esp + 4]
call fcn.0046c53e
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
test byte [eax], al
lea esi, [eax + 4]
lea edi, [esp + 0x44]
call fcn.0046c53e
mov eax, dword [esp + 0x8c]
cmp dword [esp + 0x50], eax
sete al
test al, al
je 0x5867e5
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
je 0x5867ec
mov ebx, dword [0x84d1a0]
test ebx, ebx
jne 0x5867c2
mov ebx, dword [esp + 0x58]
jmp 0x5867d9
call sym.runtime.gcWriteBarrier3
mov dword [edi], ecx
mov ebx, dword [esp + 0x58]
mov ebp, dword [ebx + 0x2c]
mov dword [edi + 4], ebp
mov ebp, dword [eax + 0x5c]
mov dword [edi + 8], ebp
mov dword [ebx + 0x2c], ecx
mov dword [eax + 0x5c], 0
jmp 0x5867f0
mov eax, dword [esp + 0xb4]
mov ebx, dword [esp + 0x58]
nop
mov dword [eax + 0x68], 1
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
call eax
add esp, 0xb0
ret
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], edx
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
call eax
add esp, 0xb0
ret
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ebx
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
call eax
add esp, 0xb0
ret
mov dword [edi], ecx
inc ebp
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x2c]
cmp ebp, ebx
jge 0x586928
mov edi, dword [ecx + ebp*4]
inc esi
mov ecx, dword [edi + 0x18]
mov edi, dword [edi + 0x1c]
cmp edx, esi
jae 0x5868f7
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x6c], ecx
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x619a20]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
lea ebx, [eax + esi*8 - 4]
mov dword [ebx], edi
mov ebx, dword [0x84d1a0]
lea edi, [eax + esi*8 - 8]
test ebx, ebx
je 0x58688c
mov dword [esp + 0x60], eax
mov ebx, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x60]
mov edi, ebx
jmp 0x58688c
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
lea eax, [0x6a97a0]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call sym.strings.Join
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x619a20]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
lea eax, [0x663fc0]
mov dword [esp], eax
mov dword [esp + 4], 0x3b
lea eax, [esp + 0x94]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0xb4]
add eax, 8
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x6c], edx
lea ebx, [0x62b9c0]
mov dword [esp], ebx
call sym.runtime.newobject
mov eax, dword [0x84d1a0]
mov edi, dword [esp + 4]
mov dword [esp + 0x68], edi
test eax, eax
je 0x586a2c
mov eax, edi
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x6c]
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
mov edx, dword [esp + 0x74]
mov dword [esp + 8], edx
call sym.runtime.wbMove
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x74]
call fcn.0046c53e
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x68]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x6c]
mov dword [ecx + 0x18], eax
mov dword [esp + 0xb8], 0
lea eax, [0x6aab3c]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
call eax
add esp, 0xb0
ret
call sym.runtime.morestack_noctxt
jmp sym.github.com_hashicorp_hcl_hcl_parser._Parser_.objectItem