Function at 0x58a770
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 0x58ab6f
sub esp, 0x50
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x28]
mov ecx, dword [eax]
test ecx, ecx
je 0x58a79e
mov eax, dword [eax + 4]
xor edx, edx
jmp 0x58a841
mov eax, dword [esp + 0x60]
inc eax
mov ecx, dword [esp + 0x64]
cmp ecx, eax
jb 0x58a7b7
mov ecx, eax
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
jmp 0x58a7e9
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 0x58a7f9
mov ebx, dword [esp + 0x58]
jmp 0x58a80b
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, eax
jge 0x58a8f9
mov ebx, dword [ecx + edx*4]
lea ebp, [0x6aaef8]
cmp dword [ebx + 0x20], ebp
je 0x58a840
mov eax, dword [esp + 0x60]
inc eax
mov ecx, dword [esp + 0x64]
cmp ecx, eax
jb 0x58a870
mov ecx, eax
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
jmp 0x58a8a2
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 0x58a8b2
mov ebx, dword [esp + 0x58]
jmp 0x58a8c4
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], ecx
mov dword [esp + 0x30], eax
xor edx, edx
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
jmp 0x58a926
mov dword [ebp + ecx*4 - 4], eax
mov edi, dword [esp + 0x2c]
inc edi
mov eax, dword [esp + 0x30]
mov edx, edi
mov esi, ecx
mov ecx, dword [esp + 0x4c]
cmp edx, eax
jge 0x58ab34
mov dword [esp + 0x2c], edx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebx
mov eax, dword [ecx + edx*4]
mov dword [esp + 0x34], eax
mov ebx, dword [esp + 0x58]
mov ebp, dword [ebx + 4]
add ebp, dword [eax + 4]
mov dword [esp + 0x20], ebp
lea esi, [0x632d40]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
lea ebp, [0x632d40]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov esi, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call sym.runtime.typedslicecopy
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x20]
cmp ecx, edx
ja 0x58ab65
sub edx, ecx
mov ebx, edx
neg edx
shl ecx, 2
sar edx, 0x1f
and ecx, edx
mov edx, dword [esp + 0x44]
add ecx, edx
mov ebp, dword [esp + 0x34]
mov esi, dword [ebp]
mov edi, dword [ebp + 4]
lea ebp, [0x632d40]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
call sym.runtime.typedslicecopy
lea eax, [0x63b540]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0x84d1a0]
lea edi, [eax + 0xc]
mov edx, dword [esp + 0x58]
lea esi, [edx + 0xc]
test ecx, ecx
je 0x58aa5a
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edi
mov eax, edi
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x44]
mov dword [edi], ecx
lea edx, [0x63d020]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call sym.runtime.wbMove
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
mov dword [eax], ecx
call fcn.0046c53e
mov ecx, dword [esp + 0x34]
mov ebx, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
mov dword [eax + 0x20], ebx
mov ebx, dword [0x84d1a0]
test ebx, ebx
je 0x58aa89
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebx, dword [eax + 0x24]
mov dword [edi + 4], ebx
mov dword [eax + 0x24], ecx
mov ecx, dword [0x84d1a0]
mov ebx, dword [edx + 0x28]
test ecx, ecx
je 0x58aaa6
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 0x58aac3
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 0x58aad9
mov ebp, dword [esp + 0x48]
jmp 0x58ab13
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 + 0x40]
mov edx, dword [esp + 0x58]
mov esi, dword [0x84d1a0]
test esi, esi
je 0x58a911
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov esi, dword [ebp + ecx*4 - 4]
mov dword [edi + 4], esi
jmp 0x58a911
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
mov eax, ecx
mov ecx, edx
call sym.runtime.panicSliceB
nop
call sym.runtime.morestack_noctxt
jmp sym.github.com_hashicorp_hcl_json_parser.flattenObjectType