Function at 0x58a410
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 0x58a761
sub esp, 0x50
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x58a43c
mov eax, dword [eax + 0x28]
xor edx, edx
jmp 0x58a4df
mov eax, dword [esp + 0x60]
inc eax
mov ecx, dword [esp + 0x64]
cmp ecx, eax
jb 0x58a455
mov ecx, eax
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
jmp 0x58a487
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x627d60]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [0x84d1a0]
test ebx, ebx
jne 0x58a497
mov ebx, dword [esp + 0x58]
jmp 0x58a4a9
call sym.runtime.gcWriteBarrier2
mov ebx, dword [esp + 0x58]
mov dword [edi], ebx
mov ebp, dword [eax + ecx*4 - 4]
mov dword [edi + 4], ebp
mov dword [eax + ecx*4 - 4], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x88], eax
add esp, 0x50
ret
inc edx
cmp edx, ecx
jge 0x58a596
lea ebx, [eax + edx*8]
lea ebp, [0x6aaef8]
cmp dword [ebx], ebp
je 0x58a4de
mov eax, dword [esp + 0x60]
inc eax
mov ecx, dword [esp + 0x64]
cmp ecx, eax
jb 0x58a50d
mov ecx, eax
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
jmp 0x58a53f
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x627d60]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [0x84d1a0]
test ebx, ebx
jne 0x58a54f
mov ebx, dword [esp + 0x58]
jmp 0x58a561
call sym.runtime.gcWriteBarrier2
mov ebx, dword [esp + 0x58]
mov dword [edi], ebx
mov ebp, dword [eax + ecx*4 - 4]
mov dword [edi + 4], ebp
mov dword [eax + ecx*4 - 4], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x88], eax
add esp, 0x50
ret
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], ecx
xor edx, edx
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
jmp 0x58a5c3
mov dword [ebp + ecx*4 - 4], eax
mov edi, dword [esp + 0x2c]
inc edi
mov eax, dword [esp + 0x4c]
mov edx, edi
mov esi, ecx
mov ecx, dword [esp + 0x30]
cmp edx, ecx
jge 0x58a730
mov dword [esp + 0x2c], edx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx + 4]
mov dword [esp + 0x34], ebx
mov ecx, dword [ecx]
mov dword [esp + 0x20], ecx
lea ebp, [0x63b540]
mov dword [esp], ebp
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx]
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov edx, dword [0x84d1a0]
lea edi, [eax + 0xc]
lea esi, [ecx + 0xc]
test edx, edx
je 0x58a66f
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebp
mov ecx, edi
call sym.runtime.gcWriteBarrier3
mov dword [edi], ebp
mov edx, dword [esp + 0x34]
mov dword [edi + 4], edx
mov ebx, dword [eax + 0x24]
mov dword [edi + 8], ebx
lea ebx, [0x63d020]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call sym.runtime.wbMove
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov dword [eax], ebp
call fcn.0046c53e
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x24], ecx
mov ecx, dword [0x84d1a0]
mov edx, dword [esp + 0x58]
mov ebx, dword [edx + 0x28]
test ecx, ecx
je 0x58a6a2
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov ecx, dword [eax + 0x28]
mov dword [edi + 4], ecx
mov dword [eax + 0x28], ebx
mov ecx, dword [0x84d1a0]
mov ebx, dword [edx + 0x2c]
test ecx, ecx
je 0x58a6bf
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov ecx, dword [eax + 0x2c]
mov dword [edi + 4], ecx
mov dword [eax + 0x2c], ebx
mov ecx, dword [esp + 0x28]
inc ecx
mov ebx, dword [esp + 0x24]
cmp ebx, ecx
jb 0x58a6d5
mov ebp, dword [esp + 0x48]
jmp 0x58a70f
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x627d60]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
mov esi, dword [0x84d1a0]
test esi, esi
je 0x58a5ae
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov esi, dword [ebp + ecx*4 - 4]
mov dword [edi + 4], esi
jmp 0x58a5ae
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], ebx
add esp, 0x50
ret
call sym.runtime.morestack_noctxt
jmp sym.github.com_hashicorp_hcl_json_parser.flattenListType